-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
264 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
component-library/components/global/error/error.bookshop.yml
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
component-library/components/global/error/error.eleventy.liquid
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
title: Error | ||
layout: layouts/base.html | ||
permalink: /404.html | ||
eleventyExcludeFromCollections: true | ||
--- | ||
<section class="error"> | ||
<img src="/images/404.png" alt="404 Error" /> | ||
<h1>We couldn't find the page you are looking for.</h1> | ||
{% bookshop "global/button" path: "/" button_text: "Home" button_color: "#D9CFFF" button_text_color: "black" %} | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
{ | ||
"primary_color": "#e53b2a", | ||
"secondary_color": "#fffbf3", | ||
"primary_color": "#034AD8", | ||
"secondary_color": "#D9CFFF", | ||
"gray_color": "#808080", | ||
"anchor_color": "#ffba08", | ||
"background_effects_color": "#faaa8f" | ||
"header_color": "#181512", | ||
"text_color": "#181222", | ||
"light_text_color": "#4d4d4d", | ||
"white_text_color": "#dddddd", | ||
"deactive_color": "#ababab" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{% assign c = 'pagination' %} | ||
|
||
{% assign variable = pagination.hrefs | length %} | ||
{% if variable > 1 %} | ||
<nav class="{{ c }}"> | ||
<ul> | ||
{% if pagination.href.previous %} | ||
<li class="page-item"> | ||
<a | ||
class="page-link btn btn-secondary" | ||
href="{{pagination.href.previous}}" | ||
> | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="20.657" | ||
height="11.314" | ||
viewBox="0 0 20.657 11.314" | ||
style="transform: scale(-1, 1)" | ||
> | ||
<g data-name="Group 12"> | ||
<path d="M0 4.657h18v2H0z" data-name="Rectangle 2400"></path> | ||
<path | ||
d="M13.586 9.9l5.6568542-5.6568542 1.4142136 1.4142135-5.6568542 5.6568543z" | ||
data-name="Rectangle 2401" | ||
></path> | ||
<path | ||
d="M15 0l5.6568542 5.6568542-1.4142135 1.4142136-5.6568543-5.6568542z" | ||
data-name="Rectangle 2402" | ||
></path> | ||
</g> | ||
</svg> | ||
</a> | ||
</li> | ||
{% endif %} | ||
{% for pageEntry in pagination.hrefs %} | ||
<li class="page-item"> | ||
<a | ||
class="page-link btn btn-secondary {% if page.url == pageEntry %}active{% endif %}" | ||
href="{{pageEntry}}" | ||
>{{forloop.index}} | ||
</a> | ||
</li> | ||
{% endfor %} | ||
{% if pagination.href.next %} | ||
<li class="page-item"> | ||
<a | ||
class="page-link btn btn-secondary" | ||
href="{{ pagination.href.next }}" | ||
> | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="20.657" | ||
height="11.314" | ||
viewBox="0 0 20.657 11.314" | ||
> | ||
<g data-name="Group 12"> | ||
<path d="M0 4.657h18v2H0z" data-name="Rectangle 2400"></path> | ||
<path | ||
d="M13.586 9.9l5.6568542-5.6568542 1.4142136 1.4142135-5.6568542 5.6568543z" | ||
data-name="Rectangle 2401" | ||
></path> | ||
<path | ||
d="M15 0l5.6568542 5.6568542-1.4142135 1.4142136-5.6568543-5.6568542z" | ||
data-name="Rectangle 2402" | ||
></path> | ||
</g> | ||
</svg> | ||
</a> | ||
</li> | ||
{% endif %} | ||
</ul> | ||
</nav> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.error { | ||
margin: 0 auto; | ||
text-align: center; | ||
|
||
img { | ||
max-width: 500px; | ||
} | ||
|
||
h1 { | ||
padding-block: 64px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,7 @@ | |
} | ||
|
||
img { | ||
border-radius: 8px; | ||
border-radius: $base-border-radius; | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.