diff --git a/package-lock.json b/package-lock.json index 07f16f9..48e36ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,8 @@ "name": "my-app", "version": "0.1.0", "dependencies": { + "@emailjs/browser": "^4.4.1", + "@vercel/analytics": "^1.6.1", "next": "16.0.10", "react": "19.2.1", "react-dom": "19.2.1" @@ -276,6 +278,15 @@ "node": ">=6.9.0" } }, + "node_modules/@emailjs/browser": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@emailjs/browser/-/browser-4.4.1.tgz", + "integrity": "sha512-DGSlP9sPvyFba3to2A50kDtZ+pXVp/0rhmqs2LmbMS3I5J8FSOgLwzY2Xb4qfKlOVHh29EAutLYwe5yuEZmEFg==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=14.0.0" + } + }, "node_modules/@emnapi/core": { "version": "1.7.1", "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.7.1.tgz", @@ -2113,6 +2124,44 @@ "win32" ] }, + "node_modules/@vercel/analytics": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@vercel/analytics/-/analytics-1.6.1.tgz", + "integrity": "sha512-oH9He/bEM+6oKlv3chWuOOcp8Y6fo6/PSro8hEkgCW3pu9/OiCXiUpRUogDh3Fs3LH2sosDrx8CxeOLBEE+afg==", + "license": "MPL-2.0", + "peerDependencies": { + "@remix-run/react": "^2", + "@sveltejs/kit": "^1 || ^2", + "next": ">= 13", + "react": "^18 || ^19 || ^19.0.0-rc", + "svelte": ">= 4", + "vue": "^3", + "vue-router": "^4" + }, + "peerDependenciesMeta": { + "@remix-run/react": { + "optional": true + }, + "@sveltejs/kit": { + "optional": true + }, + "next": { + "optional": true + }, + "react": { + "optional": true + }, + "svelte": { + "optional": true + }, + "vue": { + "optional": true + }, + "vue-router": { + "optional": true + } + } + }, "node_modules/acorn": { "version": "8.15.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", diff --git a/package.json b/package.json index 18140f2..fe1c5ea 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,8 @@ "lint": "eslint" }, "dependencies": { + "@emailjs/browser": "^4.4.1", + "@vercel/analytics": "^1.6.1", "next": "16.0.10", "react": "19.2.1", "react-dom": "19.2.1" diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..f16d30c --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,11 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Allow: / + +# Sitemap +Sitemap: https://zerosixlab.com/sitemap.xml + +# Disallow admin/private areas +Disallow: /api/ +Disallow: /_next/ +Disallow: /static/ diff --git a/src/app/globals.css b/src/app/globals.css index 1932d84..b096574 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -105,3 +105,56 @@ body { z-index: 9999; opacity: 0.15; } + +/* Accessibility: Reduce motion for users who prefer it */ +@media (prefers-reduced-motion: reduce) { + *, + *::before, + *::after { + animation-duration: 0.01ms !important; + animation-iteration-count: 1 !important; + transition-duration: 0.01ms !important; + scroll-behavior: auto !important; + } + + .scanlines { + display: none; + } + + .animate-pulse, + .animate-spin, + .animate-bounce { + animation: none !important; + } +} + +/* Skip to main content link for keyboard users */ +.skip-link { + position: absolute; + top: -40px; + left: 0; + background: var(--zsl-primary); + color: black; + padding: 8px 16px; + z-index: 10000; + font-weight: bold; + transition: top 0.3s; +} + +.skip-link:focus { + top: 0; +} + +/* Focus visible styles for better keyboard navigation */ +:focus-visible { + outline: 2px solid var(--zsl-primary); + outline-offset: 2px; +} + +/* Better button and link focus states */ +button:focus-visible, +a:focus-visible { + outline: 2px solid var(--zsl-primary); + outline-offset: 2px; + border-radius: 4px; +} diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 7d5713f..43942e3 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,5 +1,6 @@ import type { Metadata, Viewport } from "next"; import { Inter, Orbitron } from "next/font/google"; +import { Analytics } from '@vercel/analytics/next'; import React from 'react'; import "./globals.css"; @@ -13,6 +14,7 @@ export const viewport: Viewport = { }; export const metadata: Metadata = { + metadataBase: new URL('https://zerosixlab.com'), title: { default: "ZeroSixLab - Geleceği Kodlayan Laboratuvar", template: "%s | ZeroSixLab" @@ -90,7 +92,13 @@ export default function RootLayout({
- {children} + + Ana içeriğe atla + +