From 7a6357b97f038b6624bf47119935024f0c339968 Mon Sep 17 00:00:00 2001
From: flu0r1ne <flu0r1ne@flu0r1ne.net>
Date: Fri, 8 Sep 2023 01:05:33 -0500
Subject: Rename DISPLAY_DOMAIN to SITE_DOMAIN for consistency

---
 pages/index.tsx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'pages/index.tsx')

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:
-- 
cgit v1.2.3

