Skip to content

Commit 6cae5e8

Browse files
committed
workflow and words
1 parent f23d802 commit 6cae5e8

File tree

6 files changed

+90
-19
lines changed

6 files changed

+90
-19
lines changed

.github/workflows/deploy.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: '20'
24+
cache: 'npm'
25+
26+
- name: Install dependencies
27+
run: npm ci
28+
29+
- name: Build
30+
run: npm run build
31+
32+
- name: Upload artifact
33+
uses: actions/upload-pages-artifact@v3
34+
with:
35+
path: './dist'
36+
37+
deploy:
38+
environment:
39+
name: github-pages
40+
url: ${{ steps.deployment.outputs.page_url }}
41+
runs-on: ubuntu-latest
42+
needs: build
43+
steps:
44+
- name: Deploy to GitHub Pages
45+
id: deployment
46+
uses: actions/deploy-pages@v4

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "pawtograder-site",
33
"private": true,
44
"version": "0.0.0",
5+
"homepage": "https://pawtograder.github.io/site",
56
"type": "module",
67
"scripts": {
78
"dev": "vite",

src/App.css

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -364,16 +364,44 @@ html {
364364
}
365365

366366
.demo-container {
367-
max-width: 1200px;
367+
max-width: 800px;
368368
margin: 0 auto;
369369
}
370370

371-
.demo-placeholder {
372-
background: #1a365d;
373-
border: 2px dashed #60a5fa;
371+
.demo-content {
372+
background: rgba(255, 255, 255, 0.1);
374373
border-radius: 12px;
375-
padding: 4rem;
376-
color: #fff;
374+
padding: 3rem;
375+
backdrop-filter: blur(10px);
376+
text-align: center;
377+
}
378+
379+
.demo-content p {
380+
color: #e2e8f0;
381+
font-size: 1.2rem;
382+
margin-bottom: 2rem;
383+
}
384+
385+
.demo-cta {
386+
margin-top: 2rem;
387+
}
388+
389+
.demo-cta-button {
390+
display: inline-block;
391+
padding: 1rem 2.5rem;
392+
font-size: 1.2rem;
393+
background-color: #1b7e36;
394+
color: white;
395+
text-decoration: none;
396+
border-radius: 8px;
397+
font-weight: 600;
398+
transition: transform 0.2s, box-shadow 0.2s;
399+
}
400+
401+
.demo-cta-button:hover {
402+
transform: translateY(-2px);
403+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
404+
background-color: #16632d;
377405
}
378406

379407
/* Open Source Section */

src/App.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,17 @@ const App: React.FC = () => {
101101
</div>
102102
</section>
103103

104-
{/* <section className="section demo">
104+
<section className="section demo" id="demo">
105105
<h2>See it in action</h2>
106106
<div className="demo-container">
107-
<div className="demo-placeholder">
108-
<p>Interactive Demo Coming Soon</p>
107+
<div className="demo-content">
108+
<p>Want to see Pawtograder in action? We'd love to show you around!</p>
109+
<div className="demo-cta">
110+
<a href="mailto:hello@pawtograder.com?subject=Pawtograder%20Demo%20Account%20Request" className="demo-cta-button">Request a demo account</a>
111+
</div>
109112
</div>
110113
</div>
111-
</section> */}
112-
114+
</section>
113115
<section className="section open-source" id="open-source">
114116
<h2>Open Source & Community</h2>
115117
<div className="community-content">

src/data.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ import { NavLink, Feature, Audience, Stat, FooterSection } from './types';
33
export const navLinks: NavLink[] = [
44
{ href: '#features', label: 'Features' },
55
{ href: '#who-its-for', label: 'Who it\'s for' },
6-
{ href: 'https://docs.pawtograder.com', label: 'Docs' },
6+
{ href: '#demo', label: 'Demo' },
77
{ href: '#open-source', label: 'Open Source' },
8+
{ href: 'https://docs.pawtograder.com', label: 'Docs' },
89
];
910

1011
export const features: Feature[] = [

vite.config.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)