Skip to content

Commit 5f50bca

Browse files
committed
Initial working version of the website
1 parent c6a7fe6 commit 5f50bca

60 files changed

Lines changed: 1683 additions & 546 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 48 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,64 @@
1-
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
1+
# Next Landing
22

3-
## Getting Started
3+
This is a landing page project built with Next.js, designed to provide small
4+
businesses with a clean and professional online presence. The landing page is
5+
easily customizable and can be configured using YAML files, making it simple to
6+
update and maintain.
47

5-
First, run the development server:
8+
Next.js is a powerful framework that offers many advantages, including easy
9+
setup, optimized performance, built-in SEO support, and high customizability
10+
and extensibility. Additionally, the landing page uses static site generation,
11+
resulting in faster load times, improved SEO, and reduced server load.
12+
13+
We believe this landing page project will be a valuable asset for small
14+
businesses seeking to establish an online presence.
15+
16+
17+
## Project Setup
18+
19+
1. Clone the repository.
20+
2. Install dependencies by running `npm install`.
21+
3. Configure the title and metatags of the website using the
22+
`/config/config.yaml` file.
23+
4. Configure the menu with the `/config/menu.yaml` file.
24+
5. Configure the content of the sections of the landing page by editing the
25+
YAML files inside the `/data` directory.
26+
27+
28+
## Running Locally
29+
30+
To run the development version of the landing page locally, use the following
31+
command:
632

733
```bash
834
npm run dev
9-
# or
10-
yarn dev
11-
# or
12-
pnpm dev
1335
```
1436

15-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
16-
17-
You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.
18-
19-
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.
37+
This will start the development server at `http://localhost:3000/`.
2038

21-
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
39+
To run the production version of the landing page locally, use the following
40+
commands:
2241

23-
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
42+
```bash
43+
npm run build
44+
npm run start
45+
```
2446

25-
## Learn More
47+
This will build the production version of the landing page and start the server
48+
at `http://localhost:3000/`.
2649

27-
To learn more about Next.js, take a look at the following resources:
2850

29-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
30-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
51+
## Deploying to Vercel
3152

32-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
53+
To deploy the landing page to Vercel, follow these steps:
3354

34-
## Deploy on Vercel
55+
1. Create an account on Vercel.
56+
2. Install the Vercel CLI by running `npm install -g vercel`.
57+
3. Run `vercel login` and follow the prompts to authenticate your account.
58+
4. Run `vercel` to deploy the project to Vercel.
59+
5. Follow the prompts to configure your deployment settings.
3560

36-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
61+
Once the deployment is complete, your landing page will be live at the URL
62+
provided by Vercel.
3763

38-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
64+
Thank you for choosing this landing page project!

config/config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
title: "Clarity Optics"
2+
description: >
3+
Our store is all about helping customers see the world with perfect clarity.
4+
From prescription glasses and contact lenses to sunglasses and sports
5+
goggles, we have everything you need to enhance your vision and protect your
6+
eyes.

config/menu.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
- name: "History"
2+
link: "#history"
3+
4+
- name: "About"
5+
link: "#about"
6+
7+
- name: "Services"
8+
link: "#services"

data/about.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
pretitle: "Your Vision is Our Priority"
2+
title: "About Clarity Optics"
3+
text: >
4+
At Clarity Optics, we believe that clear, healthy vision is essential to
5+
living your best life. That's why we've built our practice around providing
6+
exceptional eye care services and high-quality eyewear to our community.
7+
8+
image: "/assets/images/about-bud-helisson.png"
9+
10+
brands:
11+
title: "Our Trusted Partners in Vision"
12+
items:
13+
- name: "Moscot Logo"
14+
image: "/assets/images/about-moscot.png"
15+
16+
- name: "Oliver Peoples Logo"
17+
image: "/assets/images/about-oliver-peoples.png"
18+
19+
- name: "raiban Logo"
20+
image: "/assets/images/about-raiban.png"
21+
22+
- name: "Tom Ford Logo"
23+
image: "/assets/images/about-tom-ford.png"

data/footer.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
menu:
2+
title: "Menu"
3+
items:
4+
- name: "History"
5+
link: "#history"
6+
7+
- name: "About"
8+
link: "#about"
9+
10+
- name: "Services"
11+
link: "#services"
12+
13+
hours:
14+
title: "Hours"
15+
items:
16+
- name: "Monday-Friday<br/>9:30-12:30 and 14:30-18:30"
17+
- name: "Saturday<br/>9:30-17:30"
18+
19+
location:
20+
title: "Location"
21+
items:
22+
- name: "2932 Pleasant Hill Rd, Kissimmee, Florida"
23+
24+
- name: "Open with Google Maps →"
25+
link: "https://goo.gl/maps/ZGYU7TiV3TK7Uitc6"
26+
newWindow: true
27+
28+
copyright:
29+
items:
30+
- name: "Copyright © 2023 Clarity Optics. All rights reserved."
31+
32+
- name: "Next.JS Theme by Iago Bozza."
33+
link: "https://github.com/writeonlycode/next-landing"
34+
newWindow: true
35+
36+
- name: "Original Design by Michael Martinelli."
37+
link: "https://www.figma.com/community/file/1079464538758466856"
38+
newWindow: true

data/hero.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
title: "Clarity Optics"
2+
lead: "Enhancing your vision and your life"
3+
backgroundImage: "/assets/images/hero-verticz-squencz.png"

data/history.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
pretitle: "Discover the Power of Perfect Vision"
2+
title: "Enhancing Your Life Through Vision"
3+
text: >
4+
Established in 2005, Clarity Optics has been providing premium eye care
5+
services and high-quality eyewear to the local community for over 15 years.
6+
With a team of experienced optometrists and opticians, we offer comprehensive
7+
eye exams, personalized fittings, and a wide selection of frames and lenses
8+
to help our customers see clearly and feel confident in their glasses.
9+
10+
image: "/assets/images/history-jaron-nix.png"

data/services.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
pretitle: "Comprehensive Eye Care"
2+
title: "Our Services"
3+
text: >
4+
At Clarity Optics, we offer a wide range of services to help you achieve and
5+
maintain optimal eye health and vision. Our experienced optometrists and
6+
opticians provide comprehensive eye exams, personalized fittings, and a wide
7+
selection of frames and lenses to suit your needs and preferences.
8+
9+
image: "/assets/images/services-david-travis.png"

0 commit comments

Comments
 (0)