-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After the release of Bulma 1.0, the support for dark mode and additional utilities left a few things up in the air regarding customization options. Generally the concept isn't bad, but there were a couple problems which resulted in me picking up this ticket again. Moving to TailwindCSS + DaisyUI. This also allows us to pick up sponsorship from @Zenosyne-Technologies as well in the form of TailwindUI components.
- Loading branch information
Showing
101 changed files
with
4,272 additions
and
11,275 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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,63 @@ | ||
# flyctl launch added from .gitignore | ||
# App local data | ||
**/wga_data | ||
**/wga_sitemap | ||
**/analytics.txt | ||
**/.env | ||
**/wga | ||
|
||
# Go build related files | ||
**/dist | ||
**/tmp | ||
|
||
# VSCode can output html from mjml | ||
**/*/mjml/*.html | ||
|
||
# Front-end build files | ||
**/resources/sitebuild/out/style.css | ||
**/assets/public/css/style.css | ||
**/assets/public/js/*.js | ||
**/assets/public/js/*.map | ||
**/assets/public/js/*.txt | ||
**/assets/public/css/*.css | ||
**/assets/public/css/*.map | ||
**/assets/public/css/*.txt | ||
**/assets/public/fa-* | ||
|
||
# hosts seed data for the guestbook, can't include because of GDPR | ||
**/guestbook.json | ||
|
||
# this file is used for cache only | ||
**/contributors.json | ||
|
||
# Dependecies shouldn't be a part of the source code | ||
**/node_modules | ||
**/meta.json | ||
|
||
# Ignore templ generated files | ||
**/*_templ.go | ||
**/*_templ.txt | ||
|
||
# Ignore playwright generated files | ||
test-results | ||
playwright-report | ||
blob-report | ||
playwright/.cache | ||
|
||
# flyctl launch added from .husky/_/.gitignore | ||
.husky/_/**/* | ||
|
||
# flyctl launch added from .idea/.gitignore | ||
# Default ignored files | ||
.idea/shelf | ||
.idea/workspace.xml | ||
# Editor-based HTTP Client requests | ||
.idea/httpRequests | ||
# Datasource local storage ignored files | ||
.idea/dataSources | ||
.idea/dataSources.local.xml | ||
|
||
# flyctl launch added from assets/public/js/vendor/.gitignore | ||
assets/public/js/vendor/**/htmx.min.js | ||
assets/public/js/vendor/**/loading-states.js | ||
fly.toml |
This file contains 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,19 @@ | ||
name: Dev Deploy | ||
on: | ||
push: | ||
branches: | ||
- "**" | ||
- "!main" | ||
jobs: | ||
deploy: | ||
name: Deploy app | ||
runs-on: ubuntu-latest | ||
concurrency: deploy-group | ||
environment: dev | ||
if: contains(github.event.head_commit.message, 'deploy-dev') | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: superfly/flyctl-actions/setup-flyctl@master | ||
- run: flyctl deploy --remote-only | ||
env: | ||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
|
@@ -3,6 +3,8 @@ wga_data | |
wga_sitemap | ||
analytics.txt | ||
.env | ||
.env.dev | ||
.env.uat | ||
wga | ||
|
||
# Go build related files | ||
|
This file contains 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
This file contains 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,4 +1 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx lint-staged | ||
bunx lint-staged |
This file contains 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
This file contains 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,25 @@ | ||
ARG GO_VERSION=1.22.2 | ||
FROM oven/bun:alpine as bun-builder | ||
|
||
RUN apk add git | ||
WORKDIR /app/src | ||
COPY . . | ||
RUN bun install | ||
RUN bun run build | ||
|
||
FROM golang:${GO_VERSION}-alpine as go-builder | ||
|
||
RUN echo "Building with Go version ${GO_VERSION}" | ||
|
||
WORKDIR /app/src | ||
COPY --from=bun-builder /app/src /app/src | ||
RUN go mod download && go mod verify | ||
RUN go install github.com/a-h/templ/cmd/templ@latest | ||
RUN templ generate | ||
RUN go build -v -o /run-app . | ||
|
||
|
||
FROM alpine:latest | ||
|
||
COPY --from=go-builder /run-app /usr/local/bin/ | ||
CMD ["run-app", "serve", "--http", "0.0.0.0:8090"] |
This file contains 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
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.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.