cafe-theme 0.1.2 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_config.yml +31 -0
- data/_includes/head.html +1 -1
- data/_includes/openTimes.html +7 -1
- data/_layouts/gallery.html +2 -2
- data/_sass/nav.scss +3 -1
- data/assets/css/style.scss +2 -2
- metadata +16 -9
- data/_data/brand.yml +0 -5
- data/_data/contact.yml +0 -14
- data/_data/navigation.yml +0 -8
- data/_data/openingTimes.yml +0 -9
- data/_data/production.yml +0 -2
- data/_data/profiles.yml +0 -30
- data/_data/reviews.yml +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c65d61b055213822557cf22ea4ac3efbe6c5a31061184eb792fe82055311f4f
|
4
|
+
data.tar.gz: 3fb47a01afc20ffc8141831affa5e8321528628eecc3071efa12b8a115f64992
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 131c0d1a02c45d85af2c5d45aff544356b41096062d263ba9ee8ab2f961d484e96830b96ab5e489c142a541e0b15dd841c3e96a388d60c8e0cf1b3caa3f390b2
|
7
|
+
data.tar.gz: 45f81775b38716a89a4e1621b365e991d2641fd197428b943d36325c40a8755dcc93e98ade6ad84b60d271c2a0971173c3ca9382183d91c48fda79d39b51fc47
|
data/_config.yml
CHANGED
@@ -4,6 +4,37 @@ permalink: /:title
|
|
4
4
|
author: Gavin Douch
|
5
5
|
author_url: https://gavindou.ch
|
6
6
|
|
7
|
+
color_profiles:
|
8
|
+
- name: light
|
9
|
+
foreground_color: black
|
10
|
+
background_color: "#eeeeee"
|
11
|
+
transparent_nav_bar_text_color: "#eeeeee"
|
12
|
+
- name: dark
|
13
|
+
foreground_color: white
|
14
|
+
background_color: "#111111"
|
15
|
+
transparent_nav_bar_text_color: white
|
16
|
+
- name: pink
|
17
|
+
foreground_color: black
|
18
|
+
background_color: "#e2dbdd"
|
19
|
+
transparent_nav_bar_text_color: "#e2dbdd"
|
20
|
+
|
21
|
+
font_profiles:
|
22
|
+
- name: futuristic
|
23
|
+
font_url: https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@500&display=swap
|
24
|
+
title_font: '"Red Hat Display", "Century Gothic", Futura, "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif'
|
25
|
+
body_font: '"Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif'
|
26
|
+
- name: rustic
|
27
|
+
font_url: https://fonts.googleapis.com/css2?family=Condiment&display=swap
|
28
|
+
title_font: 'Condiment, "Brush Script MT", cursive'
|
29
|
+
body_font: '"Helvetica Neue", Helvetica, Arial, sans-serif'
|
30
|
+
- name: cursive
|
31
|
+
font_url: https://fonts.googleapis.com/css2?family=Cookie&display=swap
|
32
|
+
title_font: 'Cookie, "Brush Script MT", cursive'
|
33
|
+
body_font: '"Helvetica Neue", Helvetica, Arial, sans-serif'
|
34
|
+
- name: formal
|
35
|
+
title_font: 'Georgia, "Times New Roman", serif'
|
36
|
+
body_font: '"Helvetica Neue", Helvetica, Arial, serif'
|
37
|
+
|
7
38
|
plugins:
|
8
39
|
- jekyll-sitemap
|
9
40
|
|
data/_includes/head.html
CHANGED
@@ -25,7 +25,7 @@
|
|
25
25
|
|
26
26
|
<!-- Styles -->
|
27
27
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
28
|
-
{% for color_profile in site.
|
28
|
+
{% for color_profile in site.color_profiles %}
|
29
29
|
{% if color_profile.name == site.data.brand.color_profile %}
|
30
30
|
<meta name="profile-color" content="{{ color_profile.background_color }}">
|
31
31
|
{% endif %}
|
data/_includes/openTimes.html
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
<div class="openingTimes">
|
2
2
|
{% for day_of_week in site.data.openingTimes %}
|
3
3
|
<p>{{ day_of_week.days }}:</p>
|
4
|
-
<p>
|
4
|
+
<p>
|
5
|
+
{% if day_of_week.open and day_of_week.close %}
|
6
|
+
{{ day_of_week.open }} - {{ day_of_week.close }}
|
7
|
+
{% else %}
|
8
|
+
Closed
|
9
|
+
{% endif %}
|
10
|
+
</p>
|
5
11
|
{% endfor %}
|
6
12
|
</div>
|
data/_layouts/gallery.html
CHANGED
@@ -7,8 +7,8 @@ layout: default
|
|
7
7
|
<div id="gallery">
|
8
8
|
{% for description in page.descriptions %}
|
9
9
|
<div onclick=""> <!-- onclick lets iOS recognise hover events -->
|
10
|
-
<img src="{{ '/assets/images/gallery/' | append: forloop.index | append: '.webp' | relative_url }}" alt="{{ description }}"
|
11
|
-
<p>{{
|
10
|
+
<img src="{{ '/assets/images/gallery/' | append: forloop.index | append: '.webp' | relative_url }}" alt="{{ description }}">
|
11
|
+
<p>{{ description }}</p>
|
12
12
|
</div>
|
13
13
|
{% endfor %}
|
14
14
|
</div>
|
data/_sass/nav.scss
CHANGED
@@ -33,6 +33,7 @@ nav {
|
|
33
33
|
|
34
34
|
a {
|
35
35
|
color: $foreground-color;
|
36
|
+
text-shadow: 0 0 5px transparent;
|
36
37
|
}
|
37
38
|
}
|
38
39
|
|
@@ -57,8 +58,9 @@ nav {
|
|
57
58
|
align-items: center;
|
58
59
|
height: 100%;
|
59
60
|
padding: 0 10px;
|
60
|
-
transition: box-shadow 0.2s, color 0.2s;
|
61
|
+
transition: box-shadow 0.2s, color 0.2s, text-shadow, 0.2s;
|
61
62
|
color: $transparent-nav-bar-text-color;
|
63
|
+
text-shadow: 0 0 5px invert(grayscale($transparent-nav-bar-text-color));
|
62
64
|
|
63
65
|
&:hover, &.currentPage {
|
64
66
|
box-shadow: 0 -5px $accent-color inset;
|
data/assets/css/style.scss
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
---
|
3
3
|
|
4
4
|
// Color profiles
|
5
|
-
{% for color_profile in site.
|
5
|
+
{% for color_profile in site.color_profiles %}
|
6
6
|
{% if color_profile.name == site.data.brand.color_profile %}
|
7
7
|
$foreground-color: {{ color_profile.foreground_color }};
|
8
8
|
$background-color: {{ color_profile.background_color }};
|
@@ -11,7 +11,7 @@
|
|
11
11
|
{% endfor %}
|
12
12
|
|
13
13
|
// Font profiles
|
14
|
-
{% for font_profile in site.
|
14
|
+
{% for font_profile in site.font_profiles %}
|
15
15
|
{% if font_profile.name == site.data.brand.font_profile %}
|
16
16
|
{% if font_profile.font_url %}
|
17
17
|
@import url({{ font_profile.font_url }});
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cafe-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gavin Douch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-sitemap
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.4'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.4'
|
27
41
|
description:
|
28
42
|
email:
|
29
43
|
executables: []
|
@@ -31,13 +45,6 @@ extensions: []
|
|
31
45
|
extra_rdoc_files: []
|
32
46
|
files:
|
33
47
|
- _config.yml
|
34
|
-
- _data/brand.yml
|
35
|
-
- _data/contact.yml
|
36
|
-
- _data/navigation.yml
|
37
|
-
- _data/openingTimes.yml
|
38
|
-
- _data/production.yml
|
39
|
-
- _data/profiles.yml
|
40
|
-
- _data/reviews.yml
|
41
48
|
- _includes/banner.html
|
42
49
|
- _includes/footer.html
|
43
50
|
- _includes/gtag.html
|
data/_data/brand.yml
DELETED
data/_data/contact.yml
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
location:
|
2
|
-
address: X Location St, City, State, Country
|
3
|
-
google_maps: https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3151.808975176893!2d144.9651933152148!3d-37.81794314205539!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x6ad642b6bb2ad6c3%3A0x81524da322c3d6d5!2sFlinders%20Street%20Railway%20Station%20Police%20Booth!5e0!3m2!1sen!2sau!4v1654361982938!5m2!1sen!2sau
|
4
|
-
locale: en-AU
|
5
|
-
|
6
|
-
socials:
|
7
|
-
- platform: Facebook
|
8
|
-
link: https://www.facebook.com/example
|
9
|
-
- platform: Instagram
|
10
|
-
link: https://www.instagram.com/example
|
11
|
-
- platform: email
|
12
|
-
link: mailto:example@example.com
|
13
|
-
- platform: phone
|
14
|
-
link: tel:xxxxxxxxxx
|
data/_data/navigation.yml
DELETED
data/_data/openingTimes.yml
DELETED
data/_data/production.yml
DELETED
data/_data/profiles.yml
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
color_profiles:
|
2
|
-
- name: light
|
3
|
-
foreground_color: black
|
4
|
-
background_color: "#eeeeee"
|
5
|
-
transparent_nav_bar_text_color: "#eeeeee"
|
6
|
-
- name: dark
|
7
|
-
foreground_color: white
|
8
|
-
background_color: "#111111"
|
9
|
-
transparent_nav_bar_text_color: white
|
10
|
-
- name: pink
|
11
|
-
foreground_color: black
|
12
|
-
background_color: "#e2dbdd"
|
13
|
-
transparent_nav_bar_text_color: "#e2dbdd"
|
14
|
-
|
15
|
-
font_profiles:
|
16
|
-
- name: futuristic
|
17
|
-
font_url: https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@500&display=swap
|
18
|
-
title_font: '"Red Hat Display", "Century Gothic", Futura, "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif'
|
19
|
-
body_font: '"Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif'
|
20
|
-
- name: rustic
|
21
|
-
font_url: https://fonts.googleapis.com/css2?family=Condiment&display=swap
|
22
|
-
title_font: 'Condiment, "Brush Script MT", cursive'
|
23
|
-
body_font: '"Helvetica Neue", Helvetica, Arial, sans-serif'
|
24
|
-
- name: cursive
|
25
|
-
font_url: https://fonts.googleapis.com/css2?family=Cookie&display=swap
|
26
|
-
title_font: 'Cookie, "Brush Script MT", cursive'
|
27
|
-
body_font: '"Helvetica Neue", Helvetica, Arial, sans-serif'
|
28
|
-
- name: formal
|
29
|
-
title_font: 'Georgia, "Times New Roman", serif'
|
30
|
-
body_font: '"Helvetica Neue", Helvetica, Arial, serif'
|
data/_data/reviews.yml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
- title: Great Café
|
2
|
-
username: John Doe
|
3
|
-
message: Loved the coffee and the views. I'll be coming back!
|
4
|
-
link: https://example.com/1
|
5
|
-
stars: 5
|
6
|
-
- title: Brilliant!
|
7
|
-
username: Jane Doe
|
8
|
-
message: Staff were exceptional and the breakfast was lovely.
|
9
|
-
link: https://example.com/2
|
10
|
-
stars: 5
|
11
|
-
- title: Friendly staff
|
12
|
-
username: Smith Doe
|
13
|
-
message: I have never seen a better looking café, and the staff were so friendly. I'm so glad I live nearby.
|
14
|
-
link: https://example.com/3
|
15
|
-
stars: 5
|