Fix some layout things
This commit is contained in:
@@ -34,7 +34,8 @@
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{% shape "menu", alias: "alias:main", cache_id: "main-menu", cache_fixed_duration: "00:05:00", cache_tag: "alias:main" %}
|
||||
{% shape "menu", alias: "alias:main", cache_id: "main-menu", cache_fixed_duration: "00:05:00", cache_tag: "alias:main"
|
||||
%}
|
||||
|
||||
<main>
|
||||
<div class="container">
|
||||
@@ -56,6 +57,5 @@
|
||||
|
||||
{% resources type: "FootScript" %}
|
||||
</body>
|
||||
</head>
|
||||
|
||||
</html>
|
||||
@@ -14,6 +14,7 @@
|
||||
{% style name: "oaptheme-styles" %}
|
||||
|
||||
{% resources type: "HeadLink" %}
|
||||
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<style type="text/tailwindcss">
|
||||
div.richtext a {
|
||||
@@ -44,24 +45,14 @@
|
||||
@apply text-sm text-red-600;
|
||||
}
|
||||
</style>
|
||||
|
||||
{% resources type: "Stylesheet" %}
|
||||
{% resources type: "HeadScript" %}
|
||||
</head>
|
||||
|
||||
<body dir="{{ Culture.Dir }}">
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="d-flex justify-content-between align-item-center">
|
||||
<a href="/" class="d-flex justify-content-start align-items-center me-2 text-decoration-none" title="Home">
|
||||
<img src="https://en.gravatar.com/userimage/738990/32d8e61848233a67f5e02dcc43be0ff8.jpeg" alt="Gravatar"
|
||||
width="40" height="40" />
|
||||
<span class="ms-2">{{ Site.SiteName }}</span>
|
||||
</a>
|
||||
<div class="d-none d-sm-flex flex-column justify-content-around ms-2">
|
||||
<small>{{ Site.Tagline }}</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
here is the header
|
||||
</header>
|
||||
|
||||
<main class="container mx-auto flex flex-col max-w-screen-md p-6">
|
||||
@@ -70,23 +61,11 @@
|
||||
|
||||
<footer class="container mx-auto flex flex-row max-w-screen-md p-6">
|
||||
{% assign year = "now" | date: "%Y" %}
|
||||
<span>© <time dateTime="{{ year }}">{{ year }}</time> - Overseas Auto Protection - All rights reserved.</span>
|
||||
</footer>
|
||||
|
||||
<footer class="footer">
|
||||
<div class="container">
|
||||
<hr />
|
||||
<small>
|
||||
©
|
||||
{% assign year = "now" | date: "%Y" %}
|
||||
<time dateTime="{{ year }}">{{ year }}</time>
|
||||
All rights reserved.
|
||||
</small>
|
||||
</div>
|
||||
<span>© <time dateTime="{{ year }}">{{ year }}</time> - Overseas Auto Protection - All rights
|
||||
reserved.</span>
|
||||
</footer>
|
||||
|
||||
{% resources type: "FootScript" %}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
<h1>Page Not Found</h1>
|
||||
<p>
|
||||
Page not found, sorry.
|
||||
</p>
|
||||
10
src/Themes/OapTheme/Views/Shared/NotFound.liquid
Normal file
10
src/Themes/OapTheme/Views/Shared/NotFound.liquid
Normal file
@@ -0,0 +1,10 @@
|
||||
<article class="page">
|
||||
<h1 class="page-title">404 : Page not found</h1>
|
||||
<p>
|
||||
Sorry, we've misplaced that URL or it's pointing to something that doesn't exist.
|
||||
</p>
|
||||
<p>
|
||||
<a href="/">Head back home</a>
|
||||
<span>to try finding it again.</span>
|
||||
</p>
|
||||
</article>
|
||||
Reference in New Issue
Block a user