1
0
Fork 0
Commit graph

23484 commits

Author SHA1 Message Date
Joost De Cock
153907a007 fix(fs.dev): Key of OG on index page 2022-01-03 18:21:43 +01:00
Joost De Cock
68d8ae12c1 wip(fs.org): Started working on the org site 2022-01-03 18:21:15 +01:00
Joost De Cock
ccac712133 feat(fs.org): Initial import of freesewing.dev code 2022-01-02 17:16:15 +01:00
Joost De Cock
7fb05ac25d chore: Updated gitignore 2022-01-02 17:15:39 +01:00
Joost De Cock
342da23651 fix(fs.dev): Close search/menu when navigating 2022-01-01 20:33:52 +01:00
Joost De Cock
f2eded2daa chore: Added emojis to issue templates 2022-01-01 19:59:24 +01:00
Joost De Cock
a048d402df chore: Update to Github issue templates 2022-01-01 19:55:32 +01:00
Joost De Cock
cd0fa058c9 fix(backend): Updated example.env 2022-01-01 16:39:07 +01:00
Joost De Cock
9bea5458ee fix(backend): Re-applied OG code after re-import 2022-01-01 15:32:37 +01:00
Joost De Cock
ca8ceb1a30 fix(backend): Proper import of archived repo
Not really sure what happened, but clearly when I imported our backend
code into our monorepo, it was not the latest version.

So I'm fixing this now by putting in the latest code. I will re-apply
the changes since later.
2022-01-01 15:18:32 +01:00
Joost De Cock
bcfb919172 fix(fs.dev): Incorrect OG image URLs 2021-12-31 16:10:44 +01:00
Joost De Cock
66b1f9ec7b fix(fs.dev): OG tags in additional pages 2021-12-31 15:35:04 +01:00
Joost De Cock
61d344a596 fix(fs.dev): Added prebuild step to export script 2021-12-31 14:35:15 +01:00
Joost De Cock
35eaa93b6c fix(pattern-info): Issue with build order 2021-12-31 14:24:18 +01:00
Joost De Cock
aaeb2de7fd chore: Updated cibuild to deal with 2 steps 2021-12-31 14:16:21 +01:00
Joost De Cock
d6c37e7a3e fix(fs.dev): Some linter warnings 2021-12-31 13:52:27 +01:00
Joost De Cock
eeacb8669d fix(fs.dev): HelpUs component on homepage 2021-12-31 13:44:16 +01:00
Joost De Cock
cdf893c92f fix(backend): Fix for homepage OG image 2021-12-31 13:44:00 +01:00
Joost De Cock
30fcf6c726 fix(fs.dev): Add missing key prop in search 2021-12-31 11:35:51 +01:00
Joost De Cock
5f906aed26 chore(backend): Tweaks to OG template 2021-12-31 11:34:20 +01:00
Joost De Cock
787fde18bb feat(fs.dev): Added HelpUs component 2021-12-31 11:33:57 +01:00
Joost De Cock
4aa7cafb28 wip(fs.dev): Theme tweaks 2021-12-31 11:01:25 +01:00
Joost De Cock
2b021e4223 feat(fs.dev): Implemented search 2021-12-31 10:15:51 +01:00
Joost De Cock
8f165dbe6d feat(fs.dev): Initial search implementation 2021-12-31 08:27:13 +01:00
Joost De Cock
09c2b89aed fix(fs.dev): Force data-theme update with key prop
This is a replacement for the hack I implemented in
bb901c4d8a

It accomplishes the same effect, but with just setting the key prop.
Sadly, it does not work with just setting the key prop to the theme
but forcing the key prop to be re-set by including the date does the
trick.

To be clear: This is still a hack and I'd love to avoid it (or just
understand the right way to handle this) but for now it will do.
2021-12-31 06:46:13 +01:00
Joost De Cock
4a90513305 fix(fs.dev): Removed debug output 2021-12-31 06:46:04 +01:00
Joost De Cock
40caaac939 feat(fs.dev): Added OG image to bottom of page 2021-12-30 19:18:59 +01:00
Joost De Cock
90e361d4ae fix(fs.dev): Chevron size 2021-12-30 19:16:55 +01:00
Joost De Cock
1ddba2b3b2 fix(fs.dev): Remove debug output 2021-12-30 18:54:42 +01:00
Joost De Cock
4433720075 fix(fs.dev): Theme picker mobile theming 2021-12-30 18:53:56 +01:00
Joost De Cock
71675062b8 feat(fs.dev): Don't darken nagivation on mobile 2021-12-30 18:42:49 +01:00
Joost De Cock
dc24287d12 wip(fs.dev): Better padding 2021-12-30 18:17:10 +01:00
Joost De Cock
c065e6ec23 feat(fs.dev): Hide navbar when scrolling 2021-12-30 17:56:04 +01:00
Joost De Cock
43a89a85ad feat(fs.dev): moved theme picker to header 2021-12-30 17:55:46 +01:00
Joost De Cock
bb901c4d8a fix(fs.dev): (hackish) workaround for theme prop update issue
This is a workaround for the following problem that I can't seem
to understand.

This JSX code:

<p data-theme={props.app.theme}>{props.app.theme}</p>

Is rendered as:

<p data-theme="light">dark</p>

This happens only upon initial page load because on the server
side we don't know the user's preferred theme. So we start with
the default (light).

Then, as the app bootstraps in the browser, it updated the content
of the P tag with the new theme (dark).
However, for reasons that I really don't understand, it does not
update the `data-theme` attribute.

So this works around that be forcing a different component for each
theme that has the data-theme hardcoded. By force-rendering a different
component, we can be certain React has no choice be to re-render the
entire tag.

If anybody could explain to me why this happen, I'd gladly buy you
a coffee or something.
2021-12-30 16:52:28 +01:00
Joost De Cock
1bc0b4985c wip(fs.dev): Troubleshooting SSR themeing issues 2021-12-30 14:23:02 +01:00
Joost De Cock
14187b0cf7 fix(backend): Better OG support 2021-12-30 12:35:44 +01:00
Joost De Cock
79367a0cb5 fix(markdown): First paragraph 2021-12-30 12:35:22 +01:00
Joost De Cock
220983bc0c fix(artwork): Manual edit of og template 2021-12-30 12:35:02 +01:00
Joost De Cock
4317fd0491 chore(artwork): Optimized og template SVG 2021-12-30 10:08:16 +01:00
Joost De Cock
5f27adb5b4 fix(backend): Keep remark-frontmatter on pre-ESM version 2021-12-29 20:10:01 +01:00
Joost De Cock
e1ca53f52c fix(fs.dev): Make sidebar dark as suggested by @hellgy 2021-12-29 18:58:20 +01:00
Joost De Cock
44d83e0c41 fix(markdown): Code of conduct should start with paragraph 2021-12-29 18:45:42 +01:00
Joost De Cock
9d723484cf fix(fs.dev): Keep prebuild data out of repo 2021-12-29 18:45:17 +01:00
Joost De Cock
018a2c461d feat(backend): Initial support for open graph images 2021-12-29 18:02:26 +01:00
Joost De Cock
134bcd979e fix(fs.shared): Small tweak to theme colors 2021-12-29 17:02:30 +01:00
Joost De Cock
8a2447f775 wip(backend): Work on generating og images 2021-12-29 17:02:14 +01:00
Joost De Cock
d3095e3354 feat(backend): Use dotenv 2021-12-29 11:31:42 +01:00
Joost De Cock
e05f6ea193 Merge branch 'develop' of github.com:freesewing/freesewing into develop 2021-12-29 09:29:21 +01:00
Joost De Cock
573de5f593 fix(plugin-bartack): Updated tests for new class names 2021-12-29 09:21:28 +01:00