Added header and footer, placeholder content

This commit is contained in:
JayWll 2020-05-15 16:34:40 -06:00
parent 52a10871ff
commit 35e12edf02
7 changed files with 111 additions and 47 deletions

View File

@ -0,0 +1,46 @@
html, body { height: 100%; }
body {
background-color: #ccfff3;
font-family: roboto,sans-serif;
color: #302b44;
}
#page-content {
flex: 1 0 auto;
}
footer {
flex-shrink: 0;
background-color: #302b44;
}
footer p, footer ul li {
color: #686283;
font-size: 0.8rem;
}
footer ul {
margin-top: -16px;
padding-left: 20px;
}
.container-fluid {
padding-left: 5%;
padding-right: 5%;
}
.navbar {
padding-left: 5%;
padding-right: 5%;
}
.navbar-light .navbar-brand {
height: 80px;
padding-left: 100px;
font-family: cinzel,serif;
font-size: 2.5rem;
background-image: url('../images/jwlogo.png');
background-repeat: no-repeat;
color: #302b44;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -10,12 +10,20 @@ description = "Default Layout"
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<link href='//fonts.googleapis.com/css?family=Cinzel|Roboto:300,400,500' rel='stylesheet' type='text/css'>
<link href="{{ 'assets/css/theme.css'|theme }}" rel="stylesheet">
<title>Hello, world!</title>
</head>
<body>
<body class="d-flex flex-column">
<div id="page-content">
{% partial 'header' %}
{% page %}
<main>
{% page %}
</main>
</div>
{% partial 'footer' %}
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->

View File

@ -5,23 +5,14 @@ is_hidden = 0
==
<div class="container-fluid">
<div class="row">
<div class="col-md-7">
<h1>Hello, world!</h1>
<p>Welcome to my site!</p>
<p>This column is seven units wide.</p>
<div class="col-lg-7">
<h1>Feed</h1>
</div>
<div class="col-md-5">
<div class="row">
<div class="col-lg-7">
<p>Column 2</p>
</div>
<div class="col-lg-5">
<p>Column 3</p>
</div>
</div>
<div class="col-lg-5">
<h1>Welcome</h1>
<p>Welcome to Ja.son-Williams.ca, the little home on the web of surprise, surprise Jason Williams.</p>
<p>Jay is a caucasian male originally from Swansea, UK but last spotted in Calgary, Canada. By day he's a mild-mannered bank employee and by night he's... uh... asleep, mostly.</p>
<p>He doesn't kepp very much stuff here, but to browse around please make a selection from the menu at the top right of the page.</p>
</div>
<!-- <div class="col-3">
Three Wide
</div>-->
</div>
</div>

View File

@ -0,0 +1,24 @@
description = "Site Footer"
==
<footer class="footer mt-auto py-3 static-bottom">
<div class="container-fluid">
<div class="row">
<div class="col-sm-4">
<p>©2020 Jason Williams</p>
<ul>
<li>Home</li>
<li>Resume</li>
<li>Feed</li>
<li>Contact Me</li>
</ul>
<p>Weather info goes here!</p>
<p>Made with 💖 in #YYC<br><a href="#"><img src="{{ 'assets/images/madeinyyc.png'|theme }}"></a></p>
</div>
<div class="col-sm-4">
<p>Recent Projects</p>
</div>
<div class="col-sm-4">
<p>Recent Blog Posts</p>
</div>
</div>
</footer>

View File

@ -1,33 +1,28 @@
description = "Site Header"
==
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="#">Expand at lg</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample05" aria-controls="navbarsExample05" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<header>
<nav class="navbar navbar-expand-lg navbar-light">
<a class="navbar-brand" href="/">Jason Williams</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample05" aria-controls="navbarsExample05" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarsExample05">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link</a>
</li>
<li class="nav-item">
<a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Disabled</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="dropdown05" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
<div class="dropdown-menu" aria-labelledby="dropdown05">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
<div class="collapse navbar-collapse" id="navbarsExample05">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Feed</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Résumé</a>
</li>
</ul>
<form class="form-inline my-2 my-md-0">
<input class="form-control" type="text" placeholder="Search">
</form>
</div>
</li>
</ul>
<form class="form-inline my-2 my-md-0">
<input class="form-control" type="text" placeholder="Search">
</form>
</div>
</nav>
</nav>
</header>