This commit is contained in:
ct
2025-07-16 19:55:37 +08:00
parent 06675de71b
commit fe32ffda42
12 changed files with 639 additions and 13 deletions

View File

@@ -0,0 +1,18 @@
import { cn } from '@/lib/utils';
import { Link } from '@inertiajs/react';
import { route } from 'ziggy-js';
const BrandLogo = ({ className = '', onNavClick = () => {}, isNavActive = false }) => {
return (
<Link href={route('home')} className={cn('flex w-full items-center justify-center gap-2 hover:opacity-80 transition-opacity', className)}>
<img alt="MEMEFA.ST LOGO" className="h-10 w-10" src="/logo/memefast-logo-144.png"></img>
<div className="font-display ml-0 text-lg tracking-wide md:ml-3 md:text-xl">
<span className="text-foreground">MEME</span>
<span className="text-[#00DD00] dark:text-[#00FF00]">FAST</span>
</div>
</Link>
);
};
export default BrandLogo;

View File

@@ -1,6 +1,7 @@
import { Switch } from '@/components/ui/switch';
import { useTheme } from '@/hooks/useTheme';
import { Moon, Sun } from 'lucide-react';
import { route } from 'ziggy-js';
const Footer = () => {
const currentYear = new Date().getFullYear();
@@ -28,13 +29,16 @@ const Footer = () => {
{/* Navigation Links */}
<div className="flex space-x-6">
<a href="/" className="text-muted-foreground hover:text-foreground text-sm transition-colors">
<a href={route('home')} className="text-muted-foreground hover:text-foreground text-sm transition-colors">
Home
</a>
<a href="/terms" className="text-muted-foreground hover:text-foreground text-sm transition-colors">
<a href={route('memes.index')} className="text-muted-foreground hover:text-foreground text-sm transition-colors">
Meme Library
</a>
<a href={route('terms')} className="text-muted-foreground hover:text-foreground text-sm transition-colors">
Terms
</a>
<a href="/privacy" className="text-muted-foreground hover:text-foreground text-sm transition-colors">
<a href={route('privacy')} className="text-muted-foreground hover:text-foreground text-sm transition-colors">
Privacy
</a>
{import.meta.env.VITE_DISCORD_LINK && (