feat: enhance landing page, Telegram webhook, SEO suite, and cookie consent banner

This commit is contained in:
ayrisdev
2026-08-22 22:57:03 +03:00
parent 5ac5988a3a
commit 61dd85133c
26 changed files with 3264 additions and 896 deletions
+44 -129
View File
@@ -8,7 +8,7 @@
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-archivo);
--font-mono: var(--font-geist-mono);
--font-mono: var(--font-jetbrains-mono);
--font-heading: var(--font-archivo);
--color-sidebar-ring: var(--sidebar-ring);
--color-sidebar-border: var(--sidebar-border);
@@ -39,89 +39,69 @@
--color-popover: var(--popover);
--color-card-foreground: var(--card-foreground);
--color-card: var(--card);
--radius-sm: calc(var(--radius) * 0.6);
--radius-md: calc(var(--radius) * 0.8);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) * 1.4);
--radius-2xl: calc(var(--radius) * 1.8);
--radius-3xl: calc(var(--radius) * 2.2);
--radius-4xl: calc(var(--radius) * 2.6);
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--radius-xl: 24px;
--radius-full: 9999px;
}
/* ─── AyrisLegal Marka Renk Sistemi (Lacivert + Teal) ─────────────── */
/* ─── AyrisLegal Design System: "The Modern Jurist Studio" ─────────── */
:root {
/* Lacivert (navy) arka plan / teal vurgu — dark-first marka */
--background: oklch(0.18 0.055 243); /* Derin lacivert */
--foreground: oklch(0.95 0.012 240); /* Neredeyse beyaz */
/* Editorial Paper White & Architectural Zinc */
--background: #FFFFFF;
--foreground: #09090B;
--card: oklch(0.22 0.05 243); /* Biraz açık lacivert kart */
--card-foreground: oklch(0.95 0.012 240);
--card: #FFFFFF;
--card-foreground: #09090B;
--popover: oklch(0.22 0.05 243);
--popover-foreground: oklch(0.95 0.012 240);
--popover: #FFFFFF;
--popover-foreground: #09090B;
/* Teal ana renk */
--primary: oklch(0.63 0.14 183); /* Teal */
--primary-foreground: oklch(0.98 0.008 183);
/* Ayris Legal Red (Primary Conversion Accent) */
--primary: #E61919;
--primary-foreground: #FFFFFF;
--primary-dark: #B8140F;
--primary-soft: #FDEEEC;
--secondary: oklch(0.28 0.05 243); /* Orta lacivert */
--secondary-foreground: oklch(0.90 0.012 240);
--secondary: #FAFAFA;
--secondary-foreground: #18181B;
--muted: oklch(0.25 0.04 243);
--muted-foreground: oklch(0.60 0.035 240);
--muted: #FAFAFA;
--muted-foreground: #71717A;
--accent: oklch(0.68 0.13 183); /* Açık teal vurgu */
--accent-foreground: oklch(0.18 0.055 243);
--accent: #FDEEEC;
--accent-foreground: #B8140F;
--destructive: oklch(0.577 0.245 27.325);
--destructive: #DC2626;
--destructive-foreground: #FFFFFF;
--border: oklch(0.32 0.045 243);
--input: oklch(0.28 0.045 243);
--ring: oklch(0.63 0.14 183); /* Teal focus ring */
--border: #E4E4E7;
--input: #E4E4E7;
--ring: #E61919;
--chart-1: oklch(0.63 0.14 183);
--chart-2: oklch(0.55 0.12 200);
--chart-3: oklch(0.45 0.09 220);
--chart-4: oklch(0.38 0.07 230);
--chart-5: oklch(0.30 0.05 240);
--radius: 1rem;
--radius: 0.75rem;
--sidebar: #FAFAFA;
--sidebar-foreground: #09090B;
--sidebar-primary: #E61919;
--sidebar-primary-foreground: #FFFFFF;
--sidebar-accent: #F4F4F5;
--sidebar-accent-foreground: #18181B;
--sidebar-border: #E4E4E7;
--sidebar-ring: #E61919;
--sidebar: oklch(0.20 0.055 243);
--sidebar-foreground: oklch(0.90 0.012 240);
--sidebar-primary: oklch(0.63 0.14 183);
--sidebar-primary-foreground: oklch(0.98 0.008 183);
--sidebar-accent: oklch(0.25 0.05 243);
--sidebar-accent-foreground: oklch(0.90 0.012 240);
--sidebar-border: oklch(0.30 0.045 243);
--sidebar-ring: oklch(0.63 0.14 183);
caret-color: #E61919;
}
/* Admin/login sayfaları için açık tema (opsiyonel override) */
.light {
--background: oklch(0.98 0.005 240);
--foreground: oklch(0.18 0.055 243);
--card: oklch(1 0 0);
--card-foreground: oklch(0.18 0.055 243);
--popover: oklch(1 0 0);
--popover-foreground: oklch(0.18 0.055 243);
--primary: oklch(0.55 0.14 183);
--primary-foreground: oklch(0.98 0.008 183);
--secondary: oklch(0.93 0.02 240);
--secondary-foreground: oklch(0.22 0.05 243);
--muted: oklch(0.95 0.015 240);
--muted-foreground: oklch(0.50 0.04 240);
--accent: oklch(0.90 0.06 183);
--accent-foreground: oklch(0.25 0.05 243);
--destructive: oklch(0.577 0.245 27.325);
--border: oklch(0.88 0.02 240);
--input: oklch(0.88 0.02 240);
--ring: oklch(0.55 0.14 183);
::selection {
background: #FDEEEC;
color: #B8140F;
}
@layer base {
* {
@apply border-border outline-ring/50;
@apply border-border;
}
body {
@apply bg-background text-foreground;
@@ -130,69 +110,4 @@
@apply font-sans;
scroll-behavior: smooth;
}
}
/* ─── AyrisLegal Premium Background Effects ─────────────────────────── */
.orb {
position: fixed;
border-radius: 50%;
filter: blur(110px);
pointer-events: none;
z-index: 0;
will-change: transform;
}
.orb-1 {
width: 700px;
height: 700px;
background: radial-gradient(circle, rgba(45,212,191,0.22) 0%, transparent 70%);
top: -180px;
left: -120px;
animation: orb-float 14s ease-in-out infinite;
}
.orb-2 {
width: 550px;
height: 550px;
background: radial-gradient(circle, rgba(99,102,241,0.16) 0%, transparent 70%);
top: 38%;
right: -120px;
animation: orb-float 18s ease-in-out infinite reverse;
animation-delay: -6s;
}
.orb-3 {
width: 420px;
height: 420px;
background: radial-gradient(circle, rgba(45,212,191,0.12) 0%, transparent 70%);
bottom: 15%;
left: 28%;
animation: orb-float 11s ease-in-out infinite;
animation-delay: -9s;
}
@keyframes orb-float {
0%, 100% { transform: translate(0, 0) scale(1); }
33% { transform: translate(35px, -50px) scale(1.06); }
66% { transform: translate(-25px, 25px) scale(0.95); }
}
.grid-overlay {
position: fixed;
inset: 0;
background-image:
linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
background-size: 60px 60px;
pointer-events: none;
z-index: 0;
}
/* Gradient text utility */
.text-gradient-teal {
background: linear-gradient(135deg, #2DD4BF 0%, #67E8F9 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}