From f31f40ad3e7cefc53235c15f7a941488e8cac987 Mon Sep 17 00:00:00 2001 From: grinikita Date: Thu, 10 Apr 2025 21:50:49 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=B1=D0=BE=D1=80=D0=BA=D0=B0=20=D0=BD?= =?UTF-8?q?=D0=B5=D1=81=D0=BA=D0=BE=D0=BB=D1=8C=D0=BA=D0=B8=D1=85=20html?= =?UTF-8?q?=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/{creators.html => creators.hbs} | 13 +------------ src/{discover.html => discover.hbs} | 13 +------------ src/views/header.hbs | 8 ++++---- webpack.config.js | 11 ++++++++++- 4 files changed, 16 insertions(+), 29 deletions(-) rename src/{creators.html => creators.hbs} (57%) rename src/{discover.html => discover.hbs} (57%) diff --git a/src/creators.html b/src/creators.hbs similarity index 57% rename from src/creators.html rename to src/creators.hbs index 766dc3b..ff0f543 100644 --- a/src/creators.html +++ b/src/creators.hbs @@ -14,18 +14,7 @@ -
- - - -
+ {{> views/header }}
Creators
diff --git a/src/discover.html b/src/discover.hbs similarity index 57% rename from src/discover.html rename to src/discover.hbs index 43d729a..3d4e727 100644 --- a/src/discover.html +++ b/src/discover.hbs @@ -14,18 +14,7 @@ -
- - - -
+ {{> views/header }}
Discover
diff --git a/src/views/header.hbs b/src/views/header.hbs index b95ce10..086bbdb 100644 --- a/src/views/header.hbs +++ b/src/views/header.hbs @@ -2,10 +2,10 @@ diff --git a/webpack.config.js b/webpack.config.js index 45d41b8..662787c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -23,7 +23,16 @@ module.exports = { }, plugins: [ new HtmlWebpackPlugin({ - template: "./src/index.hbs" + template: "./src/index.hbs", + filename: "index.html" + }), + new HtmlWebpackPlugin({ + template: "./src/creators.hbs", + filename: "creators.html" + }), + new HtmlWebpackPlugin({ + template: "./src/discover.hbs", + filename: "discover.html" }), new CopyPlugin({ patterns: [