diff --git a/suncityla/app/components/Footer.tsx b/suncityla/app/components/Footer.tsx
new file mode 100644
index 0000000..58ce14a
--- /dev/null
+++ b/suncityla/app/components/Footer.tsx
@@ -0,0 +1,74 @@
+import Link from "next/link";
+
+export default function Footer(){
+ return(
+
+ v52-tier3-team-35
+
+
+
+
Useful Links
+
+
+
+ Home
+
+
+
+
+ About
+
+
+
+
+ Book Now
+
+
+
+
+ Admin Login
+
+
+
+
+
+
+
+ )
+}
\ No newline at end of file
diff --git a/suncityla/app/components/Hero.tsx b/suncityla/app/components/Hero.tsx
new file mode 100644
index 0000000..f54c2e8
--- /dev/null
+++ b/suncityla/app/components/Hero.tsx
@@ -0,0 +1,20 @@
+import Link from "next/link";
+
+export default function Hero(){
+ return(
+
+
+
+
Join Los Angeles Move to Solar Power!
+
We’re helping LA set up solar energy.
+
This project provides a free service where a city-hired specialist evaluates the installation and maintenance costs of solar panels.
+
+ Book Now
+
+
+
+
+
+ )
+
+}
\ No newline at end of file
diff --git a/suncityla/app/components/How It Works/Card.tsx b/suncityla/app/components/How It Works/Card.tsx
new file mode 100644
index 0000000..5cb7f2b
--- /dev/null
+++ b/suncityla/app/components/How It Works/Card.tsx
@@ -0,0 +1,20 @@
+import Image from 'next/image';
+
+interface CardProps{
+ step: string;
+ howTo: string;
+ imageSrc:string;
+}
+export default function Card({
+ step,
+ howTo,
+ imageSrc
+}: CardProps){
+ return(
+
+ )
+}
\ No newline at end of file
diff --git a/suncityla/app/components/How It Works/HowItWorks.tsx b/suncityla/app/components/How It Works/HowItWorks.tsx
new file mode 100644
index 0000000..ba917d8
--- /dev/null
+++ b/suncityla/app/components/How It Works/HowItWorks.tsx
@@ -0,0 +1,14 @@
+import Card from "./Card";
+
+export default function HowItWorks(){
+ return(
+ <>
+ How It Works?
+
+
+
+
+
+ >
+ )
+}
\ No newline at end of file
diff --git a/suncityla/app/components/Navbar.tsx b/suncityla/app/components/Navbar.tsx
new file mode 100644
index 0000000..97ea9bf
--- /dev/null
+++ b/suncityla/app/components/Navbar.tsx
@@ -0,0 +1,18 @@
+import Link from "next/link";
+
+export default function Navbar() {
+ return(
+
+
+ SunCityLA
+
+
+ Home
+ About
+ Schedule an Evaluation
+ Admin Login
+ Support
+
+
+ )
+}
\ No newline at end of file
diff --git a/suncityla/app/globals.css b/suncityla/app/globals.css
index 6b717ad..3059168 100644
--- a/suncityla/app/globals.css
+++ b/suncityla/app/globals.css
@@ -1,21 +1,81 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
+@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700&display=swap');
:root {
- --background: #ffffff;
- --foreground: #171717;
+ --white: #ffffff;
+ --btn-background: #7F95D1;
+ --card-background: #F4F4F4;
+ --primary-color: #040403;
+ --secondary-color:#CBE896;
+ --heading-color: #16302B;
}
-@media (prefers-color-scheme: dark) {
- :root {
- --background: #0a0a0a;
- --foreground: #ededed;
- }
+body{
+ background-color: var(--white);
+ font-family: "Poppins", sans-serif;
}
-body {
- color: var(--foreground);
- background: var(--background);
- font-family: Arial, Helvetica, sans-serif;
+.hero-bg {
+ position: relative;
+ background-image: url("/hero.jpg");
+ background-size: cover;
+ background-repeat: no-repeat;
+ height: 85vh;
+ display: flex;
+ align-items: start;
+ justify-content: center;
+ padding: 40px 20px;
}
+
+.overlay {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background-color: rgba(0, 0, 0, 0.6); /* 45% black overlay */
+}
+
+.hero-content {
+ position: relative;
+ z-index: 2;
+}
+
+.hero-content h2{
+ color: #FFF648
+}
+
+.hero-content .bookingBtn{
+ background-color: var(--btn-background);
+}
+
+.heading{
+ color:var(--heading-color)
+}
+
+.card{
+ background-color: var(--card-background);
+ color: var(--primary-color);
+ width: 283px;
+ height: 380px;
+ border-radius: 10px;
+ display: flex;
+ flex-direction: column;
+ justify-content: flex-start;
+ align-items: center;
+}
+footer{
+ background-color: var(--btn-background);
+ color: var(--white);
+ padding:20px 80px ;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+}
+footer{
+ margin-top: 20px;
+ display: flex;
+}
\ No newline at end of file
diff --git a/suncityla/app/layout.tsx b/suncityla/app/layout.tsx
index 4d007ac..2c9065d 100644
--- a/suncityla/app/layout.tsx
+++ b/suncityla/app/layout.tsx
@@ -1,7 +1,7 @@
-import type { Metadata } from "next";
-import localFont from "next/font/local";
import "./globals.css";
-import Link from "next/link";
+import { Metadata } from "next";
+import localFont from "next/font/local";
+import Navbar from "./components/Navbar";
const geistSans = localFont({
src: "./fonts/GeistVF.woff",
@@ -15,8 +15,8 @@ const geistMono = localFont({
});
export const metadata: Metadata = {
- title: "Create Next App",
- description: "Generated by create next app",
+ title: "SunCityLA",
+ description: "We\’re helping LA set up solar energy.",
};
export default function RootLayout({
@@ -26,14 +26,8 @@ export default function RootLayout({
}>) {
return (
-
-
- Home
- Admins
- Bookings
-
+
+
{children}
diff --git a/suncityla/app/page.tsx b/suncityla/app/page.tsx
index f7f83fc..57ba392 100644
--- a/suncityla/app/page.tsx
+++ b/suncityla/app/page.tsx
@@ -1,101 +1,17 @@
-import Image from "next/image";
+import Footer from "./components/Footer";
+import Hero from "./components/Hero";
+import HowItWorks from "./components/How It Works/HowItWorks";
export default async function Home() {
return (
-
-
-
-
-
- Get started by editing{" "}
-
- app/page.tsx
-
- .
-
- Save and see your changes instantly.
-
-
-
-
-
-
+ <>
+
+
+ About
+ SunCityLA is project that provides a free service where a city-hired specialist evaluates the installation and maintenance costs of solar panels.
+
+
+
+ >
);
}
diff --git a/suncityla/package-lock.json b/suncityla/package-lock.json
index c598680..e04d2c0 100644
--- a/suncityla/package-lock.json
+++ b/suncityla/package-lock.json
@@ -1,11 +1,11 @@
{
- "name": "solar-friend",
+ "name": "suncityla",
"version": "0.1.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
- "name": "solar-friend",
+ "name": "suncityla",
"version": "0.1.0",
"hasInstallScript": true,
"dependencies": {
@@ -7022,6 +7022,10 @@
"url": "https://github.com/sponsors/isaacs"
}
},
+ "node_modules/suncityla": {
+ "resolved": "",
+ "link": true
+ },
"node_modules/supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
diff --git a/suncityla/package.json b/suncityla/package.json
index 929ff9d..48ce594 100644
--- a/suncityla/package.json
+++ b/suncityla/package.json
@@ -24,7 +24,7 @@
"prisma": "^5.22.0",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
- "solar-friend": "file:"
+ "suncityla": "file:"
},
"devDependencies": {
"@types/node": "^20",
diff --git a/suncityla/public/hero.jpg b/suncityla/public/hero.jpg
new file mode 100644
index 0000000..669939e
Binary files /dev/null and b/suncityla/public/hero.jpg differ
diff --git a/suncityla/public/step1.jpg b/suncityla/public/step1.jpg
new file mode 100644
index 0000000..6d67f74
Binary files /dev/null and b/suncityla/public/step1.jpg differ
diff --git a/suncityla/public/step2.jpg b/suncityla/public/step2.jpg
new file mode 100644
index 0000000..ba7e091
Binary files /dev/null and b/suncityla/public/step2.jpg differ
diff --git a/suncityla/public/step3.jpg b/suncityla/public/step3.jpg
new file mode 100644
index 0000000..45e785c
Binary files /dev/null and b/suncityla/public/step3.jpg differ