From 651684e9c6c8509001f3757b51c8aefbadbd6613 Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Sun, 7 Jan 2024 16:30:40 +0100 Subject: Branding page mod names --- apps/website/src/pages/branding.astro | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'apps/website/src/pages') diff --git a/apps/website/src/pages/branding.astro b/apps/website/src/pages/branding.astro index d1e05b4..e367f3b 100644 --- a/apps/website/src/pages/branding.astro +++ b/apps/website/src/pages/branding.astro @@ -5,7 +5,11 @@ import Section from '@components/base/Section.astro'; import BrandingImage from '@components/page/branding/BrandingImage.astro'; import Layout from '@layouts/Layout.astro'; -const mods = ['behindyou', 'chatting', 'crashpatch', 'damagetint', 'evergreenhud', 'glintcolorizer', 'keystrokes', 'overflowanimations', 'polyblur', 'polynametag', 'polysprint', 'polytime', 'polyweather', 'vanillahud']; +const mods = ['behind_you', 'chatting', 'crash_patch', 'damage_tint', 'evergreen_h_u_d', 'glint_colorizer', 'keystrokes', 'overflow_animations', 'poly_blur', 'poly_nametag', 'poly_sprint', 'poly_time', 'poly_weather', 'vanilla_h_u_d']; + +function formatModName(name: string): string { + return name.split('_').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join(''); +} --- @@ -105,7 +109,7 @@ const mods = ['behindyou', 'chatting', 'crashpatch', 'damagetint', 'evergreenhud
{mods.map(mod => ( - + ))}
-- cgit