Initial commit
This commit is contained in:
17
src/app/about/page.tsx
Normal file
17
src/app/about/page.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
export default function AboutPage() {
|
||||
return (
|
||||
<section className="min-h-[70vh] bg-surface px-margin-mobile md:px-margin-desktop py-24">
|
||||
<div className="mx-auto max-w-container-max text-center">
|
||||
<p className="text-label-sm font-black uppercase tracking-widest text-primary">
|
||||
About
|
||||
</p>
|
||||
<h1 className="mt-4 font-display text-4xl font-black text-brand-dark md:text-6xl">
|
||||
Built for local communities.
|
||||
</h1>
|
||||
<p className="mx-auto mt-6 max-w-2xl text-body-lg text-on-surface-variant">
|
||||
Nearle connects people with verified neighborhood businesses through a fast, reliable hyperlocal commerce network.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
17
src/app/businesses/page.tsx
Normal file
17
src/app/businesses/page.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
export default function BusinessesPage() {
|
||||
return (
|
||||
<section className="min-h-[70vh] bg-surface px-margin-mobile md:px-margin-desktop py-24">
|
||||
<div className="mx-auto max-w-container-max text-center">
|
||||
<p className="text-label-sm font-black uppercase tracking-widest text-primary">
|
||||
Nearle for Business
|
||||
</p>
|
||||
<h1 className="mt-4 font-display text-4xl font-black text-brand-dark md:text-6xl">
|
||||
Grow with neighborhood delivery.
|
||||
</h1>
|
||||
<p className="mx-auto mt-6 max-w-2xl text-body-lg text-on-surface-variant">
|
||||
Partner with Nearle to reach nearby customers, manage local demand, and deliver faster within your neighborhood.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
17
src/app/contact/page.tsx
Normal file
17
src/app/contact/page.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
export default function ContactPage() {
|
||||
return (
|
||||
<section className="min-h-[70vh] bg-surface px-margin-mobile md:px-margin-desktop py-24">
|
||||
<div className="mx-auto max-w-container-max text-center">
|
||||
<p className="text-label-sm font-black uppercase tracking-widest text-primary">
|
||||
Contact
|
||||
</p>
|
||||
<h1 className="mt-4 font-display text-4xl font-black text-brand-dark md:text-6xl">
|
||||
Talk to the Nearle team.
|
||||
</h1>
|
||||
<p className="mx-auto mt-6 max-w-2xl text-body-lg text-on-surface-variant">
|
||||
Reach out for partnerships, support, business onboarding, or neighborhood launch enquiries.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
BIN
src/app/favicon.ico
Normal file
BIN
src/app/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
537
src/app/globals.css
Normal file
537
src/app/globals.css
Normal file
@@ -0,0 +1,537 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
/* ─── Design Tokens (Material Design 3 inspired) ─── */
|
||||
:root {
|
||||
--surface: #f9f9fc;
|
||||
--surface-dim: #dadadc;
|
||||
--surface-bright: #f9f9fc;
|
||||
--surface-container-lowest: #ffffff;
|
||||
--surface-container-low: #f3f3f6;
|
||||
--surface-container: #eeeef0;
|
||||
--surface-container-high: #e8e8ea;
|
||||
--surface-container-highest: #e2e2e5;
|
||||
--on-surface: #1a1c1e;
|
||||
--on-surface-variant: #4d434f;
|
||||
--inverse-surface: #2f3133;
|
||||
--inverse-on-surface: #f0f0f3;
|
||||
--outline: #7f7381;
|
||||
--outline-variant: #d0c2d1;
|
||||
--surface-tint: #83429f;
|
||||
--primary: #4d046a;
|
||||
--on-primary: #ffffff;
|
||||
--primary-container: #662582;
|
||||
--on-primary-container: #de96f9;
|
||||
--inverse-primary: #ebb2ff;
|
||||
--secondary: #006d37;
|
||||
--on-secondary: #ffffff;
|
||||
--secondary-container: #7bf8a1;
|
||||
--on-secondary-container: #007239;
|
||||
--tertiary: #745b00;
|
||||
--on-tertiary: #ffffff;
|
||||
--tertiary-container: #cda72b;
|
||||
--on-tertiary-container: #4f3d00;
|
||||
--error: #ba1a1a;
|
||||
--on-error: #ffffff;
|
||||
--error-container: #ffdad6;
|
||||
--on-error-container: #93000a;
|
||||
--primary-fixed: #f8d8ff;
|
||||
--primary-fixed-dim: #ebb2ff;
|
||||
--on-primary-fixed: #320047;
|
||||
--on-primary-fixed-variant: #692885;
|
||||
--secondary-fixed: #7efba4;
|
||||
--secondary-fixed-dim: #61de8a;
|
||||
--on-secondary-fixed: #00210c;
|
||||
--on-secondary-fixed-variant: #005228;
|
||||
--tertiary-fixed: #ffe08b;
|
||||
--tertiary-fixed-dim: #ebc246;
|
||||
--on-tertiary-fixed: #241a00;
|
||||
--on-tertiary-fixed-variant: #584400;
|
||||
--background: #f9f9fc;
|
||||
--on-background: #1a1c1e;
|
||||
--surface-variant: #e2e2e5;
|
||||
--brand-dark: #120217;
|
||||
--brand-dark-surface: #1e0627;
|
||||
--brand-accent: #fca311;
|
||||
--brand-accent-light: #ffe08b;
|
||||
--brand-cream: #faf8f5;
|
||||
}
|
||||
|
||||
/* ─── Tailwind v4 Theme ─── */
|
||||
@theme inline {
|
||||
/* Colors */
|
||||
--color-surface: var(--surface);
|
||||
--color-surface-dim: var(--surface-dim);
|
||||
--color-surface-bright: var(--surface-bright);
|
||||
--color-surface-container-lowest: var(--surface-container-lowest);
|
||||
--color-surface-container-low: var(--surface-container-low);
|
||||
--color-surface-container: var(--surface-container);
|
||||
--color-surface-container-high: var(--surface-container-high);
|
||||
--color-surface-container-highest: var(--surface-container-highest);
|
||||
--color-on-surface: var(--on-surface);
|
||||
--color-on-surface-variant: var(--on-surface-variant);
|
||||
--color-inverse-surface: var(--inverse-surface);
|
||||
--color-inverse-on-surface: var(--inverse-on-surface);
|
||||
--color-outline: var(--outline);
|
||||
--color-outline-variant: var(--outline-variant);
|
||||
--color-surface-tint: var(--surface-tint);
|
||||
--color-primary: var(--primary);
|
||||
--color-on-primary: var(--on-primary);
|
||||
--color-primary-container: var(--primary-container);
|
||||
--color-on-primary-container: var(--on-primary-container);
|
||||
--color-inverse-primary: var(--inverse-primary);
|
||||
--color-secondary: var(--secondary);
|
||||
--color-on-secondary: var(--on-secondary);
|
||||
--color-secondary-container: var(--secondary-container);
|
||||
--color-on-secondary-container: var(--on-secondary-container);
|
||||
--color-tertiary: var(--tertiary);
|
||||
--color-on-tertiary: var(--on-tertiary);
|
||||
--color-tertiary-container: var(--tertiary-container);
|
||||
--color-on-tertiary-container: var(--on-tertiary-container);
|
||||
--color-error: var(--error);
|
||||
--color-on-error: var(--on-error);
|
||||
--color-error-container: var(--error-container);
|
||||
--color-on-error-container: var(--on-error-container);
|
||||
--color-primary-fixed: var(--primary-fixed);
|
||||
--color-primary-fixed-dim: var(--primary-fixed-dim);
|
||||
--color-on-primary-fixed: var(--on-primary-fixed);
|
||||
--color-on-primary-fixed-variant: var(--on-primary-fixed-variant);
|
||||
--color-secondary-fixed: var(--secondary-fixed);
|
||||
--color-secondary-fixed-dim: var(--secondary-fixed-dim);
|
||||
--color-on-secondary-fixed: var(--on-secondary-fixed);
|
||||
--color-on-secondary-fixed-variant: var(--on-secondary-fixed-variant);
|
||||
--color-tertiary-fixed: var(--tertiary-fixed);
|
||||
--color-tertiary-fixed-dim: var(--tertiary-fixed-dim);
|
||||
--color-on-tertiary-fixed: var(--on-tertiary-fixed);
|
||||
--color-on-tertiary-fixed-variant: var(--on-tertiary-fixed-variant);
|
||||
--color-background: var(--background);
|
||||
--color-on-background: var(--on-background);
|
||||
--color-surface-variant: var(--surface-variant);
|
||||
--color-brand-dark: var(--brand-dark);
|
||||
--color-brand-dark-surface: var(--brand-dark-surface);
|
||||
--color-brand-accent: var(--brand-accent);
|
||||
--color-brand-accent-light: var(--brand-accent-light);
|
||||
--color-brand-cream: var(--brand-cream);
|
||||
|
||||
/* Spacing */
|
||||
--spacing-stack-xs: 4px;
|
||||
--spacing-stack-sm: 8px;
|
||||
--spacing-stack-md: 16px;
|
||||
--spacing-stack-lg: 24px;
|
||||
--spacing-gutter: 16px;
|
||||
--spacing-margin-mobile: 16px;
|
||||
--spacing-margin-desktop: 32px;
|
||||
--spacing-container-max: 1280px;
|
||||
|
||||
/* Fonts */
|
||||
--font-display: "Hanken Grotesk", sans-serif;
|
||||
--font-body: "Inter", sans-serif;
|
||||
|
||||
/* Border radius */
|
||||
--radius-sm: 0.25rem;
|
||||
--radius-DEFAULT: 0.5rem;
|
||||
--radius-md: 0.75rem;
|
||||
--radius-lg: 1rem;
|
||||
--radius-xl: 1.5rem;
|
||||
--radius-2xl: 2rem;
|
||||
--radius-full: 9999px;
|
||||
}
|
||||
|
||||
/* ─── Base Styles ─── */
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--background);
|
||||
color: var(--on-surface);
|
||||
font-family: var(--font-body);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: var(--primary-container);
|
||||
color: var(--on-primary-container);
|
||||
}
|
||||
|
||||
/* ─── Typography Utility Classes ─── */
|
||||
.text-display {
|
||||
font-family: var(--font-display);
|
||||
font-size: 48px;
|
||||
font-weight: 800;
|
||||
line-height: 56px;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.text-headline-lg {
|
||||
font-family: var(--font-display);
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
line-height: 40px;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.text-headline-lg-mobile {
|
||||
font-family: var(--font-display);
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
.text-headline-md {
|
||||
font-family: var(--font-display);
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
.text-body-lg {
|
||||
font-family: var(--font-body);
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.text-body-md {
|
||||
font-family: var(--font-body);
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.text-body-sm {
|
||||
font-family: var(--font-body);
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.text-label-md {
|
||||
font-family: var(--font-body);
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
line-height: 20px;
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
.text-label-sm {
|
||||
font-family: var(--font-body);
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
line-height: 16px;
|
||||
letter-spacing: 0.03em;
|
||||
}
|
||||
|
||||
/* ─── Component Utilities ─── */
|
||||
.bento-card {
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
.bento-card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/* Material Symbols config */
|
||||
.material-symbols-outlined {
|
||||
font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
|
||||
}
|
||||
|
||||
/* ─── Responsive Typography ─── */
|
||||
@media (max-width: 768px) {
|
||||
.text-display {
|
||||
font-size: 36px;
|
||||
line-height: 44px;
|
||||
}
|
||||
|
||||
.text-headline-lg {
|
||||
font-size: 24px;
|
||||
line-height: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ─── Premium Custom Animations & Utilities ─── */
|
||||
@keyframes float {
|
||||
0%, 100% {
|
||||
transform: translateY(0px) rotate(0deg);
|
||||
}
|
||||
50% {
|
||||
transform: translateY(-8px) rotate(1deg);
|
||||
}
|
||||
}
|
||||
|
||||
.animate-float {
|
||||
animation: float 4s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse-subtle {
|
||||
0%, 100% {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
50% {
|
||||
opacity: 0.9;
|
||||
transform: scale(1.02);
|
||||
}
|
||||
}
|
||||
|
||||
.animate-pulse-subtle {
|
||||
animation: pulse-subtle 3s ease-in-out infinite;
|
||||
}
|
||||
|
||||
/* Smooth Curved Clip Paths */
|
||||
.curved-bottom-sm {
|
||||
clip-path: ellipse(120% 100% at 50% 0%);
|
||||
}
|
||||
|
||||
.curved-bottom-lg {
|
||||
clip-path: ellipse(150% 100% at 50% 0%);
|
||||
}
|
||||
|
||||
.curved-top-lg {
|
||||
clip-path: ellipse(150% 100% at 50% 100%);
|
||||
}
|
||||
|
||||
/* Glassmorphism */
|
||||
.glass-panel {
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
.glass-panel-dark {
|
||||
background: rgba(30, 6, 39, 0.7);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
/* Card hover states */
|
||||
.premium-card {
|
||||
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
}
|
||||
.premium-card:hover {
|
||||
transform: translateY(-6px) scale(1.01);
|
||||
box-shadow: 0 20px 35px -10px rgba(18, 2, 23, 0.15);
|
||||
}
|
||||
|
||||
.premium-card-dark {
|
||||
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
}
|
||||
.premium-card-dark:hover {
|
||||
transform: translateY(-6px) scale(1.01);
|
||||
box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.5);
|
||||
border-color: var(--brand-accent);
|
||||
}
|
||||
|
||||
/* Hero-only clipped background layers */
|
||||
@media (min-width: 768px) {
|
||||
.hero {
|
||||
position: relative;
|
||||
min-height: 760px;
|
||||
overflow: visible;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.hero-dark-panel {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
background:
|
||||
radial-gradient(circle at 62% 48%, rgba(108, 14, 128, 0.7), transparent 36%),
|
||||
radial-gradient(circle at 25% 38%, rgba(55, 0, 74, 0.62), transparent 34%),
|
||||
linear-gradient(135deg, #09000e 0%, #17001f 42%, #2c0038 70%, #0b0010 100%);
|
||||
clip-path: polygon(0 0, 94% 0, 56% 100%, 0 100%);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hero-dark-panel::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background:
|
||||
radial-gradient(circle at 68% 56%, rgba(222, 150, 249, 0.22), transparent 26%),
|
||||
linear-gradient(90deg, rgba(5, 0, 8, 0.34), transparent 48%, rgba(5, 0, 8, 0.12));
|
||||
opacity: 0.9;
|
||||
pointer-events: none;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.hero-bike {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
width: clamp(560px, 44vw, 760px);
|
||||
aspect-ratio: 1080 / 867;
|
||||
right: clamp(40px, 5vw, 100px);
|
||||
bottom: 70px;
|
||||
pointer-events: none;
|
||||
filter: none;
|
||||
animation: hero-bike-enter 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
||||
}
|
||||
|
||||
.hero-bike img {
|
||||
animation: hero-bike-float 5.5s ease-in-out 900ms infinite;
|
||||
}
|
||||
|
||||
.hero-map-layer {
|
||||
position: absolute;
|
||||
width: 86%;
|
||||
left: 2%;
|
||||
top: -1%;
|
||||
height: 610px;
|
||||
opacity: 0.72;
|
||||
z-index: 1;
|
||||
mix-blend-mode: screen;
|
||||
animation: hero-map-drift 18s ease-in-out infinite alternate;
|
||||
}
|
||||
|
||||
.hero-map-layer img {
|
||||
filter: sepia(1) saturate(4.6) hue-rotate(230deg) brightness(0.9) contrast(1.35)
|
||||
drop-shadow(0 0 22px rgba(189, 52, 254, 0.34));
|
||||
opacity: 0.95;
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
position: relative;
|
||||
z-index: 4;
|
||||
width: min(610px, 48vw);
|
||||
padding-top: 94px;
|
||||
animation: hero-copy-enter 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
||||
}
|
||||
|
||||
.hero-stage {
|
||||
padding-left: clamp(72px, 7.5vw, 150px);
|
||||
padding-right: clamp(32px, 4vw, 80px);
|
||||
min-height: 740px;
|
||||
}
|
||||
|
||||
.hero-cards {
|
||||
padding-left: clamp(72px, 7.5vw, 150px);
|
||||
padding-right: clamp(72px, 7.5vw, 150px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) and (max-width: 1099px) {
|
||||
.hero {
|
||||
min-height: 720px;
|
||||
}
|
||||
|
||||
.hero-dark-panel {
|
||||
width: 82%;
|
||||
clip-path: polygon(0 0, 100% 0, 58% 100%, 0 100%);
|
||||
}
|
||||
|
||||
.hero-bike {
|
||||
width: 500px;
|
||||
right: -72px;
|
||||
bottom: 86px;
|
||||
opacity: 0.92;
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
width: min(440px, 58vw);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.hero {
|
||||
position: relative;
|
||||
background: #120018;
|
||||
padding-bottom: 120px;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.hero-dark-panel {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: #120018;
|
||||
overflow: hidden;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.hero-map-layer {
|
||||
position: absolute;
|
||||
width: 120%;
|
||||
left: -10%;
|
||||
top: 5%;
|
||||
height: 380px; /* Explicit height on mobile */
|
||||
opacity: 0.3;
|
||||
z-index: 1;
|
||||
mix-blend-mode: screen;
|
||||
}
|
||||
|
||||
.hero-map-layer img {
|
||||
filter: sepia(1) saturate(4) hue-rotate(230deg) brightness(0.76) contrast(1.18);
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
width: 100%;
|
||||
padding-top: 60px;
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
|
||||
.hero-bike {
|
||||
position: relative;
|
||||
z-index: 5;
|
||||
width: 95%;
|
||||
max-width: 450px;
|
||||
margin: 20px auto 0 auto;
|
||||
pointer-events: none;
|
||||
filter: none; /* No filter tint */
|
||||
}
|
||||
}
|
||||
|
||||
/* Animated Route SVG Lines */
|
||||
@keyframes stroke-dash {
|
||||
to {
|
||||
stroke-dashoffset: -20;
|
||||
}
|
||||
}
|
||||
|
||||
.animate-route {
|
||||
animation: stroke-dash 2s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes hero-copy-enter {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(18px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes hero-bike-enter {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateX(34px) scale(0.98);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateX(0) scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes hero-bike-float {
|
||||
0%, 100% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
50% {
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes hero-map-drift {
|
||||
from {
|
||||
transform: translate3d(0, 0, 0) scale(1);
|
||||
}
|
||||
to {
|
||||
transform: translate3d(18px, -8px, 0) scale(1.03);
|
||||
}
|
||||
}
|
||||
103
src/app/layout.tsx
Normal file
103
src/app/layout.tsx
Normal file
@@ -0,0 +1,103 @@
|
||||
import type { Metadata, Viewport } from "next";
|
||||
import { Hanken_Grotesk, Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { Navbar } from "@/components/layout/Navbar";
|
||||
import { Footer } from "@/components/layout/Footer";
|
||||
|
||||
const hankenGrotesk = Hanken_Grotesk({
|
||||
subsets: ["latin"],
|
||||
weight: ["600", "700", "800"],
|
||||
variable: "--font-display",
|
||||
display: "swap",
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
subsets: ["latin"],
|
||||
weight: ["400", "600", "700"],
|
||||
variable: "--font-body",
|
||||
display: "swap",
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
metadataBase: new URL("https://nearle.in"),
|
||||
title: {
|
||||
default: "Nearle — Your Neighborhood, Delivered",
|
||||
template: "%s | Nearle",
|
||||
},
|
||||
description:
|
||||
"Hyper-local essentials, hot meals, and professional services from verified businesses within your 2km radius. India's #1 neighborhood commerce platform.",
|
||||
keywords: [
|
||||
"hyperlocal",
|
||||
"neighborhood delivery",
|
||||
"Coimbatore",
|
||||
"local grocery",
|
||||
"Nearle",
|
||||
"home services",
|
||||
"India delivery",
|
||||
"neighborhood commerce",
|
||||
],
|
||||
openGraph: {
|
||||
title: "Nearle — Your Neighborhood, Delivered",
|
||||
description:
|
||||
"Hyper-local essentials, hot meals, and professional services from verified businesses within your 2km radius.",
|
||||
url: "https://nearle.in",
|
||||
siteName: "Nearle",
|
||||
locale: "en_IN",
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
url: "/logo.png",
|
||||
width: 512,
|
||||
height: 512,
|
||||
alt: "Nearle logo",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary",
|
||||
title: "Nearle — Your Neighborhood, Delivered",
|
||||
description:
|
||||
"India's hyperlocal neighborhood commerce platform",
|
||||
images: ["/logo.png"],
|
||||
},
|
||||
alternates: { canonical: "/" },
|
||||
icons: {
|
||||
icon: "/favicon.ico",
|
||||
shortcut: "/favicon.ico",
|
||||
apple: "/apple-icon.png",
|
||||
},
|
||||
robots: { index: true, follow: true },
|
||||
};
|
||||
|
||||
export const viewport: Viewport = {
|
||||
themeColor: "#4d046a",
|
||||
width: "device-width",
|
||||
initialScale: 1,
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<html
|
||||
lang="en"
|
||||
className={`${hankenGrotesk.variable} ${inter.variable}`}
|
||||
suppressHydrationWarning
|
||||
>
|
||||
<head>
|
||||
{/* Material Symbols Outlined */}
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
</head>
|
||||
<body className="bg-background text-on-surface font-body antialiased" suppressHydrationWarning>
|
||||
<Navbar />
|
||||
<main>{children}</main>
|
||||
<Footer />
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
17
src/app/page.tsx
Normal file
17
src/app/page.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Hero } from "@/components/home/Hero";
|
||||
import { ServiceCategories } from "@/components/home/ServiceCategories";
|
||||
import { HyperlocalFeatures } from "@/components/home/HyperlocalFeatures";
|
||||
import { BusinessSection } from "@/components/home/BusinessSection";
|
||||
import { AppPromo } from "@/components/home/AppPromo";
|
||||
|
||||
export default function HomePage() {
|
||||
return (
|
||||
<>
|
||||
<Hero />
|
||||
<ServiceCategories />
|
||||
<HyperlocalFeatures />
|
||||
<BusinessSection />
|
||||
<AppPromo />
|
||||
</>
|
||||
);
|
||||
}
|
||||
17
src/app/people/page.tsx
Normal file
17
src/app/people/page.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
export default function PeoplePage() {
|
||||
return (
|
||||
<section className="min-h-[70vh] bg-surface px-margin-mobile md:px-margin-desktop py-24">
|
||||
<div className="mx-auto max-w-container-max text-center">
|
||||
<p className="text-label-sm font-black uppercase tracking-widest text-primary">
|
||||
Nearle for People
|
||||
</p>
|
||||
<h1 className="mt-4 font-display text-4xl font-black text-brand-dark md:text-6xl">
|
||||
Everything nearby, delivered.
|
||||
</h1>
|
||||
<p className="mx-auto mt-6 max-w-2xl text-body-lg text-on-surface-variant">
|
||||
Discover groceries, meals, essentials, and services from trusted local partners around you.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user