Skip to content

Commit

Permalink
Merge pull request #4591 from cagataycivici/master
Browse files Browse the repository at this point in the history
New Website
  • Loading branch information
cagataycivici authored Oct 11, 2023
2 parents da2038e + 781ff3c commit dbd2d48
Show file tree
Hide file tree
Showing 51 changed files with 7,065 additions and 9,646 deletions.
19 changes: 1 addition & 18 deletions app.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<NuxtLayout :name="layout">
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</template>
Expand All @@ -12,23 +12,6 @@ export default {
themeChangeListener: null,
newsActivate: null,
newsService: null,
data() {
return {
layout: 'custom'
};
},
watch: {
$route: {
immediate: true,
handler(to) {
if (to.name === 'index') {
this.layout = 'custom';
} else {
this.layout = 'default';
}
}
}
},
mounted() {
this.newsActivate = () => {
this.$appState.announcement = News;
Expand Down
Loading

0 comments on commit dbd2d48

Please sign in to comment.