-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2e40f0c
commit 85410bf
Showing
35 changed files
with
337 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "app", | ||
"name": "atidylawn", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,176 +1,15 @@ | ||
"use client" | ||
import { Contact } from "@/views/includes/contact" | ||
|
||
import { Header } from "@/components/header" | ||
import { ContactForm } from "@/components/contact-form" | ||
import { ThemeProvider } from "@/components/theme-context" | ||
import { SERVICES, TEAM_MEMBERS, SITE_VERSION } from "@/lib/constants" | ||
import { GrapeIcon as Grass, Users, Info, Phone, Flower, TreesIcon as Tree, Droplet } from "lucide-react" | ||
import Image from "next/image" | ||
import { CustomCursor } from "@/components/custom-cursor" | ||
import { AIHelp } from "@/components/ai-help" | ||
import { MultiStepForm } from "@/components/multi-step-form" | ||
|
||
const icons = { | ||
grass: Grass, | ||
flower: Flower, | ||
tree: Tree, | ||
droplet: Droplet, | ||
} | ||
|
||
export default function Home() { | ||
return ( | ||
<ThemeProvider> | ||
<div className="min-h-screen bg-white dark:bg-gray-900 font-thin cursor-none"> | ||
<Header /> | ||
<CustomCursor /> | ||
<AIHelp /> | ||
|
||
{/* Hero Section */} | ||
<section className="pt-32 pb-16 px-4"> | ||
<div className="container mx-auto text-center"> | ||
<h1 className="text-5xl md:text-7xl font-thin mb-6 text-green-700 dark:text-green-400"> | ||
Your One-Stop Shop for Perfect Lawns | ||
</h1> | ||
<p className="text-xl md:text-2xl text-gray-600 dark:text-gray-300 max-w-3xl mx-auto"> | ||
Professional landscaping services, products, and expertise - all in one place. | ||
</p> | ||
</div> | ||
</section> | ||
|
||
{/* Services Section */} | ||
<section id="services" className="py-16 px-4 bg-gray-50 dark:bg-gray-800"> | ||
<div className="container mx-auto"> | ||
<h2 className="text-4xl font-thin text-center mb-12 text-green-700 dark:text-green-400">Our Services</h2> | ||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8"> | ||
{SERVICES.map((service) => { | ||
const Icon = icons[service.icon as keyof typeof icons] | ||
return ( | ||
<div | ||
key={service.id} | ||
className="p-6 bg-white dark:bg-gray-900 rounded-lg shadow-sm hover:shadow-md | ||
transition-shadow duration-300 border border-transparent hover:border-green-500 | ||
dark:hover:border-green-400" | ||
> | ||
<Icon className="h-12 w-12 text-green-600 dark:text-green-400 mb-4" /> | ||
<h3 className="text-xl font-thin mb-2">{service.title}</h3> | ||
<p className="text-gray-600 dark:text-gray-400 mb-4">{service.description}</p> | ||
<p className="text-green-600 dark:text-green-400">{service.price}</p> | ||
</div> | ||
) | ||
})} | ||
</div> | ||
</div> | ||
</section> | ||
|
||
{/* Team Section */} | ||
<section id="team" className="py-16 px-4"> | ||
<div className="container mx-auto"> | ||
<h2 className="text-4xl font-thin text-center mb-12 text-green-700 dark:text-green-400">Our Team</h2> | ||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | ||
{TEAM_MEMBERS.map((member) => ( | ||
<div | ||
key={member.id} | ||
className="text-center p-6 bg-white dark:bg-gray-900 rounded-lg shadow-sm hover:shadow-md | ||
transition-shadow duration-300" | ||
> | ||
<Image | ||
src={member.image || "/placeholder.svg"} | ||
alt={member.name} | ||
width={200} | ||
height={200} | ||
className="rounded-full mx-auto mb-4" | ||
/> | ||
<h3 className="text-xl font-thin mb-2">{member.name}</h3> | ||
<p className="text-green-600 dark:text-green-400 mb-2">{member.role}</p> | ||
<p className="text-gray-600 dark:text-gray-400">{member.bio}</p> | ||
</div> | ||
))} | ||
</div> | ||
</div> | ||
</section> | ||
|
||
{/* About Section */} | ||
<section id="about" className="py-16 px-4 bg-gray-50 dark:bg-gray-800"> | ||
<div className="container mx-auto"> | ||
<h2 className="text-4xl font-thin text-center mb-12 text-green-700 dark:text-green-400"> | ||
About A Tidy Lawn | ||
</h2> | ||
<div className="max-w-3xl mx-auto text-center"> | ||
<p className="text-gray-600 dark:text-gray-300 mb-6"> | ||
A Tidy Lawn is your comprehensive solution for all landscaping needs. We combine expertise, quality | ||
products, and professional service to transform your outdoor spaces into beautiful, sustainable | ||
environments. | ||
</p> | ||
<p className="text-gray-600 dark:text-gray-300"> | ||
Our team of experienced professionals is dedicated to providing exceptional service and maintaining the | ||
highest standards in the industry. | ||
</p> | ||
</div> | ||
</div> | ||
</section> | ||
export default function Home() { | ||
|
||
{/* Contact Section */} | ||
<section id="contact" className="py-16 px-4"> | ||
<div className="container mx-auto"> | ||
<h2 className="text-4xl font-thin text-center mb-12 text-green-700 dark:text-green-400">Get in Touch</h2> | ||
<MultiStepForm /> | ||
</div> | ||
</section> | ||
return ( | ||
<> | ||
<Contact/> | ||
|
||
{/* Footer */} | ||
<footer className="bg-gray-50 dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 py-12"> | ||
<div className="container mx-auto px-4"> | ||
<div className="grid grid-cols-1 md:grid-cols-4 gap-8"> | ||
<div> | ||
<h3 className="text-lg font-thin mb-4 text-green-700 dark:text-green-400">A Tidy Lawn</h3> | ||
<p className="text-gray-600 dark:text-gray-400"> | ||
Your one-stop destination for professional landscaping services and products. | ||
</p> | ||
</div> | ||
<div> | ||
<h3 className="text-lg font-thin mb-4 text-green-700 dark:text-green-400">Quick Links</h3> | ||
<ul className="space-y-2"> | ||
{["Services", "Team", "About", "Contact"].map((item) => ( | ||
<li key={item}> | ||
<a | ||
href={`#${item.toLowerCase()}`} | ||
className="text-gray-600 hover:text-green-600 dark:text-gray-400 | ||
dark:hover:text-green-400" | ||
> | ||
{item} | ||
</a> | ||
</li> | ||
))} | ||
</ul> | ||
</div> | ||
<div> | ||
<h3 className="text-lg font-thin mb-4 text-green-700 dark:text-green-400">Contact</h3> | ||
<ul className="space-y-2 text-gray-600 dark:text-gray-400"> | ||
<li>[email protected]</li> | ||
<li>1-800-TIDY-LAWN</li> | ||
<li>123 Garden Street</li> | ||
<li>Green City, ST 12345</li> | ||
</ul> | ||
</div> | ||
<div> | ||
<h3 className="text-lg font-thin mb-4 text-green-700 dark:text-green-400">Hours</h3> | ||
<ul className="space-y-2 text-gray-600 dark:text-gray-400"> | ||
<li>Monday - Friday: 8am - 6pm</li> | ||
<li>Saturday: 9am - 4pm</li> | ||
<li>Sunday: Closed</li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div className="mt-12 pt-8 border-t border-gray-200 dark:border-gray-700"> | ||
<div className="text-center text-gray-600 dark:text-gray-400 text-sm"> | ||
<p>© {new Date().getFullYear()} A Tidy Lawn. All rights reserved.</p> | ||
<p>Hosted by Desirable Solutions | Version {SITE_VERSION}</p> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
</div> | ||
</ThemeProvider> | ||
</> | ||
) | ||
} | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
app/src/components/contact-form.tsx → app/src/views/components/contact-form.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
export type HeroProps = Partial<{ | ||
title: string, | ||
subtitle: string, | ||
}> | ||
|
||
|
||
export const defaultProps: HeroProps = { | ||
title: 'Landscaping Services', | ||
subtitle: 'We provide professional landscaping services for residential and commercial properties.' | ||
} as const | ||
|
||
export function Hero(props: HeroProps) { | ||
|
||
const { title, subtitle } = props; | ||
|
||
return ( | ||
|
||
<section className="pt-32 pb-16 px-4"> | ||
<div className="container mx-auto text-center"> | ||
<h1 className="text-5xl md:text-7xl font-thin mb-6 text-green-700 dark:text-green-400"> | ||
{title ? title : defaultProps.title} | ||
</h1> | ||
<p className="text-xl md:text-2xl text-gray-600 dark:text-gray-300 max-w-3xl mx-auto"> | ||
{subtitle ? subtitle: defaultProps.subtitle} | ||
</p> | ||
</div> | ||
</section> | ||
) | ||
} | ||
|
||
Hero.defaultProps = defaultProps; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from "./hero" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/src/components/theme-context.tsx → app/src/views/components/theme-context.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/src/components/ui/input.tsx → app/src/views/components/ui/input.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.