From 3f602ecc34c1a77ed39445477c96f2978f8b9831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20S=C3=A9chet?= Date: Tue, 21 May 2024 09:11:30 +0200 Subject: [PATCH] refactor: move nav to it's own file --- src/lib/nav.html | 33 +++++++++++++++++++++++++++++++++ src/lib/{css => }/nav.scss | 0 src/pages/index.html | 33 +-------------------------------- src/style.scss | 4 +++- 4 files changed, 37 insertions(+), 33 deletions(-) create mode 100644 src/lib/nav.html rename src/lib/{css => }/nav.scss (100%) diff --git a/src/lib/nav.html b/src/lib/nav.html new file mode 100644 index 0000000..2859fd2 --- /dev/null +++ b/src/lib/nav.html @@ -0,0 +1,33 @@ + + diff --git a/src/lib/css/nav.scss b/src/lib/nav.scss similarity index 100% rename from src/lib/css/nav.scss rename to src/lib/nav.scss diff --git a/src/pages/index.html b/src/pages/index.html index 23dba16..56e4c86 100644 --- a/src/pages/index.html +++ b/src/pages/index.html @@ -11,38 +11,7 @@ - + {% include "lib/nav.html" %}
{% include "pages/index/presentation.html" %} diff --git a/src/style.scss b/src/style.scss index 6f787c2..0ef47df 100644 --- a/src/style.scss +++ b/src/style.scss @@ -1,8 +1,10 @@ @import 'lib/css/variables.scss'; @import 'lib/css/content.scss'; -@import 'lib/css/nav.scss'; @import 'lib/css/reset.scss'; @import 'lib/css/typo.scss'; + +@import 'lib/nav.scss'; @import 'lib/section.scss'; + @import 'pages/index/_style.scss';