diff --git a/src/components/SplatfestBox.vue b/src/components/SplatfestBox.vue index 9998968..64df54c 100644 --- a/src/components/SplatfestBox.vue +++ b/src/components/SplatfestBox.vue @@ -44,9 +44,13 @@ import SquidTape from './SquidTape.vue'; const props = defineProps({ festival: Object, + historyMode: Boolean, }); const title = computed(() => { + if (props.historyMode) { + return 'festival.active'; + } switch (props.festival.status) { case STATUS_PAST: return 'festival.past'; diff --git a/src/router/index.js b/src/router/index.js index a68e50a..d72bd91 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3,6 +3,7 @@ import HomeView from '../views/HomeView.vue' import SalmonRunView from '../views/SalmonRunView.vue' import GearView from '../views/GearView.vue' import AboutView from '../views/AboutView.vue' +import SplatfestsView from '../views/SplatfestsView.vue' const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), @@ -22,6 +23,11 @@ const router = createRouter({ name: 'gear', component: GearView, }, + { + path: '/splatfests', + name: 'splatfests', + component: SplatfestsView, + }, { path: '/about', name: 'about', diff --git a/src/views/SplatfestsView.vue b/src/views/SplatfestsView.vue new file mode 100644 index 0000000..173ce8c --- /dev/null +++ b/src/views/SplatfestsView.vue @@ -0,0 +1,32 @@ + + +