-
Notifications
You must be signed in to change notification settings - Fork 8
Static site generator rewrite #17
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
Open
kevinkace
wants to merge
126
commits into
Local-Connectivity-Lab:main
Choose a base branch
from
kevinkace:svelte-ssg
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 71 commits
Commits
Show all changes
126 commits
Select commit
Hold shift + click to select a range
d5bc204
out with the old
kevinkace 384fa5f
in with the new
kevinkace d90c637
nav
kevinkace a7f8ebf
gh pages prep
kevinkace e75d825
move assets to static
kevinkace 98dce29
homepage
kevinkace d3277ef
header
kevinkace d2255ac
buh bye tailwind
kevinkace 074ceff
nav
kevinkace 3e9ff74
nav polish
kevinkace 9cac04e
nvmrc
kevinkace 28c6d63
nvmrc
kevinkace 577292e
carousel
kevinkace 6a412d3
fix nav borders
kevinkace 2b4294e
npm audit
kevinkace 846489b
get involved
kevinkace 1db1231
overview
kevinkace c10d3ef
calendar and partners
kevinkace 947886a
separate nav component
kevinkace 9cb9653
separate footer component
kevinkace 192f608
footer
kevinkace 6b0f2f2
spacing
kevinkace 9f2d400
wid button
kevinkace 5e3b512
spacing
kevinkace 6af1f92
consistent spaces
kevinkace bf5d671
cspell dictionary file
kevinkace f2c4fff
cspell dictionary file
kevinkace e958b9d
mobile nav
kevinkace 9e9c78d
consistent spaces
kevinkace 772e59d
move images around and favicon
kevinkace 84df5b6
mobile nav polish
kevinkace d25af29
mobile polish
kevinkace 7f99a47
page title and imp optimization
kevinkace 5de3051
page title component and full height content
kevinkace c8b29c4
about page
kevinkace 09d2c22
our sites page
kevinkace 746456b
donate
kevinkace dda3170
gh pages
kevinkace c200f09
updated workflow
kevinkace 3d1cf97
npm not pnpm
kevinkace 3d75489
npm not pnpm
kevinkace c7c1780
delete unused images
kevinkace bc3b0b6
remove unnecessary
kevinkace d6b410a
move prerender and trailingSlash
kevinkace 6fe11fa
fix button
kevinkace b84f450
fix link
kevinkace 0cf131e
fix path
kevinkace 7706145
cleanup
kevinkace cc483ae
cleanup
kevinkace 1654058
fix build base
kevinkace 51854c6
fix build base
kevinkace b3815a3
fix base
kevinkace 186dcd6
add base to imgs
kevinkace 62aab6d
add base to imgs
kevinkace f07c51c
chain build and deploy
kevinkace 060e829
remove vite base
kevinkace 5b8e487
test
kevinkace f146f7b
add gh-pages
kevinkace 85c862f
responsive donate
kevinkace c8c3497
responsive donate
kevinkace d18b27f
responsive styles
kevinkace d227357
comment out unused locale toggle
kevinkace 17b2b21
less magic
kevinkace 43857c1
create redirects
kevinkace 9b3bb59
Merge pull request #1 from kevinkace/ssg-redirects
kevinkace 99eaf94
fix redirects for GH pages
kevinkace 64dcad9
fix redirects for GH pages
kevinkace 3c149d4
error pages
kevinkace d264ed6
404 and 500 error pages
kevinkace 49d9015
fix redirects for GH pages
kevinkace d576c8f
Merge pull request #4 from kevinkace/fix/error-pages
kevinkace 5a33bc0
img cleanup
kevinkace 57b4d03
fix TS type error
kevinkace 642887a
CI should use npm ci not npm install
kevinkace d6af528
replace KCLS with higher res logo
kevinkace aa261a4
update deps
kevinkace 993f2d3
optimize partners img
kevinkace 017b5f4
gitignore /assets dir
kevinkace 88d2082
optimize partners img
kevinkace 65153a4
keep same deploy filename
kevinkace 81764c9
don't use pnpm, do use nvm
kevinkace b543687
comment build
kevinkace eaf68ac
warning about base path
kevinkace 434910f
remove BASE_PATH
kevinkace 9682ee9
remove extraneous dictionary file
kevinkace a78ed3f
how to run site
kevinkace 4911abc
Notes on updating and tests
kevinkace e4b3845
clarify local prod build and tests
kevinkace 53e9d67
tests
kevinkace 35e6d25
dont stand up server when running the tests
kevinkace c252d48
update action to split build and deploy, and only official GH actions
kevinkace a3bc38d
use meta tag instead of JS redirect
kevinkace fc31457
tests
kevinkace cfb1705
dont stand up server when running the tests
kevinkace d845f1e
playwright UI tests
kevinkace 4433e8a
remove trailing slash overwrite
kevinkace d1b7f21
h1 update
kevinkace a095715
h1 update
kevinkace 2d19d91
test attrs
kevinkace cf86975
header styles
kevinkace 8ccc5fe
test helpers
kevinkace 092371c
"Our Sites" header
kevinkace 8b6e157
logo h1 on home page only
kevinkace 47f8d3a
updated home tests
kevinkace 4d9acf6
h1 update
kevinkace 0be00c2
rename test
kevinkace 6a8aab6
Our Sites tests
kevinkace da803cd
test attrs and whitespace
kevinkace 7138990
Merge branch 'feat/tests' of https://github.com/kevinkace/Local-Conne…
kevinkace 222647f
I blame git for duplicated content...??
kevinkace cab3682
fix h1 and test attrs
kevinkace 94ec8fb
tests
kevinkace 9e4aa8e
fix h1
kevinkace a7e2098
tests
kevinkace 1bf4571
npm i
kevinkace c112bad
Merge pull request #5 from kevinkace/feat/tests
kevinkace 88f1046
remove extraneous files and update gitignore
kevinkace d9e32ce
Merge pull request #6 from kevinkace/feat/cleanup
kevinkace 45b5b68
Merge pull request #7 from kevinkace/feat/npm-audit
kevinkace c15c063
update readme
kevinkace b2f9dd7
remove addBase
kevinkace 22cc8e5
make build happy
kevinkace 4d379cb
fix quotes on redirect
kevinkace c68e615
Merge pull request #8 from kevinkace/feat/cleanup-base
kevinkace 5e1ea25
fix linting
kevinkace 1e38214
Merge pull request #9 from kevinkace/feat/cleanup-base
kevinkace File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # Custom Dictionary Words | ||
| allyship | ||
| paraglide |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: Deploy SvelteKit to GitHub Pages | ||
|
|
||
| on: | ||
| push: | ||
| branches: [svelte-ssg] | ||
|
|
||
| jobs: | ||
| build-and-deploy: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - uses: pnpm/action-setup@v2 | ||
| with: | ||
| version: 8 | ||
|
|
||
| - name: Install dependencies | ||
| run: npm install | ||
|
|
||
| - name: Build project | ||
| env: | ||
| BASE_PATH: /Local-Connectivity-Lab.github.io | ||
| run: npm run build | ||
|
|
||
| - name: Deploy to GitHub Pages | ||
| uses: peaceiris/actions-gh-pages@v4 | ||
| with: | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
| publish_dir: ./build |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| test-results | ||
| node_modules | ||
|
|
||
| # Output | ||
| .output | ||
| .vercel | ||
| .netlify | ||
| .wrangler | ||
| /.svelte-kit | ||
| /build | ||
|
|
||
| # OS | ||
| .DS_Store | ||
| Thumbs.db | ||
|
|
||
| # Env | ||
| .env | ||
| .env.* | ||
| !.env.example | ||
| !.env.test | ||
|
|
||
| # Vite | ||
| vite.config.js.timestamp-* | ||
| vite.config.ts.timestamp-* | ||
|
|
||
| # Paraglide | ||
| src/lib/paraglide |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| engine-strict=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| v22.17.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| "cSpell.customDictionaries": { | ||
| "custom-dictionary-workspace": { | ||
| "name": "custom-dictionary-workspace", | ||
| "path": "${workspaceFolder:Local-Connectivity-Lab.github.io}/.cspell/custom-dictionary-workspace.txt", | ||
| "addWords": true, | ||
| "scope": "workspace" | ||
| } | ||
| } | ||
| } |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,35 @@ | ||
| #SCN website (operated by LCL) | ||
| # SCN website (operated by LCL) | ||
|
|
||
| seattlecommunitynetwork.org | ||
|
|
||
| [`A Svelte project`](https://github.com/sveltejs/cli) | ||
|
|
||
| ## Developing | ||
|
|
||
| - install dependencies with `npm install` (or `pnpm install` or `yarn`) | ||
| - start a development server: | ||
|
|
||
| ```bash | ||
| npm run dev | ||
|
|
||
| # or start the server and open the app in a new browser tab | ||
| npm run dev -- --open | ||
| ``` | ||
|
|
||
|
|
||
| ## Redirects | ||
|
|
||
| No good way to do this with GitHub pages, need to create stub sveltekit pages that do a client side redirect. | ||
|
|
||
| See `./create-redirect.js`. | ||
|
|
||
|
|
||
| ## Building | ||
|
|
||
| To create a production version of your app: | ||
|
|
||
| ```bash | ||
| npm run build | ||
| ``` | ||
|
|
||
| You can preview the production build with `npm run preview`. |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be removed. Only references non-existent ".cspell/custom-dictionary-workspace.txt", which is not included.