GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - codezelat/byow-static-site: Official website for BYOW, a subsidiary of Codezela Technologies

BranchesTags
Open more actions menu

Latest commit

 

History

180 Commits
180 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
public
public
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
eslint.config.mjs
eslint.config.mjs
 
 
next.config.ts
next.config.ts
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
postcss.config.mjs
postcss.config.mjs
 
 
tailwind.config.js
tailwind.config.js
 
 
tsconfig.json
tsconfig.json
 
 
vercel.json
vercel.json
 
 

Repository files navigation

BYOW Marketing Site

High-conversion marketing experience for Build-Your-Own-Website (BYOW). The project focuses on premium visuals, fast interactions, and carefully curated storytelling sections that highlight services, case studies, and conversion-focused CTAs.

Tech Stack

  • Next.js App Router (TypeScript) – hybrid rendering, metadata API, built-in routing
  • Tailwind CSS – utility-first design system
  • Framer Motion & Swiper – smooth animations and marquee experiences
  • Flowbite – accessible accordions in the services catalog
  • Next Image / Video – optimized media delivery with automatic sizing

Project Structure

app/
├── layout.tsx               # Root layout with background video + analytics
├── page.tsx                 # Home page (server component) composed from sections
├── about/page.tsx           # About narrative + shared CTA
├── product/page.tsx         # Interactive portfolio carousel
├── service/page.tsx         # Accordion driven services catalog
├── components/
│   ├── DisableScrollRestoration.tsx
│   ├── layout/
│   │   ├── BackgroundContent.tsx   # Header + Footer wrapper
│   │   ├── Footer.tsx
│   │   └── Header.tsx
│   └── sections/
│       ├── about/MiddleContainerAbout.tsx
│       ├── common/YourSuccessSection.tsx
│       ├── home/[…section files]   # Hero, pain points, industries, etc.
│       ├── product/[…project components]
│       └── service/[…service catalog + single view]
├── data/
│   ├── footerdata.ts
│   ├── product.ts
│   ├── servicedata.ts
│   └── servicesingledata.ts
└── types/
    └── product.ts

Key Practices

  • Server-first rendering. All static sections remain server components while interactive pieces opt-in to "use client", minimizing bundle size.
  • Scroll & animation safety. DisableScrollRestoration enforces predictable load behavior and hero animations respect prefers-reduced-motion.
  • Image hygiene. Every visual uses next/image with explicit sizes, preventing layout shifts and ensuring optimized delivery.
  • Reusable content blocks. Sections live under app/components/sections/<domain> keeping per-page concerns organized and discoverable.
  • Accessible motion + overlays. Mobile navigation, accordions, and popups manage focus, scrolling, and background locking for a11y.

Getting Started

  1. Install dependencies
    npm install
  2. Run the dev server
    npm run dev
    # visit http://localhost:3000
  3. Lint
    npm run lint
  4. Production build
    npm run build
    npm run start   # serve the build locally

Deployment

  • Build output lives under .next. Any Node-compatible host (Vercel, Netlify, Render, etc.) can run npm run build && npm run start.
  • The shared contact form sends enquiries through POST /api/contact using Resend. Configure these server-only environment variables in Vercel (Production and Preview) and in an ignored .env.local for local delivery tests:
    • RESEND_API_KEY: a Resend sending API key. Never prefix it with NEXT_PUBLIC_ or commit it.
    • CONTACT_FROM_EMAIL: a sender on the verified Resend domain, default BYOW Website <[email protected]>.
    • CONTACT_TO_EMAIL: the enquiry inbox, default [email protected].
  • The visitor's email is set as Reply-To. A success message appears only after Resend accepts the email; final delivery can be checked in Resend. The route validates input, rejects cross-origin submissions, limits request size, checks a honeypot, and uses Resend idempotency keys to avoid duplicate retries. The in-memory attempt limiter is best effort per server instance, not a distributed rate limit.

Contributing / Extending

  • Keep new sections co-located under app/components/sections/<page> for discoverability.
  • Favor server components until you need state, refs, or event listeners.
  • When adding motion, gate long-running animations with motion-safe: utilities or prefers-reduced-motion checks.
  • Always run npm run lint (and optionally npm run build) before opening a PR to catch hydration or type issues early.

About

Official website for BYOW, a subsidiary of Codezela Technologies

byow.lk

Topics

nextjs

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.