diff --git a/next.config.js b/next.config.js
index 68cedb5..178ad85 100644
--- a/next.config.js
+++ b/next.config.js
@@ -14,7 +14,10 @@ const nextConfig = {
// distDir: 'dist',
webpack: (config) => {
config.resolve.fallback = { fs: false }
-
+ config.module.rules.push({
+ test: /\.woff2$/,
+ type: "asset/resource",
+ })
return config
},
}
diff --git a/package.json b/package.json
index 8e2f259..85e8cd7 100644
--- a/package.json
+++ b/package.json
@@ -31,7 +31,9 @@
"start": "next start",
"build": "next build",
"lint": "eslint .",
- "k8s": "yarn --silent --cwd .k8s"
+ "k8s": "yarn --silent --cwd .k8s",
+ "predev": "only-include-used-icons",
+ "prebuild": "only-include-used-icons"
},
"devDependencies": {
"@socialgouv/eslint-config-react": "^1.89.0",
@@ -41,6 +43,7 @@
"jest": "^26.6.3",
"postcss": "^8.4.21",
"prettier": "^2.4.1",
+ "sass": "^1.77.2",
"sharp": "^0.33.4",
"tailwindcss": "^3.2.4",
"typescript": "^5.4.5"
diff --git a/public/images/landing/quizz-screenshot-2.png b/public/images/landing/quizz-screenshot-2.png
new file mode 100644
index 0000000..e19fb99
Binary files /dev/null and b/public/images/landing/quizz-screenshot-2.png differ
diff --git a/public/images/landing/quizz-screenshot.png b/public/images/landing/quizz-screenshot.png
new file mode 100644
index 0000000..0e0da48
Binary files /dev/null and b/public/images/landing/quizz-screenshot.png differ
diff --git a/yarn.lock b/yarn.lock
index 10efa58..e2a7601 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2712,7 +2712,7 @@ __metadata:
languageName: node
linkType: hard
-"chokidar@npm:^3.5.3":
+"chokidar@npm:>=3.0.0 <4.0.0, chokidar@npm:^3.5.3":
version: 3.6.0
resolution: "chokidar@npm:3.6.0"
dependencies:
@@ -5161,6 +5161,13 @@ __metadata:
languageName: node
linkType: hard
+"immutable@npm:^4.0.0":
+ version: 4.3.6
+ resolution: "immutable@npm:4.3.6"
+ checksum: 7d0952a768b4fadcee47230ed86dc9505a4517095eceaf5a47e65288571c42400c6e4a2ae21eca4eda957cb7bc50720213135b62cf6a181639111f8acae128c3
+ languageName: node
+ linkType: hard
+
"import-fresh@npm:^3.0.0, import-fresh@npm:^3.2.1":
version: 3.3.0
resolution: "import-fresh@npm:3.3.0"
@@ -7948,6 +7955,7 @@ __metadata:
react-icons: "npm:^4.7.1"
react-paginate: "npm:^8.2.0"
rehype: "npm:^13.0.1"
+ sass: "npm:^1.77.2"
sharp: "npm:^0.33.4"
tailwindcss: "npm:^3.2.4"
typescript: "npm:^5.4.5"
@@ -8939,6 +8947,19 @@ __metadata:
languageName: node
linkType: hard
+"sass@npm:^1.77.2":
+ version: 1.77.2
+ resolution: "sass@npm:1.77.2"
+ dependencies:
+ chokidar: "npm:>=3.0.0 <4.0.0"
+ immutable: "npm:^4.0.0"
+ source-map-js: "npm:>=0.6.2 <2.0.0"
+ bin:
+ sass: sass.js
+ checksum: 0d292339064de3c902e209d41de9c4eb2038cff326476aeebbb5be3eee1d23400d975face2b8e124ae617b10af3e93bec01580f61912f34e4c517fe137a118b6
+ languageName: node
+ linkType: hard
+
"saxes@npm:^5.0.1":
version: 5.0.1
resolution: "saxes@npm:5.0.1"
@@ -9271,7 +9292,7 @@ __metadata:
languageName: node
linkType: hard
-"source-map-js@npm:^1.0.2, source-map-js@npm:^1.2.0":
+"source-map-js@npm:>=0.6.2 <2.0.0, source-map-js@npm:^1.0.2, source-map-js@npm:^1.2.0":
version: 1.2.0
resolution: "source-map-js@npm:1.2.0"
checksum: 7e5f896ac10a3a50fe2898e5009c58ff0dc102dcb056ed27a354623a0ece8954d4b2649e1a1b2b52ef2e161d26f8859c7710350930751640e71e374fe2d321a4