aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/index.tsx10
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: