unstruction-jekyll-theme 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6e12e7fa8e28659a4eac923197ab4dd2db9b9ac3fbe4bc7270cc683dfc390bc
4
- data.tar.gz: 66911f16e18a7f53bd798dd16355489af450e07adc92565104e3cf03b0a88f49
3
+ metadata.gz: 9817a04285307d63377e6702ec59f218c58dded5a911eddb0426ccd94efa9b02
4
+ data.tar.gz: e076145895f38aa7f51085af02631bba7dea8a28a87bd0bb4341096e5b82554e
5
5
  SHA512:
6
- metadata.gz: c835037af6246c88bbf3cdcdbbf7d036ee4d7d64ad9edea2417e79f42bf1ff46071e760574b7f06551af11861efc01e5ee6a4fa5575cb13aa67c83e43d6399ea
7
- data.tar.gz: f7756219f678befc2436c780b5225da6fff95564819b2d0f616a175b20bf579438b120de1e2bdf308d3120688aa4a3558dfeddd7647b1f052c75dd0aa7a30632
6
+ metadata.gz: d0eeced5c5d65fbfb35b272ede8c3483b7afa456227b493e2f65317879338bc7562b15dcdaffc9a01b0217420ac0103584e72fd828bb98d93b4cd8679c047d02
7
+ data.tar.gz: 3c1690f0b30430cb4b71711de4a0953d16e07f7f4a87219aa490cfb98aa9c11271a11a6dc7992afc5ab76d15d2f05fe053c4709c380ae4cc76857448b2f10a8d
@@ -1,4 +1,4 @@
1
- MIT License
1
+ The MIT License (MIT)
2
2
 
3
3
  Copyright (c) 2024 Digital Malayali Studio
4
4
 
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
9
  copies of the Software, and to permit persons to whom the Software is
10
10
  furnished to do so, subject to the following conditions:
11
11
 
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
14
 
15
15
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/_config.yml ADDED
@@ -0,0 +1,27 @@
1
+ # Jekyll
2
+ theme: unstruction-jekyll-theme
3
+
4
+ # Site Configuration
5
+ name: Unstruction # Name of your website
6
+ favicon: assets/favicon.svg # SVG favicon of your website
7
+ url: https://digitalmalayalistudio.github.io/linkhub-jekyll-theme # URL of your website
8
+ image: assets/preview.webp # Also used for SEO (og:image)
9
+ color: orange # Preferred theme color based on the Shoelace color tokens. Visit https://shoelace.style/tokens/color#theme-tokens.
10
+ date: Jan 1, 3000, 00:00:00 # Set the planned launch date and time in an ISO 8601 format or use the format shown in the example. Time is optional. Remove this variable if you don't need a countdown.
11
+
12
+ # Contacts
13
+ phone: +91123456789 #Remove any that are not needed
14
+ mail: mail@example.com
15
+ whatsapp: 91123456789
16
+ location: https://maps.google.com/location
17
+
18
+ # Defaults
19
+ defaults:
20
+ -
21
+ scope:
22
+ path: ""
23
+ values:
24
+ layout: "default"
25
+
26
+ # Exclude
27
+ exclude: [README.md, Gemfile.lock, .jekyll-cache/, .github/, CHANGELOG.md, Gemfile, LICENSE.txt, funding.yml, unstruction-jekyll-theme.gemspec]
@@ -0,0 +1,25 @@
1
+ <br><small>Feel free to reach out to us.</small>
2
+ <div slot="footer">
3
+ <sl-button-group label="Alignment">
4
+ {% if site.phone %}
5
+ <sl-button size="medium" circle href="tel:{{ site.phone }}">
6
+ <sl-icon name="telephone" label="Phone"></sl-icon>
7
+ </sl-button>
8
+ {% endif %}
9
+ {% if site.mail %}
10
+ <sl-button size="medium" circle href="mailto:{{ site.mail }}">
11
+ <sl-icon name="envelope" label="Mail"></sl-icon>
12
+ </sl-button>
13
+ {% endif %}
14
+ {% if site.whatsapp %}
15
+ <sl-button size="medium" circle href="https://wa.me/{{ site.whatsapp }}">
16
+ <sl-icon name="whatsapp" label="WhatsApp"></sl-icon>
17
+ </sl-button>
18
+ {% endif %}
19
+ {% if site.location %}
20
+ <sl-button size="medium" circle href="{{ site.location }}" target="_blank">
21
+ <sl-icon name="geo-alt" label="Map"></sl-icon>
22
+ </sl-button>
23
+ {% endif %}
24
+ </sl-button-group>
25
+ </div>
@@ -0,0 +1,77 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <meta name="description"
8
+ content="This website is under construction. Please check back later.">
9
+ <meta property="og:title" content="{{ site.name }} - Under Construction">
10
+ <meta property="og:description"
11
+ content="This website is under construction. Please check back later.">
12
+ <meta property="og:type" content="website">
13
+ <meta property="og:url" content="{{ site.url }}">
14
+ <meta property="og:image" content="{{ site.url }}/{{ site.image }}">
15
+ <title>{{ site.name }} - Under Construction</title>
16
+ <link rel="icon" href="{{ site.favicon }}" type="image/svg+xml">
17
+ <script src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.18.0/dist/utilities/shoelace.js"
18
+ data-shoelace="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.0.0/dist/"></script>
19
+ <link rel="stylesheet" media="(prefers-color-scheme:light)"
20
+ href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.18.0/cdn/themes/light.css" />
21
+ <link rel="stylesheet" media="(prefers-color-scheme:dark)"
22
+ href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.18.0/cdn/themes/dark.css"
23
+ onload="document.documentElement.classList.add('sl-theme-dark');" />
24
+ <script type="module"
25
+ src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.18.0/cdn/components/card/card.js"></script>
26
+ {% if site.phone or site.mail or site.whatsapp or site.location %}
27
+ <script type="module"
28
+ src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.18.0/cdn/components/button/button.js"></script>
29
+ <script type="module"
30
+ src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.18.0/cdn/components/icon/icon.js"></script>
31
+ <style>
32
+ .card-overview small{ color: var(--sl-color-neutral-700);} .card-overview [slot='footer']{ display: flex; justify-content: space-between; align-items: center;} sl-button::part(base){ color: var(--sl-color-gray-50); background-color: var(--theme-color-600); border-color: var(--theme-color-300);} sl-button::part(base):hover{ background-color: var(--theme-color-500);}
33
+ </style>
34
+ {% endif %}
35
+ <script type="module"
36
+ src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.18.0/cdn/components/icon-button/icon-button.js"></script>
37
+ <script type="module"
38
+ src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.18.0/cdn/components/button-group/button-group.js"></script>
39
+ <script type="module"
40
+ src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.18.0/cdn/components/badge/badge.js"></script>
41
+ <style>
42
+ :root {
43
+ --theme-color-300: var(--sl-color-{{ site.color | downcase }}-300);
44
+ --theme-color-500: var(--sl-color-{{ site.color | downcase }}-500);
45
+ --theme-color-600: var(--sl-color-{{ site.color | downcase }}-600);
46
+ }
47
+ body{ min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; align-items: center; font-family: var(--sl-font-sans); line-height: var(--sl-line-height-normal);} .card-overview{ max-width: 350px;} sl-badge::part(base){ background-color: var(--theme-color-600); --pulse-color: var(--theme-color-600);} sl-icon-button::part(base):hover{ color: var(--theme-color-600);} .copyright{ color: var(--sl-color-neutral-600); text-align: center; margin-top: 2rem;} .copyright a{ color: var(--theme-color-600);}
48
+ </style>
49
+ </head>
50
+
51
+ <body>
52
+ <sl-card class="card-overview">
53
+ <img slot="image" src="{{ site.image }}" alt="{{ site.name }} - Under Construction" width="350">
54
+ <strong>{{ site.name }}</strong><br>
55
+ This website is under construction.
56
+ {% if site.date %}
57
+ <br>Please check back later in <sl-badge pill pulse
58
+ class="days"></sl-badge> days, <sl-badge pill pulse class="hr"></sl-badge> hours, <sl-badge
59
+ pill pulse class="min"></sl-badge> minutes and <sl-badge pill pulse
60
+ class="sec"></sl-badge> seconds!
61
+ <script>
62
+ const id=setInterval(timer, 1000); function timer(){ const target=new Date('{{ site.date}}').getTime(); const current=new Date().getTime(); const diff=target - current; const s=1000; const m=s * 60; const h=m * 60; const d=h * 24; let days=Math.floor(diff / d); let hr=Math.floor((diff % d) / h); let min=Math.floor((diff % h) / m); let sec=Math.floor((diff % m) / s); document.querySelector('.days').textContent=days; document.querySelector('.hr').textContent=hr; document.querySelector('.min').textContent=min; document.querySelector('.sec').textContent=sec; if (diff <=0){ clearInterval(id); document.querySelector('.days').textContent='0'; document.querySelector('.hr').textContent='0'; document.querySelector('.min').textContent='0'; document.querySelector('.sec').textContent='0';}} timer();
63
+ </script>
64
+ {% else %}
65
+ <br>Please check back later!
66
+ {% endif %}
67
+ {% if site.phone or site.mail or site.whatsapp or site.location %}
68
+ {% include contacts.html %}
69
+ {% endif %}
70
+ </sl-card>
71
+
72
+ <small class="copyright"><sl-icon-button name="github" label="Settings" style="font-size: 1.2rem;"
73
+ href="https://github.com/digitalmalayalistudio/unstruction-jekyll-theme/"
74
+ target="_blank"></sl-icon-button><br>Unstruction v{{ theme.version }} by
75
+ <a href="http://studio.digitalmalayali.in/">Digital Malayali Studio</a><br>
76
+ © {{ "now" | date: "%Y" }} {{ site.name }}</small>
77
+ </body>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg width="100%" height="100%" viewBox="0 0 4 4" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
4
+ <path d="M3.486,2.196C3.494,2.132 3.5,2.068 3.5,2C3.5,1.932 3.494,1.868 3.486,1.804L3.908,1.474C3.946,1.444 3.956,1.39 3.932,1.346L3.532,0.654C3.508,0.61 3.454,0.594 3.41,0.61L2.912,0.81C2.808,0.73 2.696,0.664 2.574,0.614L2.498,0.084C2.492,0.036 2.45,-0 2.4,-0L1.6,-0C1.55,-0 1.508,0.036 1.502,0.084L1.426,0.614C1.304,0.664 1.192,0.732 1.088,0.81L0.59,0.61C0.544,0.592 0.492,0.61 0.468,0.654L0.068,1.346C0.042,1.39 0.054,1.444 0.092,1.474L0.514,1.804C0.506,1.868 0.5,1.934 0.5,2C0.5,2.066 0.506,2.132 0.514,2.196L0.092,2.526C0.054,2.556 0.044,2.61 0.068,2.654L0.468,3.346C0.492,3.39 0.546,3.406 0.59,3.39L1.088,3.19C1.192,3.27 1.304,3.336 1.426,3.386L1.502,3.916C1.508,3.964 1.55,4 1.6,4L2.4,4C2.45,4 2.492,3.964 2.498,3.916L2.574,3.386C2.696,3.336 2.808,3.268 2.912,3.19L3.41,3.39C3.456,3.408 3.508,3.39 3.532,3.346L3.932,2.654C3.956,2.61 3.946,2.556 3.908,2.526L3.486,2.196ZM2,1.045C2.527,1.045 2.955,1.473 2.955,2C2.955,2.527 2.527,2.955 2,2.955C1.473,2.955 1.045,2.527 1.045,2C1.045,1.473 1.473,1.045 2,1.045ZM2,2.7C1.614,2.7 1.3,2.386 1.3,2C1.3,1.614 1.614,1.3 2,1.3C2.386,1.3 2.7,1.614 2.7,2C2.7,2.386 2.386,2.7 2,2.7Z" style="fill:rgb(255,137,39);"/>
5
+ </svg>
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unstruction-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Digital Malayali Studio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-06 00:00:00.000000000 Z
11
+ date: 2024-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -45,8 +45,13 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - LICENSE
48
+ - LICENSE.txt
49
49
  - README.md
50
+ - _config.yml
51
+ - _includes/contacts.html
52
+ - _layouts/default.html
53
+ - assets/favicon.svg
54
+ - assets/preview.webp
50
55
  homepage: https://digitalmalayalistudio.github.io/linkhub-jekyll-theme
51
56
  licenses:
52
57
  - MIT