diff --git a/next.config.mjs b/next.config.mjs index 28a08bb..bac34f2 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -4,6 +4,23 @@ const nextConfig = { images: { qualities: [75, 100], }, + async redirects() { + return [ + // Cloudflare already does this; kept here as a fallback. + { + source: "/:path*", + has: [{ type: "host", value: "www.teatatucomputers.com" }], + destination: "https://teatatucomputers.com/:path*", + permanent: true, + }, + // Web design is no longer offered. + { + source: "/services/web-design", + destination: "/", + permanent: true, + }, + ]; + }, }; export default nextConfig; diff --git a/package-lock.json b/package-lock.json index 36ec52f..8d8f9a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,8 +11,6 @@ "@next/env": "^16.2.10", "@next/third-parties": "^16.2.10", "@radix-ui/react-accordion": "^1.2.3", - "@vercel/analytics": "^1.4.1", - "@vercel/speed-insights": "^1.1.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "lucide-react": "^0.487.0", @@ -2652,79 +2650,6 @@ "win32" ] }, - "node_modules/@vercel/analytics": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@vercel/analytics/-/analytics-1.5.0.tgz", - "integrity": "sha512-MYsBzfPki4gthY5HnYN7jgInhAZ7Ac1cYDoRWFomwGHWEX7odTEzbtg9kf/QSo7XEsEAqlQugA6gJ2WS2DEa3g==", - "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/@vercel/speed-insights": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@vercel/speed-insights/-/speed-insights-1.2.0.tgz", - "integrity": "sha512-y9GVzrUJ2xmgtQlzFP2KhVRoCglwfRQgjyfY607aU0hh0Un6d0OUyrJkjuAlsV18qR4zfoFPs/BiIj9YDS6Wzw==", - "hasInstallScript": true, - "license": "Apache-2.0", - "peerDependencies": { - "@sveltejs/kit": "^1 || ^2", - "next": ">= 13", - "react": "^18 || ^19 || ^19.0.0-rc", - "svelte": ">= 4", - "vue": "^3", - "vue-router": "^4" - }, - "peerDependenciesMeta": { - "@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.17.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz", diff --git a/package.json b/package.json index 61e5238..58e3e9c 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,6 @@ "@next/env": "^16.2.10", "@next/third-parties": "^16.2.10", "@radix-ui/react-accordion": "^1.2.3", - "@vercel/analytics": "^1.4.1", - "@vercel/speed-insights": "^1.1.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "lucide-react": "^0.487.0", diff --git a/public/logo.png b/public/logo.png new file mode 100644 index 0000000..8ab93bb Binary files /dev/null and b/public/logo.png differ diff --git a/public/og-image.png b/public/og-image.png new file mode 100644 index 0000000..86187b2 Binary files /dev/null and b/public/og-image.png differ diff --git a/src/app/components/ContactForm.js b/src/app/components/ContactForm.js index d718b23..31988e7 100644 --- a/src/app/components/ContactForm.js +++ b/src/app/components/ContactForm.js @@ -18,7 +18,7 @@ export default function ContactForm() { clipRule="evenodd" /> - 021 107 7483 + 021 107 7483

- + 021 107 7483

diff --git a/src/app/components/HeaderSm.js b/src/app/components/HeaderSm.js index 394af23..2a74ab5 100644 --- a/src/app/components/HeaderSm.js +++ b/src/app/components/HeaderSm.js @@ -8,7 +8,7 @@ export default function HeaderSm({ text }) {
Header Background + ); +} diff --git a/src/app/components/Navbar.js b/src/app/components/Navbar.js index 82225fd..e89159f 100644 --- a/src/app/components/Navbar.js +++ b/src/app/components/Navbar.js @@ -49,7 +49,7 @@ export default function Navbar() {
- Logo +

Te Atatu Computers

@@ -62,7 +62,7 @@ export default function Navbar() { src={isActive ? menu : close} width="32" height="32" - alt="Menu" + alt="" />
@@ -131,16 +131,6 @@ export default function Navbar() { IT Support -
  • - - Web Design - -
  • + + {children}