From a41d0d37d831e04707569c1679e76a3374d8b49f Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 31 Jan 2022 09:44:27 +0000 Subject: [PATCH] Updated layouts to have one for front site, and will implement one for admin --- src/stylesheets/components/{_homeNav.scss => _mainNav.scss} | 2 +- src/stylesheets/main.scss | 2 +- views/index.hbs | 2 -- views/layouts/main.hbs | 1 + views/partials/{homeNav.hbs => mainNav.hbs} | 4 ++-- 5 files changed, 5 insertions(+), 6 deletions(-) rename src/stylesheets/components/{_homeNav.scss => _mainNav.scss} (96%) rename views/partials/{homeNav.hbs => mainNav.hbs} (82%) diff --git a/src/stylesheets/components/_homeNav.scss b/src/stylesheets/components/_mainNav.scss similarity index 96% rename from src/stylesheets/components/_homeNav.scss rename to src/stylesheets/components/_mainNav.scss index f2e77ee..9411439 100644 --- a/src/stylesheets/components/_homeNav.scss +++ b/src/stylesheets/components/_mainNav.scss @@ -1,4 +1,4 @@ -.homeNav { +.mainNav { display: flex; flex-direction: column; align-items: center; diff --git a/src/stylesheets/main.scss b/src/stylesheets/main.scss index bb5c0b6..aa8c928 100644 --- a/src/stylesheets/main.scss +++ b/src/stylesheets/main.scss @@ -6,7 +6,7 @@ @import 'base/typography'; -@import 'components/homeNav'; +@import 'components/mainNav'; @import 'components/button'; @import 'components/feature'; @import 'components/testimonial'; diff --git a/views/index.hbs b/views/index.hbs index 22f3425..1f11787 100644 --- a/views/index.hbs +++ b/views/index.hbs @@ -1,5 +1,3 @@ -{{> homeNav }} -

A new age of exam result tracking

diff --git a/views/layouts/main.hbs b/views/layouts/main.hbs index 879fd28..4161428 100644 --- a/views/layouts/main.hbs +++ b/views/layouts/main.hbs @@ -2,6 +2,7 @@ {{> head title=title }} + {{> mainNav }} {{{ body }}} {{> scripts }} diff --git a/views/partials/homeNav.hbs b/views/partials/mainNav.hbs similarity index 82% rename from views/partials/homeNav.hbs rename to views/partials/mainNav.hbs index 115ba78..652ecde 100644 --- a/views/partials/homeNav.hbs +++ b/views/partials/mainNav.hbs @@ -1,8 +1,8 @@ -