diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 17ec0d8..02345a6 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -14,3 +14,7 @@ Please ensure the following before submitting your PR: ## Screenshots (if applicable) + +## Closes + + diff --git a/app/(main)/components/HeroPage.tsx b/app/(main)/components/HeroPage.tsx new file mode 100644 index 0000000..19af0b6 --- /dev/null +++ b/app/(main)/components/HeroPage.tsx @@ -0,0 +1,74 @@ +import Link from "next/link"; +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "Home", + description: "StellarAid — Empowering communities through technology", +}; + +const HeroPage = () => { + return ( +
+ {/* Foreground content sits above the canvas */} +
+ {/* Heading */} +

+ Know that your donation +
+ is making a difference +

+ + {/* Sub-copy */} +

+ StellarAid uses blockchain transparency to prove every single project + you fund, complete with verification and real-time impact tracking. +

+ + {/* CTA Buttons */} +
+ + Donate Now + + + Learn More + +
+ + {/* Stats Card — frosted glass so particles show through */} +
+
+ $2.4M + + Donated + +
+
+
+ + 12.5K + + + Projects + +
+
+
+ 89K + + Donors + +
+
+
+
+ ); +}; + +export default HeroPage; diff --git a/app/(main)/components/WhyChooseUs.tsx b/app/(main)/components/WhyChooseUs.tsx index 16c8857..70c37bf 100644 --- a/app/(main)/components/WhyChooseUs.tsx +++ b/app/(main)/components/WhyChooseUs.tsx @@ -40,7 +40,7 @@ const WhyChooseUs: React.FC = () => { {features.map((feature, index) => (
diff --git a/app/(main)/page.tsx b/app/(main)/page.tsx index 01cd616..0594c68 100644 --- a/app/(main)/page.tsx +++ b/app/(main)/page.tsx @@ -1,71 +1,12 @@ -import type { Metadata } from "next"; -import Link from "next/link"; import { WhyChooseUs } from "./components/WhyChooseUs"; import Footer from "./components/Footer"; - - -export const metadata: Metadata = { - title: "Home", - description: "StellarAid — Empowering communities through technology", -}; +import HeroPage from "./components/HeroPage"; export default function HomePage() { return (
{/* ── Hero ─────────────────────────────────────────────────────── */} -
- - {/* Foreground content sits above the canvas */} -
- {/* Heading */} -

- Know that your donation -
- is making a difference -

- - {/* Sub-copy */} -

- StellarAid uses blockchain transparency to prove every single project you fund, - complete with verification and real-time impact tracking. -

- - {/* CTA Buttons */} -
- - Donate Now - - - Learn More - -
- - {/* Stats Card — frosted glass so particles show through */} -
-
- $2.4M - Donated -
-
-
- 12.5K - Projects -
-
-
- 89K - Donors -
-
-
-
+
diff --git a/package-lock.json b/package-lock.json index 28b9182..56e0809 100644 --- a/package-lock.json +++ b/package-lock.json @@ -940,7 +940,6 @@ "integrity": "sha512-z9VXpC7MWrhfWipitjNdgCauoMLRdIILQsAEV+ZesIzBq/oUlxk0m3ApZuMFCXdnS4U7KrI+l3WRUEGQ8K1QKw==", "devOptional": true, "license": "MIT", - "peer": true, "dependencies": { "@types/prop-types": "*", "csstype": "^3.2.2" @@ -1385,7 +1384,6 @@ "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==", "dev": true, "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -1879,7 +1877,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "baseline-browser-mapping": "^2.9.0", "caniuse-lite": "^1.0.30001759", @@ -2612,7 +2609,6 @@ "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", @@ -2781,7 +2777,6 @@ "integrity": "sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@rtsao/scc": "^1.1.0", "array-includes": "^3.1.9", @@ -5253,7 +5248,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", @@ -5470,7 +5464,6 @@ "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", "license": "MIT", - "peer": true, "dependencies": { "loose-envify": "^1.1.0" }, @@ -5483,7 +5476,6 @@ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", "license": "MIT", - "peer": true, "dependencies": { "loose-envify": "^1.1.0", "scheduler": "^0.23.2" @@ -5497,7 +5489,6 @@ "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.71.2.tgz", "integrity": "sha512-1CHvcDYzuRUNOflt4MOq3ZM46AronNJtQ1S7tnX6YN4y72qhgiUItpacZUAQ0TyWYci3yz1X+rXaSxiuEm86PA==", "license": "MIT", - "peer": true, "engines": { "node": ">=18.0.0" }, @@ -6467,7 +6458,6 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -6669,7 +6659,6 @@ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "dev": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver"