1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-02 01:19:31 +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; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;

View File

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

View File

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

View File

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

View File

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