Skip to content

Commit

Permalink
new redirects for simplicity
Browse files Browse the repository at this point in the history
  • Loading branch information
charitea committed Jan 3, 2025
1 parent bbbffd6 commit 79b9c49
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 32 deletions.
38 changes: 38 additions & 0 deletions css/redirects/redirect.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://use.typekit.net/cya2xsd.css');

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
background-color: rgb(26, 26, 26);
color: white;
font-family: 'Oxanium', sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 1rem;
gap: 2rem;
}

.title-container {
text-align: center;
}

h1 {
font-size: 2.5rem;
text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
letter-spacing: 2px;
font-weight: 600;
margin-bottom: 0.5rem;
}

.highlight-text {
color: #ff3333;
margin-left: 0.5rem;
}
28 changes: 11 additions & 17 deletions discord/connect.html → discord/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="refresh" content="0; url=https://discord.gg/npc">
<title>ZGRAD Discord - Join Our Community</title>

<!-- SEO Meta Tags -->
<meta name="description" content="Join the ZGRAD Discord community. Chat with players, get server updates, find teammates, and be part of our growing community.">
<meta name="keywords" content="ZGRAD Discord, GMOD community, gaming Discord, HOMIGRAD chat">
<meta name="description" content="Join the ZGRAD Discord community. Connect with players, get server updates, and participate in events.">
<meta name="keywords" content="ZGRAD discord, GMOD community, gaming discord, HOMIGRAD discord, server community">
<meta name="author" content="ZGRAD Network">
<meta name="robots" content="index, follow">

Expand All @@ -16,29 +17,22 @@

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://zgrad.us/discord/connect.html">
<meta property="og:url" content="https://zgrad.us/discord">
<meta property="og:title" content="ZGRAD Discord - Join Our Community">
<meta property="og:description" content="Join the ZGRAD Discord community. Chat with players, get server updates, find teammates, and be part of our growing community.">
<meta property="og:description" content="Join the ZGRAD Discord community. Connect with players, get server updates, and participate in events.">
<meta property="og:image" content="https://zgrad.us/assets/logos/large-logo.png">

<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="ZGRAD Discord - Join Our Community">
<meta name="twitter:description" content="Join the ZGRAD Discord community. Chat with players, get server updates, find teammates, and be part of our growing community.">
<meta name="twitter:description" content="Join the ZGRAD Discord community. Connect with players, get server updates, and participate in events.">
<meta name="twitter:image" content="https://zgrad.us/assets/logos/large-logo.png">

<!-- Stylesheets -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Oxanium:wght@200;300;400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/css/zgrad/connectRedirect.css">
<script src="/js/elements/connectRedirect.js" defer></script>

<link rel="stylesheet" href="/css/redirects/redirect.css">
</head>
<body>
<npc-redirect
type="other"
txt="Redirecting to the Discord"
url="https://discord.gg/npc">
</npc-redirect>
<div class="title-container">
<h1>Redirecting to the<span class="highlight-text">ZGRAD Discord</span></h1>
</div>
</body>
</html>
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ <h2>Latest Guides</h2>
<div class="footer-content">
<div class="footer-links">
<a href="/servers.html">Servers</a>
<a href="/discord/connect.html">Discord</a>
<a href="/store/connect.html">Store</a>
<a href="/discord">Discord</a>
<a href="/store">Store</a>
<a href="/socials.html">Socials</a>
</div>
<div class="footer-info">
Expand Down
20 changes: 7 additions & 13 deletions store/connect.html → store/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="refresh" content="0; url=https://store.npcz.gg/category/garrys-mod-ranks">
<title>ZGRAD Store - Get Exclusive Perks</title>

<!-- SEO Meta Tags -->
Expand All @@ -16,7 +17,7 @@

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://zgrad.us/store/connect.html">
<meta property="og:url" content="https://zgrad.us/store">
<meta property="og:title" content="ZGRAD Store - Get Exclusive Perks">
<meta property="og:description" content="Visit the ZGRAD Store for exclusive perks, ranks, and ways to support our servers. Enhance your gaming experience today.">
<meta property="og:image" content="https://zgrad.us/assets/logos/large-logo.png">
Expand All @@ -26,19 +27,12 @@
<meta name="twitter:title" content="ZGRAD Store - Get Exclusive Perks">
<meta name="twitter:description" content="Visit the ZGRAD Store for exclusive perks, ranks, and ways to support our servers. Enhance your gaming experience today.">
<meta name="twitter:image" content="https://zgrad.us/assets/logos/large-logo.png">

<!-- Stylesheets -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Oxanium:wght@200;300;400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/css/zgrad/connectRedirect.css">
<script src="/js/elements/connectRedirect.js" defer></script>

<link rel="stylesheet" href="/css/redirects/redirect.css">
</head>
<body>
<npc-redirect
type="other"
txt="Redirecting to the ZGRAD Store"
url="https://store.npcz.gg/category/garrys-mod-ranks">
</npc-redirect>
<div class="title-container">
<h1>Redirecting you to <span class="highlight-text">ZGRAD Store</span></h1>
</div>
</body>
</html>

0 comments on commit 79b9c49

Please sign in to comment.