1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 22:39:26 +00:00

Updated layouts to have one for front site, and will implement one for admin

This commit is contained in:
2022-01-31 09:44:27 +00:00
parent 3248253a75
commit a41d0d37d8
5 changed files with 5 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
.homeNav {
.mainNav {
display: flex;
flex-direction: column;
align-items: center;

View File

@@ -6,7 +6,7 @@
@import 'base/typography';
@import 'components/homeNav';
@import 'components/mainNav';
@import 'components/button';
@import 'components/feature';
@import 'components/testimonial';

View File

@@ -1,5 +1,3 @@
{{> homeNav }}
<section class='hero'>
<div class='hero__text'>
<h1>A new age of exam result tracking</h1>

View File

@@ -2,6 +2,7 @@
<html lang='en'>
{{> head title=title }}
<body>
{{> mainNav }}
{{{ body }}}
{{> scripts }}
</body>

View File

@@ -1,8 +1,8 @@
<nav class='homeNav'>
<nav class='mainNav'>
<a href='/'>
<img src='/assets/logo-inline.svg' alt='Stratos logo image'/>
</a>
<div class='homeNav__buttons'>
<div class='mainNav__buttons'>
{{>button style='full' colour='primary' to='/login' content='Log In'}}
{{>button style='outline' colour='primary' to='/register' content='Sign Up'}}
</div>