Skip to content

Commit 814ac8f

Browse files
authored
Prerender app hosting, highlight subtab (#372)
* Prerender app hosting * Highlight subtab
1 parent 59e4c00 commit 814ac8f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

frontend/components/HeaderBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<NuxtLink
5858
v-else
5959
prefetch-on="interaction"
60-
:class="{ selected: subheaderTabSelection == tab.title.toLowerCase() }"
60+
:class="{ selected: subheaderTabSelection == tab.title.replace(' ', '_').toLowerCase() }"
6161
:target="tab.outbound ? '_blank' : ''"
6262
:to="tab.href"
6363
class="tab"

frontend/getRoutes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export default async function () {
2727
'/platform/web',
2828
'/platform/games',
2929
'/platform/admin',
30+
'/platform/app_hosting',
3031
]
3132

3233
const ref = collection(firestore, 'content')

0 commit comments

Comments
 (0)