diff options
author | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2023-09-08 01:05:33 -0500 |
---|---|---|
committer | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2023-09-08 01:05:33 -0500 |
commit | 7a6357b97f038b6624bf47119935024f0c339968 (patch) | |
tree | 26196b9ccda727c10e31c4106f12fc612c858a5a /pages | |
parent | 9f53c175d634edcbe20b930c98b826dd04174af8 (diff) | |
download | homepage-7a6357b97f038b6624bf47119935024f0c339968.tar.xz homepage-7a6357b97f038b6624bf47119935024f0c339968.zip |
Rename DISPLAY_DOMAIN to SITE_DOMAIN for consistency
Diffstat (limited to 'pages')
-rw-r--r-- | pages/index.tsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pages/index.tsx b/pages/index.tsx index 72e22b8..029666c 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -9,20 +9,20 @@ import Code from '../components/Code'; import md from './greeting.md'; import { List, ListItem } from '../components/List'; -import { DISPLAY_DOMAIN } from '../utils/env'; +import { DISPLAY_DOMAIN, SiteDomain, SITE_DOMAIN } from '../utils/env'; export default function Home() { - const gitLink = 'https://git.al.' + DISPLAY_DOMAIN; + const gitLink = 'https://git.' + DISPLAY_DOMAIN; let email : string; - switch(DISPLAY_DOMAIN) { - case "flu0r1ne.net": + switch(SITE_DOMAIN) { + case SiteDomain.FLU0R1NENET: email = "flu0r1ne [at] flu0r1ne.net"; break; - case "exander.io": + case SiteDomain.EXANDERIO: email = "alex [at] al.exander.io"; break; default: |