Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate site to Astro and GitHub Pages #142

Open
wants to merge 43 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
f1a3401
Update repo config
andrewiggins Dec 27, 2024
4beb8b4
Reformat code
andrewiggins Dec 28, 2024
339e316
Add trailing commas
andrewiggins Dec 28, 2024
b7e4fd5
Setup hello world vite site
andrewiggins Dec 28, 2024
1f75c87
Add basic markdown rendering for about-us page
andrewiggins Dec 28, 2024
e8615ad
Add layout, header, and footer
andrewiggins Dec 28, 2024
b41d904
Migrate all markdown pages
andrewiggins Dec 28, 2024
be93bd1
Set the title when rendering markdown pages
andrewiggins Dec 28, 2024
64665d0
Migrate PageLayout
andrewiggins Dec 28, 2024
8f100b1
Setup event route
andrewiggins Dec 28, 2024
92dd4c5
Upgrade Prettier
andrewiggins Dec 28, 2024
6d150db
Migrate to Astro
andrewiggins Dec 29, 2024
47df07c
Add homepage
andrewiggins Dec 29, 2024
224638e
Make query param switch a generic util
andrewiggins Dec 29, 2024
386a275
Decompose layouts a bit
andrewiggins Dec 29, 2024
f9a0828
Add talk pages
andrewiggins Dec 29, 2024
48b5929
Setup sharing metadata
andrewiggins Dec 29, 2024
041c7d0
Make TalkSocialCard and rename switch script
andrewiggins Dec 29, 2024
af42af4
Migrate conf workshops
andrewiggins Dec 30, 2024
981d66e
Rename TalkSocialCard to ConfSocialCard
andrewiggins Dec 30, 2024
353c3e3
Setup conf page and add lightning to talk titles
andrewiggins Dec 30, 2024
5af5c31
Add type checking for astro files
andrewiggins Dec 31, 2024
c69b5dd
Migrate live page
andrewiggins Dec 31, 2024
402682b
Fix index layout
andrewiggins Dec 31, 2024
b10c286
Fix some astro check issues
andrewiggins Dec 31, 2024
d67bede
Migrate live reactions
andrewiggins Jan 1, 2025
1a345e3
Remove customer io signup and webhooks
andrewiggins Jan 1, 2025
ea376bc
Remove preact patch
andrewiggins Jan 1, 2025
4e4d025
Move data types to data folder
andrewiggins Jan 1, 2025
7dcac24
Migrate organizer and speaker images
andrewiggins Jan 1, 2025
ee767a3
Remove testing code
andrewiggins Jan 2, 2025
a76c2d4
Add main workflow and format files
andrewiggins Jan 2, 2025
af39547
Add GH deploy workflow
andrewiggins Jan 2, 2025
88d5b8e
Update readme
andrewiggins Jan 2, 2025
c182dda
Simplify talk page a lil bit
andrewiggins Jan 3, 2025
314105f
Add importImage util
andrewiggins Jan 3, 2025
0b12f83
Import speaker images
andrewiggins Jan 3, 2025
2a46beb
Fix sponsor images on event page and others
andrewiggins Jan 3, 2025
3b52f75
Fix social link. Add Carrie's image
andrewiggins Jan 3, 2025
6ba0d23
Fix social card images
andrewiggins Jan 3, 2025
4883991
set loading attr on hero conf image
andrewiggins Jan 3, 2025
347069a
Format code
andrewiggins Jan 3, 2025
64249eb
Add note on how to format code
andrewiggins Jan 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[{package.json,package-lock.json,.*rc,*.yml,*.yaml}]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
6 changes: 0 additions & 6 deletions .env-example

This file was deleted.

1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/website-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ title: ''
labels: ''
assignees: ''
---

59 changes: 0 additions & 59 deletions .github/workflows/begin-deploy.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json

# Simple workflow for deploying static content to GitHub Pages
name: Deploy

on:
# Runs on pushes targeting the default branch
push:
branches: ['main']
paths:
- 'src/**/*'
- 'index.html'
- 'vite.config.js'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: 'pages'
cancel-in-progress: true

jobs:
build:
uses: ./.github/workflows/main.yml

deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Main CI

on:
pull_request:
branches:
- '**'
workflow_call:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: dist
143 changes: 139 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,143 @@
node_modules/
*.log
.astro
.DS_Store
public/static.json
src/shared/static.json
.env
tmp
.enhance
.enhance

##################################################
#
# Node .gitignore
#
##################################################

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.19.0
22.12.0
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist
10 changes: 9 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,13 @@
"singleQuote": true,
"semi": false,
"arrowParens": "avoid",
"trailingComma": "none"
"plugins": ["prettier-plugin-astro"],
"overrides": [
{
"files": "*.astro",
"options": {
"parser": "astro"
}
}
]
}
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["astro-build.astro-vscode"]
}
Loading
Loading