Fix some layout things
This commit is contained in:
@@ -34,7 +34,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</header>
|
</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>
|
<main>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
@@ -56,6 +57,5 @@
|
|||||||
|
|
||||||
{% resources type: "FootScript" %}
|
{% resources type: "FootScript" %}
|
||||||
</body>
|
</body>
|
||||||
</head>
|
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -14,6 +14,7 @@
|
|||||||
{% style name: "oaptheme-styles" %}
|
{% style name: "oaptheme-styles" %}
|
||||||
|
|
||||||
{% resources type: "HeadLink" %}
|
{% resources type: "HeadLink" %}
|
||||||
|
|
||||||
<script src="https://cdn.tailwindcss.com"></script>
|
<script src="https://cdn.tailwindcss.com"></script>
|
||||||
<style type="text/tailwindcss">
|
<style type="text/tailwindcss">
|
||||||
div.richtext a {
|
div.richtext a {
|
||||||
@@ -44,24 +45,14 @@
|
|||||||
@apply text-sm text-red-600;
|
@apply text-sm text-red-600;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
{% resources type: "Stylesheet" %}
|
{% resources type: "Stylesheet" %}
|
||||||
{% resources type: "HeadScript" %}
|
{% resources type: "HeadScript" %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body dir="{{ Culture.Dir }}">
|
<body dir="{{ Culture.Dir }}">
|
||||||
<header>
|
<header>
|
||||||
<div class="container">
|
here is the header
|
||||||
<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>
|
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main class="container mx-auto flex flex-col max-w-screen-md p-6">
|
<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">
|
<footer class="container mx-auto flex flex-row max-w-screen-md p-6">
|
||||||
{% assign year = "now" | date: "%Y" %}
|
{% assign year = "now" | date: "%Y" %}
|
||||||
<span>© <time dateTime="{{ year }}">{{ year }}</time> - Overseas Auto Protection - All rights reserved.</span>
|
<span>© <time dateTime="{{ year }}">{{ year }}</time> - Overseas Auto Protection - All rights
|
||||||
</footer>
|
reserved.</span>
|
||||||
|
|
||||||
<footer class="footer">
|
|
||||||
<div class="container">
|
|
||||||
<hr />
|
|
||||||
<small>
|
|
||||||
©
|
|
||||||
{% assign year = "now" | date: "%Y" %}
|
|
||||||
<time dateTime="{{ year }}">{{ year }}</time>
|
|
||||||
All rights reserved.
|
|
||||||
</small>
|
|
||||||
</div>
|
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
{% resources type: "FootScript" %}
|
{% resources type: "FootScript" %}
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</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