Skip to content

Commit 1c54e43

Browse files
committed
Add Barbacane commercial website
- Astro + Tailwind CSS setup with light/dark theme support - Homepage with hero, features, use cases, and CTA sections - Services page with consulting, pro support, and training offerings - Trademark policy page - GitHub Pages deployment workflow with custom domain (barbacane.dev)
1 parent e00a4dc commit 1c54e43

17 files changed

Lines changed: 7326 additions & 2 deletions

.github/workflows/deploy.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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+
concurrency:
14+
group: pages
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Setup Node
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: 20
28+
cache: npm
29+
30+
- name: Setup Pages
31+
uses: actions/configure-pages@v4
32+
33+
- name: Install dependencies
34+
run: npm ci
35+
36+
- name: Build with Astro
37+
run: npm run build
38+
39+
- name: Upload artifact
40+
uses: actions/upload-pages-artifact@v3
41+
with:
42+
path: ./dist
43+
44+
deploy:
45+
environment:
46+
name: github-pages
47+
url: ${{ steps.deployment.outputs.page_url }}
48+
runs-on: ubuntu-latest
49+
needs: build
50+
steps:
51+
- name: Deploy to GitHub Pages
52+
id: deployment
53+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Dependencies
2+
node_modules/
3+
4+
# Build output
5+
dist/
6+
7+
# Astro
8+
.astro/
9+
10+
# Environment
11+
.env
12+
.env.*
13+
!.env.example
14+
15+
# IDE
16+
.vscode/
17+
.idea/
18+
*.swp
19+
*.swo
20+
.DS_Store
21+
22+
# Logs
23+
*.log
24+
npm-debug.log*
25+
26+
# TypeScript
27+
*.tsbuildinfo

README.md

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,43 @@
1-
# website
2-
Barbacane commercial website
1+
# Barbacane Website
2+
3+
The commercial website for [Barbacane](https://github.com/barbacane-dev/barbacane) - the spec-driven API gateway.
4+
5+
## Development
6+
7+
```bash
8+
# Install dependencies
9+
npm install
10+
11+
# Start dev server
12+
npm run dev
13+
14+
# Build for production
15+
npm run build
16+
17+
# Preview production build
18+
npm run preview
19+
```
20+
21+
## Stack
22+
23+
- [Astro](https://astro.build/) - Static site generator
24+
- [Tailwind CSS](https://tailwindcss.com/) - Styling
25+
- [TypeScript](https://www.typescriptlang.org/) - Type safety
26+
27+
## Structure
28+
29+
```
30+
src/
31+
├── components/ # Reusable components
32+
├── layouts/ # Page layouts
33+
├── pages/ # Routes
34+
│ ├── index.astro # Homepage
35+
│ ├── pricing.astro # Services & pricing
36+
│ └── trademarks.astro # Trademark policy
37+
└── styles/ # Global styles
38+
public/ # Static assets
39+
```
40+
41+
## License
42+
43+
Apache-2.0

astro.config.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { defineConfig } from 'astro/config';
2+
import tailwind from '@astrojs/tailwind';
3+
4+
export default defineConfig({
5+
integrations: [tailwind()],
6+
site: 'https://barbacane.dev',
7+
});

0 commit comments

Comments
 (0)