Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 | 4x 6x 6x 3x 6x 24x | 'use client';
import Link from "next/link";
import Image from "next/image";
import { Separator } from "@/components/ui/separator";
import { useEffect, useState } from "react";
const socialPlatforms = [
{
name: "Facebook",
href: "https://www.facebook.com/share/1FLLmWexwT/?mibextid=wwXIfr",
icon: (
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z" />
</svg>
),
},
{
name: "Instagram",
href: "https://www.instagram.com/varjoliitokoulu?igsh=MWhyd2Rwb3Exa3B4bQ==",
icon: (
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z" />
</svg>
),
},
{
name: "YouTube",
href: "https://youtube.com/@kujakettu?si=ZQD6tTSbMCYDksoy",
icon: (
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z" />
</svg>
),
},
{
name: "TikTok",
href: "https://www.tiktok.com/@jekkikettu?_t=ZN-8wtkSsYuHHL&_r=1",
icon: (
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path d="M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .88.13V9.4a6.84 6.84 0 0 0-1-.05A6.33 6.33 0 0 0 5 20.1a6.34 6.34 0 0 0 10.86-4.43v-7a8.16 8.16 0 0 0 4.77 1.52v-3.4a4.85 4.85 0 0 1-1-.1z" />
</svg>
),
},
];
export function Footer() {
const [year, setYear] = useState<number>();
useEffect(() => {
setYear(new Date().getFullYear());
}, []);
return (
<footer className="w-full border-t bg-background py-12">
<div className="mx-auto max-w-[100rem] px-4 md:px-6">
<div className="grid gap-8 md:grid-cols-2 lg:grid-cols-5">
{/* Brand & Social */}
<div className="flex flex-col gap-2">
<div className="flex items-center gap-3 mb-4">
<Image
src="/logo.webp"
alt="Varjoliitokauppa logo"
width={40}
height={40}
className="rounded-xl"
loading="lazy"
/>
<span className="text-lg font-bold md:text-md sm:text-sm lg:text-md xl:text-lg">
Varjoliitokauppa
</span>
</div>
<p className="text-sm text-gray-500">
Suomen luotettavin varjoliitokauppa. Asiantuntevaa palvelua yli
10 vuoden kokemuksella.
</p>
<p className="text-sm text-gray-500 mt-4">Seuraa somessa</p>
<div className="flex gap-4 mt-2">
{socialPlatforms.map((platform) => (
<Link
key={platform.name}
href={platform.href}
target="_blank"
rel="noopener noreferrer"
className="text-gray-400 hover:text-gray-600 transition-colors duration-300"
>
<span className="sr-only">{platform.name}</span>
<div className="h-5 w-5">{platform.icon}</div>
</Link>
))}
</div>
</div>
{/* Kauppa */}
<div className="flex flex-col gap-2">
<h3 className="text-lg font-bold">Kauppa</h3>
<Link
href="/kauppa"
className="text-sm text-gray-500 hover:text-gray-700 transition-colors duration-300"
>
Kaikki tuotteet
</Link>
<Link
href="/tarjoukset"
className="text-sm text-gray-500 hover:text-gray-700 transition-colors duration-300"
>
Tarjoukset
</Link>
<Link
href="/kaytetyt"
className="text-sm text-gray-500 hover:text-gray-700 transition-colors duration-300"
>
Käytetyt varusteet
</Link>
</div>
{/* Info */}
<div className="flex flex-col gap-2">
<h3 className="text-lg font-bold">Info</h3>
<Link
href="/toimitusehdot"
className="text-sm text-gray-500 hover:text-gray-700 transition-colors duration-300"
>
Toimitusehdot
</Link>
<Link
href="/tietosuojaseloste"
className="text-sm text-gray-500 hover:text-gray-700 transition-colors duration-300"
>
Tietosuojaseloste
</Link>
<Link
href="https://varjoliitokoulu.fi"
target="_blank"
rel="noopener noreferrer"
className="text-sm text-gray-500 hover:text-gray-700 transition-colors duration-300"
>
Varjoliitokoulu.fi
</Link>
</div>
{/* Yhteystiedot */}
<div className="flex flex-col gap-2">
<h3 className="text-lg font-bold">Yhteystiedot</h3>
<p className="text-sm text-gray-500">Jekki Kettu</p>
<a
href="tel:+358505784444"
className="text-sm text-gray-500 hover:text-gray-700 transition-colors duration-300"
>
050 578 4444
</a>
<a
href="mailto:info@varjoliitokauppa.fi"
className="text-sm text-gray-500 hover:text-gray-700 transition-colors duration-300"
>
info@varjoliitokauppa.fi
</a>
</div>
{/* Osoite */}
<div className="flex flex-col gap-2">
<h3 className="text-lg font-bold">Osoite</h3>
<p className="text-sm text-gray-500">Foxer Paragliding</p>
<p className="text-sm text-gray-500">Rutalahdentie 101</p>
<p className="text-sm text-gray-500">
04500 Kellokoski (Tuusula)
</p>
</div>
</div>
<Separator className="my-8" />
<div className="flex flex-col md:flex-row justify-between items-center gap-4 font-semibold">
<span className="text-center text-sm text-gray-400 md:text-left">
© {year ?? "..."} Varjoliitokauppa. Kaikki oikeudet pidätetään.
</span>
<div className="flex gap-4">
<span className="text-sm text-gray-400 font-semibold">
Powered by <a href="https://gibox.fi" target="_blank" rel="noopener noreferrer" className="text-blue-500 hover:text-blue-700 ">GIBOX</a>
</span>
</div>
</div>
</div>
</footer>
);
} |