Skip to content

Commit c2ead88

Browse files
committed
add new website
1 parent 813eeaa commit c2ead88

File tree

15 files changed

+1246
-2
lines changed

15 files changed

+1246
-2
lines changed

.github/workflows/deploy-pages.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Deploy Website to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
paths: [ "website/**" ]
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: "pages"
16+
cancel-in-progress: false
17+
18+
jobs:
19+
deploy:
20+
environment:
21+
name: github-pages
22+
url: ${{ steps.deployment.outputs.page_url }}
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
28+
- name: Setup Pages
29+
uses: actions/configure-pages@v4
30+
31+
- name: Upload artifact
32+
uses: actions/upload-pages-artifact@v3
33+
with:
34+
path: './website'
35+
36+
- name: Deploy to GitHub Pages
37+
id: deployment
38+
uses: actions/deploy-pages@v4

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ connect: ## Connect to the production database
139139
docs: ## Run mintlify dev server for documentation
140140
@cd docs && npx mintlify dev
141141

142+
website: ## Serve the website locally on port 8000
143+
@cd website && python -m http.server 8000
144+
142145
redis-console-consumer: ## Read from redis stream <stream-key> [from-beginning]
143146
@./scripts/redis-console-consumer.sh $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
144147

@@ -147,7 +150,7 @@ e2e-gh-run: ## Trigger GitHub workflow run [BRANCH=<branch-name>] (defaults to c
147150
echo "Running workflow on branch: $$BRANCH"; \
148151
gh workflow run e2e-tests.yml --ref $$BRANCH; \
149152
sleep 3; \
150-
gh run watch $$(gh run list --workflow=e2e-tests.yml --limit 1 --json databaseId --jq '.[0].databaseId')
153+
gh run watch $$(gh run list --workflow=e2e-tests.yml --limit 1 --json databaseId --jq '.[0].databaseId')
151154

152155
e2e-up: ## Start e2e test environment containers
153156
cd priv/tests_e2e && docker compose up -d
@@ -180,4 +183,3 @@ e2e-clean: ## Remove e2e kafka container
180183

181184
e2e-logs: ## Show logs from e2e test environment containers
182185
cd priv/tests_e2e && docker compose logs -f
183-

website/404.html

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>404 - Page Not Found | Sequin</title>
7+
<link rel="icon" type="image/png" href="/favicon.png" />
8+
<link rel="stylesheet" href="/styles.css" />
9+
<style>
10+
.container {
11+
max-width: 800px;
12+
margin: 0 auto;
13+
padding: 2rem;
14+
min-height: 100vh;
15+
display: flex;
16+
flex-direction: column;
17+
justify-content: center;
18+
align-items: center;
19+
text-align: center;
20+
}
21+
.error-code {
22+
font-size: 4rem;
23+
font-weight: 700;
24+
color: #0277bd;
25+
margin-bottom: 1rem;
26+
}
27+
.error-message {
28+
font-size: 14px;
29+
color: #374151;
30+
margin-bottom: 2rem;
31+
}
32+
.ascii-art {
33+
font-family: monospace;
34+
font-size: 10px;
35+
line-height: 1;
36+
color: #6b7280;
37+
margin: 2rem 0;
38+
white-space: pre;
39+
}
40+
@media (max-width: 640px) {
41+
.ascii-art {
42+
font-size: 8px;
43+
}
44+
.error-code {
45+
font-size: 3rem;
46+
}
47+
}
48+
</style>
49+
</head>
50+
<body>
51+
<div class="container">
52+
<div class="error-code">404</div>
53+
54+
<h1
55+
class="section-header"
56+
style="text-decoration: none; margin-bottom: 0.5rem"
57+
>
58+
Page not found
59+
</h1>
60+
61+
<p class="error-message">
62+
The page you're looking for doesn't exist or has been moved.
63+
</p>
64+
65+
<div class="ascii-art">
66+
╔══════════════╗ ║ Database ║ ╚══════════════╝ │ │ WAL ▼
67+
╔════════════════╗ ║ Sequin ║ ║ (404 Error) ║ ╚════════════════╝
68+
│ │ redirect ▼ ╔══════════════╗ ║ Home ║ ╚══════════════╝
69+
</div>
70+
71+
<div
72+
style="
73+
display: flex;
74+
gap: 1rem;
75+
flex-wrap: wrap;
76+
justify-content: center;
77+
"
78+
>
79+
<a href="/" class="btn btn-primary">
80+
<span>← Home</span>
81+
</a>
82+
<a href="https://sequinstream.com/docs" class="btn btn-outline">
83+
<span>Documentation</span>
84+
</a>
85+
</div>
86+
</div>
87+
</body>
88+
</html>

website/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sequinstream.com

website/basic-diagram.svg

Lines changed: 14 additions & 0 deletions
Loading

website/favicon.png

343 Bytes
Loading

website/icons/cloud.svg

Lines changed: 3 additions & 0 deletions
Loading

website/icons/discord.svg

Lines changed: 3 additions & 0 deletions
Loading

website/icons/github-white.svg

Lines changed: 3 additions & 0 deletions
Loading

website/icons/github.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)