Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit db09ded

Browse files
authored
New footer (modrinth#2988)
* Update footer to new design * Update footer with changelog and security notice * Move mastodon icon * Make full-width instead of card * Intl extract, lint
1 parent df33ff7 commit db09ded

File tree

10 files changed

+399
-274
lines changed

10 files changed

+399
-274
lines changed

apps/frontend/src/layouts/default.vue

Lines changed: 273 additions & 251 deletions
Large diffs are not rendered by default.

apps/frontend/src/locales/en-US/index.json

Lines changed: 63 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -287,45 +287,87 @@
287287
"layout.banner.verify-email.title": {
288288
"message": "For security purposes, please verify your email address on Modrinth."
289289
},
290-
"layout.footer.company.careers": {
291-
"message": "Careers"
290+
"layout.footer.about": {
291+
"message": "About"
292292
},
293-
"layout.footer.company.privacy": {
294-
"message": "Privacy"
293+
"layout.footer.about.blog": {
294+
"message": "Blog"
295295
},
296-
"layout.footer.company.rules": {
297-
"message": "Rules"
296+
"layout.footer.about.changelog": {
297+
"message": "Changelog"
298298
},
299-
"layout.footer.company.terms": {
300-
"message": "Terms"
299+
"layout.footer.about.rewards-program": {
300+
"message": "Rewards Program"
301301
},
302-
"layout.footer.company.title": {
303-
"message": "Company"
302+
"layout.footer.about.status": {
303+
"message": "Status"
304304
},
305-
"layout.footer.interact.title": {
306-
"message": "Interact"
305+
"layout.footer.legal": {
306+
"message": "Legal"
307307
},
308308
"layout.footer.legal-disclaimer": {
309309
"message": "NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT."
310310
},
311+
"layout.footer.legal.privacy-policy": {
312+
"message": "Privacy Policy"
313+
},
314+
"layout.footer.legal.rules": {
315+
"message": "Content Rules"
316+
},
317+
"layout.footer.legal.security-notice": {
318+
"message": "Security Notice"
319+
},
320+
"layout.footer.legal.terms-of-use": {
321+
"message": "Terms of Use"
322+
},
311323
"layout.footer.open-source": {
312324
"message": "Modrinth is <github-link>open source</github-link>."
313325
},
314-
"layout.footer.resources.blog": {
315-
"message": "Blog"
326+
"layout.footer.products": {
327+
"message": "Products"
316328
},
317-
"layout.footer.resources.docs": {
318-
"message": "Docs"
329+
"layout.footer.products.app": {
330+
"message": "Modrinth App"
319331
},
320-
"layout.footer.resources.status": {
321-
"message": "Status"
332+
"layout.footer.products.plus": {
333+
"message": "Modrinth+"
322334
},
323-
"layout.footer.resources.support": {
324-
"message": "Support"
335+
"layout.footer.products.servers": {
336+
"message": "Modrinth Servers"
325337
},
326-
"layout.footer.resources.title": {
338+
"layout.footer.resources": {
327339
"message": "Resources"
328340
},
341+
"layout.footer.resources.api-docs": {
342+
"message": "API documentation"
343+
},
344+
"layout.footer.resources.help-center": {
345+
"message": "Help Center"
346+
},
347+
"layout.footer.resources.report-issues": {
348+
"message": "Report issues"
349+
},
350+
"layout.footer.resources.translate": {
351+
"message": "Translate"
352+
},
353+
"layout.footer.social.bluesky": {
354+
"message": "Bluesky"
355+
},
356+
"layout.footer.social.discord": {
357+
"message": "Discord"
358+
},
359+
"layout.footer.social.github": {
360+
"message": "GitHub"
361+
},
362+
"layout.footer.social.mastodon": {
363+
"message": "Mastodon"
364+
},
365+
"layout.footer.social.tumblr": {
366+
"message": "Tumblr"
367+
},
368+
"layout.footer.social.x": {
369+
"message": "X"
370+
},
329371
"layout.menu-toggle.action": {
330372
"message": "Toggle menu"
331373
},
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 15 additions & 0 deletions
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 10 additions & 0 deletions
Loading
Lines changed: 10 additions & 1 deletion
Loading

packages/assets/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,17 @@ import _SSOGoogleIcon from './external/sso/google.svg?component'
1313
import _SSOMicrosoftIcon from './external/sso/microsoft.svg?component'
1414
import _SSOSteamIcon from './external/sso/steam.svg?component'
1515
import _AppleIcon from './external/apple.svg?component'
16+
import _BlueskyIcon from './external/bluesky.svg?component'
1617
import _BuyMeACoffeeIcon from './external/bmac.svg?component'
1718
import _DiscordIcon from './external/discord.svg?component'
19+
import _GithubIcon from './external/github.svg?component'
1820
import _KoFiIcon from './external/kofi.svg?component'
1921
import _MastodonIcon from './external/mastodon.svg?component'
2022
import _OpenCollectiveIcon from './external/opencollective.svg?component'
2123
import _PatreonIcon from './external/patreon.svg?component'
2224
import _PayPalIcon from './external/paypal.svg?component'
2325
import _RedditIcon from './external/reddit.svg?component'
26+
import _TumblrIcon from './external/tumblr.svg?component'
2427
import _TwitterIcon from './external/twitter.svg?component'
2528
import _WindowsIcon from './external/windows.svg?component'
2629
import _YouTubeIcon from './external/youtube.svg?component'
@@ -209,7 +212,9 @@ export const SSOGoogleIcon = _SSOGoogleIcon
209212
export const SSOMicrosoftIcon = _SSOMicrosoftIcon
210213
export const SSOSteamIcon = _SSOSteamIcon
211214
export const AppleIcon = _AppleIcon
215+
export const BlueskyIcon = _BlueskyIcon
212216
export const BuyMeACoffeeIcon = _BuyMeACoffeeIcon
217+
export const GithubIcon = _GithubIcon
213218
export const DiscordIcon = _DiscordIcon
214219
export const KoFiIcon = _KoFiIcon
215220
export const MastodonIcon = _MastodonIcon
@@ -218,6 +223,7 @@ export const PatreonIcon = _PatreonIcon
218223
export const PayPalIcon = _PayPalIcon
219224
export const PyroIcon = _PyroIcon
220225
export const RedditIcon = _RedditIcon
226+
export const TumblrIcon = _TumblrIcon
221227
export const TwitterIcon = _TwitterIcon
222228
export const WindowsIcon = _WindowsIcon
223229
export const YouTubeIcon = _YouTubeIcon

packages/assets/styles/variables.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@
5656
rgba(68, 182, 138, 0.175) 0%,
5757
rgba(58, 250, 112, 0.125) 100%
5858
);
59+
--brand-gradient-strong-bg: linear-gradient(
60+
270deg,
61+
rgba(68, 182, 138, 0.175) 0%,
62+
rgba(36, 225, 91, 0.12) 100%
63+
);
5964
--brand-gradient-button: rgba(255, 255, 255, 0.5);
6065
--brand-gradient-border: rgba(32, 64, 32, 0.15);
6166
--brand-gradient-fade-out-color: linear-gradient(to bottom, rgba(213, 235, 224, 0), #d0ece0 70%);
@@ -167,6 +172,7 @@ html {
167172
--shadow-card: rgba(0, 0, 0, 0.25) 0px 2px 4px 0px;
168173

169174
--brand-gradient-bg: linear-gradient(0deg, rgba(14, 35, 19, 0.2) 0%, rgba(55, 137, 73, 0.1) 100%);
175+
--brand-gradient-strong-bg: linear-gradient(270deg, #09110d 10%, #131f17 100%);
170176
--brand-gradient-button: rgba(255, 255, 255, 0.08);
171177
--brand-gradient-border: rgba(155, 255, 160, 0.08);
172178
--brand-gradient-fade-out-color: linear-gradient(to bottom, rgba(24, 30, 31, 0), #171d1e 80%);
@@ -205,6 +211,15 @@ html {
205211
rgba(22, 66, 51, 0.15) 0%,
206212
rgba(55, 137, 73, 0.1) 100%
207213
);
214+
--brand-gradient-strong-bg: linear-gradient(
215+
270deg,
216+
rgba(9, 18, 14, 0.6) 10%,
217+
rgba(19, 31, 23, 0.5) 100%
218+
);
219+
}
220+
221+
.retro-mode {
222+
--brand-gradient-strong-bg: #3a3b38;
208223
}
209224

210225
.experimental-styles-within {

packages/ui/src/locales/en-US/index.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
"button.upload-image": {
3333
"defaultMessage": "Upload image"
3434
},
35+
"changelog.justNow": {
36+
"defaultMessage": "Just now"
37+
},
3538
"changelog.product.api": {
3639
"defaultMessage": "API"
3740
},

0 commit comments

Comments
 (0)