Skip to content

Commit b42dfa0

Browse files
committed
site: add canonical SC website (site/ + announcements/)
1 parent fd8f69c commit b42dfa0

3 files changed

Lines changed: 84 additions & 0 deletions

File tree

.github/workflows/pages.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Deploy GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- "site/**"
8+
- ".github/workflows/pages.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+
deploy:
22+
runs-on: ubuntu-latest
23+
environment:
24+
name: github-pages
25+
url: ${{ steps.deployment.outputs.page_url }}
26+
steps:
27+
- uses: actions/checkout@v4
28+
29+
- name: Setup Pages
30+
uses: actions/configure-pages@v5
31+
32+
- name: Upload artifact
33+
uses: actions/upload-pages-artifact@v3
34+
with:
35+
path: site
36+
37+
- name: Deploy to GitHub Pages
38+
id: deployment
39+
uses: actions/deploy-pages@v4

site/announcements/index.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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">
6+
<title>Announcements · synaptic-canvas</title>
7+
<style>
8+
body { font-family: -apple-system, system-ui, sans-serif; max-width: 52rem; margin: 3rem auto; padding: 0 1.5rem; line-height: 1.6; color: #1a1a2e; }
9+
nav a { margin-right: 1rem; }
10+
</style>
11+
</head>
12+
<body>
13+
<nav><a href="../">&#8592; synaptic-canvas home</a></nav>
14+
<h1>Announcements</h1>
15+
<p>Press releases and release announcements for synaptic-canvas.</p>
16+
<ul>
17+
<!-- one <li> per release, added by the press-release workflow -->
18+
</ul>
19+
</body>
20+
</html>

site/index.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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">
6+
<title>synaptic-canvas · Synaptic Canvas</title>
7+
<style>
8+
body { font-family: -apple-system, system-ui, sans-serif; max-width: 52rem; margin: 3rem auto; padding: 0 1.5rem; line-height: 1.6; color: #1a1a2e; }
9+
nav a { margin-right: 1rem; }
10+
code { background: #f0f0f4; padding: 0.1rem 0.35rem; border-radius: 3px; }
11+
</style>
12+
</head>
13+
<body>
14+
<h1>synaptic-canvas</h1>
15+
<p>A <strong>Synaptic Canvas</strong> component.</p>
16+
<nav>
17+
<a href="/">Home</a>
18+
<a href="announcements/">Announcements</a>
19+
</nav>
20+
<main>
21+
<p>Repository: <a href="https://github.com/randlee/synaptic-canvas">github.com/randlee/synaptic-canvas</a></p>
22+
<p>Engineering documentation lives in the repository's <code>docs/</code> directory.</p>
23+
</main>
24+
</body>
25+
</html>

0 commit comments

Comments
 (0)