I hate github

This commit is contained in:
DIVISIONSolar 2025-04-08 21:37:27 -04:00
parent c62b7dc5e5
commit 1f580bbf7b
Signed by: JoshS
GPG key ID: A37D037686151E97
3 changed files with 36 additions and 12 deletions

24
.gitignore vendored Normal file
View file

@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
*.local
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

View file

@ -19,10 +19,10 @@ import {
import PromoPopup from "./PromoPopup"; import PromoPopup from "./PromoPopup";
// Navbar Contents // Navbar Contents
const fastLinks = [ const fastLinks = [
{ title: "Game Panel", path: "https://example.com", icon: Gamepad2 }, { title: "Game Panel", path: "https://game.skylinkhosting.com", icon: Gamepad2 },
{ title: "VPS Panel", path: "https://example.com", icon: BoxIcon }, { title: "VPS Panel", path: "https://compute.skylinkhosting.com", icon: BoxIcon },
{ title: "Status", path: "https://example.com", icon: WifiIcon }, { title: "Status", path: "https://status.skylinkhosting.com", icon: WifiIcon },
{ title: "Create a Ticket", path: "https://example.com", icon: Ticket }, { title: "Create a Ticket", path: "https://billing.skylinkhosting.com/contact.php", icon: Ticket },
]; ];
const navLinks = [ const navLinks = [
{ title: "Home", path: "/" }, { title: "Home", path: "/" },
@ -100,7 +100,7 @@ const FastLinks = () => {
className="flex items-center gap-2 hover:text-blue-500 transition-colors duration-200" className="flex items-center gap-2 hover:text-blue-500 transition-colors duration-200"
> >
<Mail className="w-4 h-4" /> <Mail className="w-4 h-4" />
support@gamezone.com support@skylinkhosting.com
</a> </a>
<span className="flex items-center gap-2"> <span className="flex items-center gap-2">
<Phone className="w-4 h-4" /> <Phone className="w-4 h-4" />
@ -160,14 +160,14 @@ const NavBar = () => {
<div className="container max-w-screen-xl mx-auto px-4"> <div className="container max-w-screen-xl mx-auto px-4">
<div className="flex items-center justify-between"> <div className="flex items-center justify-between">
<a href="/" className="flex items-center gap-2"> <a href="/" className="flex items-center gap-2">
<img {/* <img
src="https://placehold.co/32x32" src="https://placehold.co/32x32"
alt="GameZone Logo" alt="GameZone Logo"
className="w-8 h-8 rounded-md" className="w-8 h-8 rounded-md"
/> /> */}
<h1 className="text-xl md:text-2xl font-bold"> <h1 className="text-xl md:text-2xl font-bold">
<span className="text-blue-500">Game</span> <span className="text-blue-500">Skylink </span>
<span className="text-white">Zone</span> <span className="text-white">Hosting</span>
</h1> </h1>
</a> </a>

View file

@ -4,7 +4,7 @@ import { Gift, Copy, Check, X } from "lucide-react";
const PromoPopup = () => { const PromoPopup = () => {
const [isVisible, setIsVisible] = useState(false); const [isVisible, setIsVisible] = useState(false);
const [hasCopied, setHasCopied] = useState(false); const [hasCopied, setHasCopied] = useState(false);
const PROMO_CODE = "26BZ"; const PROMO_CODE = "SPRING40";
const STORAGE_KEY = "promoPopupExpiry"; const STORAGE_KEY = "promoPopupExpiry";
useEffect(() => { useEffect(() => {
@ -62,10 +62,10 @@ const PromoPopup = () => {
</div> </div>
<h2 className="text-2xl font-bold text-white text-center mb-2"> <h2 className="text-2xl font-bold text-white text-center mb-2">
Special Offer! Spring Sale!
</h2> </h2>
<p className="text-gray-400 text-center mb-6"> <p className="text-gray-400 text-center mb-6">
Get 25% off your first game server purchase Get 40% off your first 3 months!
</p> </p>
<div className="bg-slate-950 p-6 rounded-lg border border-gray-800 mb-6"> <div className="bg-slate-950 p-6 rounded-lg border border-gray-800 mb-6">