Skip to content

Commit ff8ccf6

Browse files
authored
Merge pull request #683 from AvdLee/new-website
Rebuild the website using Astro
2 parents a0c48a6 + ef1f899 commit ff8ccf6

File tree

144 files changed

+10085
-3075
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+10085
-3075
lines changed

.github/dependabot.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/docs"
5+
schedule:
6+
interval: "monthly"
7+
versioning-strategy: "increase"
8+
commit-message:
9+
prefix: ":package::mechanic: NPM deps: "
10+
labels:
11+
- dependabot
12+
groups:
13+
minor-and-patch:
14+
applies-to: version-updates
15+
patterns:
16+
- "*"
17+
update-types:
18+
- "minor"
19+
- "patch"

.github/workflows/deploy.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
# Trigger the workflow every time you push to the `main` branch
5+
# Using a different branch name? Replace `main` with your branch’s name
6+
push:
7+
branches: [ master ]
8+
# Allows you to run this workflow manually from the Actions tab on GitHub.
9+
workflow_dispatch:
10+
11+
# Allow this job to clone the repo and create a page deployment
12+
permissions:
13+
contents: read
14+
pages: write
15+
id-token: write
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout your repository using git
22+
uses: actions/checkout@v4
23+
- name: Install, build, and upload your site
24+
uses: withastro/action@v3
25+
with:
26+
path: docs
27+
28+
deploy:
29+
needs: build
30+
runs-on: ubuntu-latest
31+
environment:
32+
name: github-pages
33+
url: ${{ steps.deployment.outputs.page_url }}
34+
steps:
35+
- name: Deploy to GitHub Pages
36+
id: deployment
37+
uses: actions/deploy-pages@v4

.github/workflows/quality.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Quality
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- new-website
8+
paths:
9+
- docs/**
10+
pull_request:
11+
branches:
12+
- master
13+
- new-website
14+
paths:
15+
- docs/**
16+
17+
18+
jobs:
19+
quality:
20+
runs-on: ubuntu-latest
21+
defaults:
22+
run:
23+
working-directory: docs
24+
steps:
25+
- uses: actions/checkout@v3
26+
27+
- name: Setup Node
28+
uses: actions/setup-node@v3
29+
with:
30+
node-version: "22.x"
31+
cache: "npm"
32+
cache-dependency-path: docs/package-lock.json
33+
34+
- name: Install dependencies
35+
run: npm ci
36+
37+
- name: Build project
38+
run: npm run build
39+
40+
- name: Type check
41+
run: npm run typecheck
42+
43+
- name: Lint
44+
run: npm run lint
45+
46+
- name: Format check
47+
run: npm run format:check
48+
49+
- name: Detect unused files and dependencies
50+
run: npm run knip

docs/.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+
4+
# generated types
5+
.astro/
6+
7+
# dependencies
8+
node_modules/
9+
10+
# logs
11+
npm-debug.log*
12+
yarn-debug.log*
13+
yarn-error.log*
14+
pnpm-debug.log*
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store
22+
23+
# jetbrains setting folder
24+
.idea/

docs/.prettierrc.mjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/** @type {import("prettier").Config} */
2+
export default {
3+
plugins: ["prettier-plugin-astro"],
4+
overrides: [
5+
{
6+
files: "*.astro",
7+
options: {
8+
parser: "astro",
9+
},
10+
},
11+
],
12+
};

docs/Assets/RocketSim_Insights.png

-36.8 KB
Binary file not shown.
-486 KB
Binary file not shown.

docs/Assets/app_store_featured.svg

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

docs/Assets/app_store_rating.svg

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

docs/Assets/arrow-right.svg

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

0 commit comments

Comments
 (0)