Skip to content

Commit 3e27572

Browse files
committed
feat(footer): terms page, privacy page, about link, branding link
1 parent 2c005e8 commit 3e27572

9 files changed

Lines changed: 2098 additions & 11 deletions

File tree

projects/client/i18n/meta/en.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7907,6 +7907,54 @@
79077907
"android",
79087908
"ios"
79097909
]
7910+
},
7911+
"page_title_terms": {
7912+
"default": "Terms of Use",
7913+
"description": "Title for the terms of use page.",
7914+
"exclude": [
7915+
"android",
7916+
"ios"
7917+
]
7918+
},
7919+
"page_title_privacy": {
7920+
"default": "Privacy Policy",
7921+
"description": "Title for the privacy policy page.",
7922+
"exclude": [
7923+
"android",
7924+
"ios"
7925+
]
7926+
},
7927+
"link_text_about": {
7928+
"default": "About",
7929+
"description": "Text for the about link in the footer.",
7930+
"exclude": [
7931+
"android",
7932+
"ios"
7933+
]
7934+
},
7935+
"link_text_branding": {
7936+
"default": "Branding",
7937+
"description": "Text for the branding link in the footer.",
7938+
"exclude": [
7939+
"android",
7940+
"ios"
7941+
]
7942+
},
7943+
"link_text_terms": {
7944+
"default": "Terms",
7945+
"description": "Text for the terms link in the footer.",
7946+
"exclude": [
7947+
"android",
7948+
"ios"
7949+
]
7950+
},
7951+
"link_text_privacy": {
7952+
"default": "Privacy",
7953+
"description": "Text for the privacy link in the footer.",
7954+
"exclude": [
7955+
"android",
7956+
"ios"
7957+
]
79107958
}
79117959
}
79127960
}

projects/client/src/lib/sections/footer/components/PageLinks.svelte

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,38 @@
1414
<span class="bold">VIP</span>
1515
</Link>
1616

17-
<Link href={UrlBuilder.feedback()} target="_blank">
17+
<Link href={UrlBuilder.feedback()} target="_blank" rel="noopener noreferrer">
1818
<span class="bold">{m.link_text_feedback()}</span>
1919
</Link>
2020

21-
<Link href={UrlBuilder.og.support($user?.slug)} target="_blank">
21+
<Link href={UrlBuilder.og.support($user?.slug)} target="_blank" rel="noopener noreferrer">
2222
<span class="bold">{m.link_text_support()}</span>
2323
</Link>
2424
</RenderFor>
2525

26-
<Link href={UrlBuilder.og.forums()} target="_blank">
26+
<Link href={UrlBuilder.og.forums()} target="_blank" rel="noopener noreferrer">
2727
<span class="bold">{m.link_text_forums()}</span>
2828
</Link>
29+
30+
<Link href={UrlBuilder.og.about()} target="_blank" rel="noopener noreferrer">
31+
<span class="bold">{m.link_text_about()}</span>
32+
</Link>
33+
34+
<Link
35+
href={UrlBuilder.og.branding()}
36+
target="_blank"
37+
rel="noopener noreferrer"
38+
>
39+
<span class="bold">{m.link_text_branding()}</span>
40+
</Link>
41+
42+
<Link href={UrlBuilder.terms()}>
43+
<span class="bold">{m.link_text_terms()}</span>
44+
</Link>
45+
46+
<Link href={UrlBuilder.privacy()}>
47+
<span class="bold">{m.link_text_privacy()}</span>
48+
</Link>
2949
</div>
3050

3151
<style lang="scss">
@@ -38,13 +58,5 @@
3858
:global(.trakt-link) {
3959
text-decoration: none;
4060
}
41-
42-
@include for-mobile() {
43-
&.is-vip {
44-
display: grid;
45-
grid-template-columns: repeat(2, 1fr);
46-
grid-row-gap: var(--gap-xxs);
47-
}
48-
}
4961
}
5062
</style>

0 commit comments

Comments
 (0)