Skip to content

Commit

Permalink
fix: disabled hydration on website
Browse files Browse the repository at this point in the history
There are still some issues with hydration that have yet to be fixed.
  • Loading branch information
arctic-hen7 committed Dec 18, 2021
1 parent a75a57e commit 3f2d110
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
3 changes: 2 additions & 1 deletion website/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ readme = "./README.md"

[dependencies]
# We use the current version of Perseus, not the local one
perseus = { version = "0.3.0-beta.22", features = [ "translator-fluent" ] }
# Hydration is temporarily disabled pending some fixes in Sycamore
perseus = { version = "0.3.0-beta.22", features = [ "translator-fluent" ], no-default-features = true }
sycamore = "0.7"
sycamore-router = "0.7"
serde = "1"
Expand Down
17 changes: 7 additions & 10 deletions website/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@ const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require("tailwindcss/colors");

module.exports = {
purge: {
mode: "all",
content: [
"./src/**/*.rs",
"./index.html",
"./src/**/*.html",
"./src/**/*.css",
"./static/**/*.css",
],
},
content: [
"./src/**/*.rs",
"./index.html",
"./src/**/*.html",
"./src/**/*.css",
"./static/**/*.css",
],
darkMode: process.env.NODE_ENV == "production" ? "media" : "class",
theme: {
fontFamily: {
Expand Down

0 comments on commit 3f2d110

Please sign in to comment.