Skip to content

Conversation

@lifehackerhansol
Copy link
Contributor

Description

It was removed during the transition to VitePress. We do need to add it back given the structure of the site.

The old plugin is back, but with some changes:

  • instead of static banner at top, it is a floating box on the bottom right
  • a custom CSS override was added to adapt the theming of the box to VitePress
  • make translatable by adding a locale-specific head that imports the JS file with a hack to add custom parameters for the message content
  • minor rice

For now this is only added to the English page. As the translations for it start to fill, we can enable for remaining languages.

@lifehackerhansol
Copy link
Contributor Author

Some screenshots:

image image

It was removed during the transition to VitePress. We do need to add it
back given the structure of the site.

The old plugin is back, but with some changes:
- instead of static banner at top, it is a floating box on the bottom
  right
- a custom CSS override was added to adapt the theming of the box to
  VitePress
- make translatable by adding a locale-specific head that imports the
  JS file with a hack to add custom parameters for the message content
- minor rice

For now this is only added to the English page. As the translations for
it start to fill, we can enable for remaining languages.
@lifehackerhansol lifehackerhansol force-pushed the cookieconsent-vitepress branch from 0b339ee to 6ca1f4d Compare October 5, 2025 20:57
@lifehackerhansol lifehackerhansol merged commit 6ca1f4d into hacks-guide:master Oct 5, 2025
1 check passed
@lifehackerhansol lifehackerhansol deleted the cookieconsent-vitepress branch October 11, 2025 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant