Skip to content

Commit 99b214f

Browse files
authored
Merge pull request #199 from CodeForPhilly/website-first-draft
Website first draft
2 parents da30c3a + 8631de3 commit 99b214f

38 files changed

+6048
-0
lines changed

website/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# build output
2+
dist/
3+
# generated types
4+
.astro/
5+
6+
# dependencies
7+
node_modules/
8+
9+
# logs
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
pnpm-debug.log*
14+
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store
22+
23+
# jetbrains setting folder
24+
.idea/

website/.vscode/extensions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"recommendations": ["astro-build.astro-vscode"],
3+
"unwantedRecommendations": []
4+
}

website/.vscode/launch.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"command": "./node_modules/.bin/astro dev",
6+
"name": "Development server",
7+
"request": "launch",
8+
"type": "node-terminal"
9+
}
10+
]
11+
}

website/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# BDT Website
2+
3+
A website that presents BDT to stakeholders
4+
5+
## Technology
6+
7+
The BDT website is built with Astro, a JavaScript framework that functions as a static site generator. Content for the docs pages is written in Markdown. The site will be deployed on GitHub Pages.
8+
9+
## Editing the Site’s Content
10+
11+
Assets for the site including copy text and images can be contributed via the design document in Figma. Assets can be directly updated by editing the files in `src/assets`.
12+
13+
## Get Started
14+
15+
`cd website`
16+
`npm i`
17+
`npm run dev`

website/astro.config.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// @ts-check
2+
import { defineConfig } from "astro/config";
3+
import tailwindcss from "@tailwindcss/vite";
4+
5+
// https://astro.build/config
6+
export default defineConfig({ vite: { plugins: [tailwindcss()] } });

0 commit comments

Comments
 (0)