Build New Optic website
This commit is contained in:
57
README.md
Normal file
57
README.md
Normal file
@@ -0,0 +1,57 @@
|
||||
# New Optic Website
|
||||
|
||||
Premium multilingual marketing website for New Optic, a trusted local optical shop in Temara, Morocco.
|
||||
|
||||
## Stack
|
||||
|
||||
- Next.js App Router
|
||||
- React
|
||||
- TypeScript
|
||||
- Tailwind CSS
|
||||
- Framer Motion
|
||||
|
||||
## Run Locally
|
||||
|
||||
```bash
|
||||
npm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Open `http://localhost:3000`.
|
||||
|
||||
## Production Build
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
npm run start
|
||||
```
|
||||
|
||||
For production Open Graph URLs, set:
|
||||
|
||||
```bash
|
||||
NEXT_PUBLIC_SITE_URL=https://your-domain.com
|
||||
```
|
||||
|
||||
## Editing Content
|
||||
|
||||
- Business/contact details: `config/business.ts`
|
||||
- French copy: `messages/fr.ts`
|
||||
- Arabic copy: `messages/ar.ts`
|
||||
- English copy: `messages/en.ts`
|
||||
- Assets: `public/assets/`
|
||||
|
||||
## Current Contact Data
|
||||
|
||||
- Phone: `05376-03279`
|
||||
- WhatsApp: `+212 662-872002`
|
||||
- Maps: `https://maps.app.goo.gl/LeuFER6h887Cp5aG9`
|
||||
|
||||
## QR Code
|
||||
|
||||
The map QR code is stored at:
|
||||
|
||||
```txt
|
||||
public/assets/new-optic-map-qr.svg
|
||||
```
|
||||
|
||||
Regenerate it after changing the map link.
|
||||
Reference in New Issue
Block a user