Skip to content
CodevenientLabPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Occusmart website

React 19 + Vite 8. Brand assets live in src/assets, content in src/data.

Run

npm install
npm run dev        # local development
npm run build      # production build in dist/
npm run preview    # serve the build locally

Where to edit things

What File
Phone, email, address, tagline src/data/site.js
Services, descriptions, icons src/data/services.js
Homepage title and search/social description src/data/seo.js
Homepage copy and sections src/pages/Home.jsx
Colours and type top of src/index.css (design tokens)
Contact form delivery .env (see below)

Contact form

Copy .env.example to .env and set VITE_FORM_ENDPOINT to a Formspree, Getform or Web3Forms URL. With no endpoint the form opens the visitor's email app with a pre-filled message, which works but is not as reliable as a form service.

Deploying

The site is a single page with in-page section navigation. The production build prerenders the homepage into dist/ with its SEO metadata; dist/404.html is the not-found fallback. public/_redirects covers Netlify and Cloudflare Pages, vercel.json covers Vercel, and .github/workflows/deploy.yml deploys to GitHub Pages.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages