Skip to content

Commit 820cfeb

Browse files
authored
Merge pull request #1 from ShubhamPandeycreate/feat/website-landing-page
Add marketing landing page (website/) + GitHub Pages deploy
2 parents d7a5c2e + 7cc3a94 commit 820cfeb

32 files changed

Lines changed: 5554 additions & 1 deletion
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Deploy website to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- 'website/**'
8+
- '.github/workflows/deploy-website.yml'
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
concurrency:
17+
group: pages
18+
cancel-in-progress: true
19+
20+
jobs:
21+
build:
22+
runs-on: ubuntu-latest
23+
defaults:
24+
run:
25+
working-directory: website
26+
steps:
27+
- uses: actions/checkout@v4
28+
29+
- uses: actions/setup-node@v4
30+
with:
31+
node-version: 20
32+
cache: npm
33+
cache-dependency-path: website/package-lock.json
34+
35+
- run: npm ci
36+
37+
- run: npm run typecheck
38+
39+
# repository.name keeps the base exact-case (/Sp.End/) — Pages paths are
40+
# case-sensitive, and this survives forks and renames.
41+
- run: npm run build -- --base=/${{ github.event.repository.name }}/
42+
43+
- uses: actions/configure-pages@v5
44+
45+
- uses: actions/upload-pages-artifact@v3
46+
with:
47+
path: website/dist
48+
49+
deploy:
50+
needs: build
51+
runs-on: ubuntu-latest
52+
environment:
53+
name: github-pages
54+
url: ${{ steps.deployment.outputs.page_url }}
55+
steps:
56+
- id: deployment
57+
uses: actions/deploy-pages@v4

‎README.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,18 @@ Download the latest Android APK or view the release notes here:
9090

9191
---
9292

93+
## 🌐 Landing Page
94+
95+
The marketing site lives in [`website/`](website/) — a standalone Vite + React build with a
96+
three.js/GSAP hero. It deploys to GitHub Pages automatically: **https://peexr.github.io/Sp.End/**
97+
98+
```bash
99+
cd website
100+
npm install
101+
npm run dev # http://localhost:5174
102+
```
103+
104+
---
105+
93106

94107
Developed with ❤️ by [Adarsh](https://github.com/AdarshhCodes) and [Debojeet](https://github.com/PEEXR)

‎eslint.config.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import reactRefresh from 'eslint-plugin-react-refresh';
55
import tseslint from 'typescript-eslint';
66

77
export default tseslint.config(
8-
{ ignores: ['dist'] },
8+
{ ignores: ['dist', 'website'] },
99
{
1010
extends: [js.configs.recommended, ...tseslint.configs.recommended],
1111
files: ['**/*.{ts,tsx}'],

‎website/index.html‎

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!doctype html>
2+
<html lang="en" class="dark">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<style>
7+
html {
8+
background: #051410;
9+
}
10+
</style>
11+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
12+
<title>SP.End — Spend smart, save more</title>
13+
<meta
14+
name="description"
15+
content="SP.End scores every purchase you make — starting at a perfect 100 and holding you to it. AI receipt scanning, Needs vs Wants, strategic goals and a downloadable certificate of financial excellence."
16+
/>
17+
<meta name="theme-color" content="#051410" />
18+
<link rel="canonical" href="https://peexr.github.io/Sp.End/" />
19+
20+
<meta property="og:type" content="website" />
21+
<meta property="og:url" content="https://peexr.github.io/Sp.End/" />
22+
<meta property="og:title" content="SP.End — Spend smart, save more" />
23+
<meta
24+
property="og:description"
25+
content="Prestige-grade personal finance. Every purchase scored, every habit accounted for, every badge earned."
26+
/>
27+
<meta property="og:image" content="https://opengraph.githubassets.com/1/PEEXR/Sp.End" />
28+
<meta name="twitter:card" content="summary_large_image" />
29+
<meta name="twitter:title" content="SP.End — Spend smart, save more" />
30+
<meta
31+
name="twitter:description"
32+
content="Prestige-grade personal finance. Every purchase scored, every badge earned."
33+
/>
34+
<meta name="twitter:image" content="https://opengraph.githubassets.com/1/PEEXR/Sp.End" />
35+
</head>
36+
<body>
37+
<div id="root"></div>
38+
<script type="module" src="/src/main.tsx"></script>
39+
</body>
40+
</html>

0 commit comments

Comments
 (0)