From 10966ae009eeeea50f906529ef88ccc6ebd20357 Mon Sep 17 00:00:00 2001 From: Epoxide Date: Tue, 23 Jul 2024 23:16:53 +0200 Subject: [PATCH] refactor(constants): set constants as const --- packages/constants/components/footer.ts | 2 +- packages/constants/meta.ts | 8 ++++---- packages/constants/pages/404.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/constants/components/footer.ts b/packages/constants/components/footer.ts index fe5cb5d..103e1c4 100644 --- a/packages/constants/components/footer.ts +++ b/packages/constants/components/footer.ts @@ -21,4 +21,4 @@ export const FOOTER = { ARIA_LABEL: 'Epoxide on Discord', }, ], -} +} as const diff --git a/packages/constants/meta.ts b/packages/constants/meta.ts index e28eabe..de4c785 100644 --- a/packages/constants/meta.ts +++ b/packages/constants/meta.ts @@ -1,16 +1,16 @@ export const META = { TITLE: 'epoxide', DESCRIPTION: 'Library and landing page for epoxide.', - COLOR_SCHEME: 'dark' as const, + COLOR_SCHEME: 'dark', THEME_COLOR: 'rgb(35, 38, 40)', SITE_NAME: 'epoxide', URL: 'https://epoxide.se', LOCALE: 'en-US', - TYPE: 'website' as const, + TYPE: 'website', OG_IMAGE: '/opengraph-image.png', TWITTER_IMAGE: '/twitter-image.png', TWITTER_CREATOR: '@TLEpoxide', TWITTER_CREATOR_ID: '870776905', - TWITTER_CARD: 'summary_large_image' as const, + TWITTER_CARD: 'summary_large_image', GOOGLE_SITE_VERIFICATION: 'wzqG8ce2wQmwPODNX0HFf9TtNr5xSedSfF6_0nZKWMc', -} +} as const diff --git a/packages/constants/pages/404.ts b/packages/constants/pages/404.ts index 8e9088c..1624f0f 100644 --- a/packages/constants/pages/404.ts +++ b/packages/constants/pages/404.ts @@ -1,4 +1,4 @@ export const NOT_FOUND = { TITLE: 'Oops! That page does not exist.', GO_BACK: 'Go back to the landing page', -} +} as const