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

WIP: Potential updates from the Lughausen project #4

Open
wants to merge 87 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
fbbab00
Merge pull request #1 from kickstartDS/main
julrich May 3, 2024
a497416
fix: font integration
julrich May 3, 2024
1197204
fix: duplicate IconSprite import
julrich May 3, 2024
f1d896f
fix: update dependencies
julrich May 3, 2024
2376f1f
fix: footer and header inverted options when undefined
julrich May 3, 2024
22d054d
fix: add debugging to build
julrich May 3, 2024
b924b5c
fix: more build debugging
julrich May 3, 2024
1a954c2
fix: update source detection for images
julrich May 3, 2024
18623f1
fix: remove initialization script
julrich May 3, 2024
20521c6
chore: remove log statements
julrich May 3, 2024
a945e52
fix: update dependencies
julrich May 3, 2024
1b40632
fix: deactivate blur hash generation
julrich May 3, 2024
dc9b47a
fix: misc
julrich May 3, 2024
d069b22
fix: move blur hash generation of static props
julrich May 7, 2024
7c5b133
fix: debug static props
julrich May 7, 2024
0d4e5b4
fix: attempt fix for blur hashes
julrich May 7, 2024
7dee381
fix: test again without blurhashes
julrich May 7, 2024
9e89759
fix: another attempt
julrich May 7, 2024
65d1fd2
fix: re-add blur hashes
julrich May 7, 2024
d559e59
fix: try onload event on image
julrich May 7, 2024
2d91684
fix: hide blurhash when loaded
julrich May 7, 2024
c29626a
fix: initially cached image blurs
julrich May 7, 2024
8507fa9
fix: add debugging
julrich May 7, 2024
46a3e60
fix: initial blur hashes in images
julrich May 7, 2024
50ffcea
fix: image backgrounds
julrich May 7, 2024
c9e1c79
fix: rendering order
julrich May 7, 2024
274b3ae
build: fix npm vulnerabilities
lmestel May 7, 2024
09ac964
feat: add index route
lmestel May 7, 2024
5318bcb
feat: rewrite links to index route
lmestel May 7, 2024
e4c917e
fix: brute-force disable nextjs fouc handling
julrich May 8, 2024
b670d81
fix: add image quality setting for priority images
julrich May 8, 2024
ba99a2c
fix: add debug log
julrich May 8, 2024
2b8ab3a
fix: storyblok image urls with quality
julrich May 8, 2024
b4740d6
feat: add preview route
lmestel May 13, 2024
4e19f01
fix: remove unnecessary props
lmestel May 14, 2024
7696636
Merge pull request #2 from kickstartDS/feature/preview-route
julrich May 15, 2024
cc2c323
fix: update Design System
julrich May 15, 2024
ae594f4
feat(favicon): replace favicon
fleven-kds May 15, 2024
9aceade
feature: add rudimentary sitemap handling
julrich May 15, 2024
f51c893
Merge branch 'main' of github.com:kickstartDS/lughausen-website
julrich May 15, 2024
a2cb19d
fix: update sitemap handling
julrich May 15, 2024
fb0a68b
fix: ignore robots.txt
julrich May 15, 2024
100604c
fix: lastmod in generated sitemap
julrich May 15, 2024
05472e5
fix: path structure for static paths
julrich May 15, 2024
a9c9c2a
fix: use custom fallback fonts
lmestel May 16, 2024
b6c1617
refactor: remove unused font styles
lmestel May 16, 2024
cfef1d2
feat: add preview font definitions
lmestel May 16, 2024
449cbb2
feat(fonts): add woff2 font files
fleven-kds May 16, 2024
d692045
feat: use woff2 fonts
lmestel May 16, 2024
d1a05f6
fix: close mobile nav on navigation
lmestel May 16, 2024
3bca54d
feat: highlight current nav item
lmestel May 16, 2024
f13f73d
feat(button): adjust button font placement
fleven-kds May 22, 2024
35eba0d
fix: don't optimize svg images
lmestel Jun 5, 2024
179755b
fix: fix hero image size
lmestel Jun 5, 2024
fb5e5dd
fix: remove `object-fit` inline style from images
lmestel Jun 5, 2024
4216e4b
feat(nav): improve nav styling
fleven-kds Jun 6, 2024
d4db1ac
feature: add preview screenshot update script
julrich Jun 28, 2024
2cd0aaa
fix: remove unneeded dependencies
julrich Jun 28, 2024
52acff4
chore: finish preview generation README
julrich Jul 1, 2024
ff694e7
feat: automate headline levels
lmestel Jul 1, 2024
cb88bf6
build: update package-lock
lmestel Jul 2, 2024
493c0fa
Merge remote-tracking branch 'upstream/main'
lmestel Jul 2, 2024
a68f993
fix: inverted logic for header
julrich Jul 18, 2024
042dd72
fix: page settings
julrich Jul 19, 2024
c5f131c
fix: try pure js 404 / 500 pages
julrich Jul 19, 2024
cbd1bc4
fix: test slightly different configuration
julrich Jul 19, 2024
cf3d430
fix: remove redirects
julrich Jul 19, 2024
f8fd542
fix: storyblok integration
julrich Jul 19, 2024
9e95370
fix: visual images
julrich Jul 19, 2024
c00da31
fix: mini fix
julrich Jul 19, 2024
a8cfd8c
fix: build
julrich Jul 19, 2024
dd874a4
fix: image handling in visual
julrich Jul 23, 2024
6a2cb59
fix: visual image handling
julrich Jul 23, 2024
08c88aa
fix: another small visual image improvement
julrich Jul 23, 2024
12fc412
feat(package): update depency
fleven-kds Jul 24, 2024
c702593
fix: little experiment
julrich Jul 24, 2024
c2637a7
fix: small font adjustment
julrich Jul 24, 2024
7d9fa76
fix: update ds-agency-premium
julrich Jul 24, 2024
4b10c13
fix: try some new image optimizations
julrich Jul 25, 2024
bf58951
feature: improve image size detection
julrich Aug 2, 2024
cb94fbc
fix: remove unused var
julrich Aug 3, 2024
606373f
fix: section width calculation
julrich Aug 13, 2024
05976b3
fix: use font swapping
julrich Aug 13, 2024
7ad7d45
fix: missing alt on logo link
julrich Aug 21, 2024
1122c89
Merge remote-tracking branch 'upstream/main'
julrich Oct 23, 2024
c883264
fix: add correct 404 page handling
julrich Nov 15, 2024
dea7db5
fix: exclude 404 page where needed
julrich Nov 15, 2024
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
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
NEXT_PUBLIC_SITE_URL=https://YOUR_SITE.netlify.app
NEXT_PUBLIC_SITE_URL=https://lughausen.netlify.app
DOCKER_BUILDKIT=1
COMPOSE_DOCKER_CLI_BUILD=1
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
Expand Down
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"circleci.persistedProjectSelection": [
"gh/kickstartDS/lughausen-website"
]
}
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,23 @@ TODO adjust this to `ds-agency` on non-premium version

Reminder: Undo the import for `fonts.scss` in `index.scss` if you had to change that for your previews, otherwise you'd load redundant fonts on your page later.

### Creating branded component and preset previews

`YOUR_WEBSITE` should be the path pointing to your website project, the one you want to update the previews for.

1. Clone the Design System this is based on locally: https://github.com/kickstartDS/ds-agency
2. Switch to the freshly cloned directory, and inside (ensure you're using the correct Node version 18+; `nvs use`, `nvm use` for automatic selection, if you use one of those tools):
1. `yarn` to install dependencies
2. `rm -rf src/token` to remove the existing default theme
3. `cp -r YOUR_WEBSITE/token src/token` to copy your Design Token / Style Dictionary configuration to the Design System project
4. Adjust the `background-color` for the `.preview--wrapper` CSS class in `global.scss`, to a color suitable for your component screenshots (depends on your applied design)
5. `yarn build-storybook` to build a Storybook that can then be used to create screenshots
6. `yarn create-component-previews` to re-create the existing previews with your branding
7. `mkdir -p YOUR_WEBSITE/public/img && rm -rf YOUR_WEBSITE/public/img/screenshots && cp -r static/img/screenshots YOUR_WEBSITE/public/img/` to copy the generated screenshots to your project
8. `cd YOUR_WEBSITE` to switch to your website project
9. `npm run update-previews` to update those newly created screenshots in your Storyblok space
3. That's it!

## Working with the content schema

### Typescript Support
Expand Down
Loading