hey-world 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a225ea32dfeef4cb61ca447a275db040c1d116450c29fda2fb6937bcddd8bcf
4
- data.tar.gz: a10ef45365be03a13573ac278f807e26fa3e44bfbe023ef38f4a1c1abf246d6c
3
+ metadata.gz: 748ebe5fd651bf049746a13c69abdf091791e13f6a5ecd95f7b5d888c2827a0d
4
+ data.tar.gz: b342578f7a1b3d804909a401b306b529d5725319b81352b2128828a8594114c3
5
5
  SHA512:
6
- metadata.gz: 2fdf2be46e0d05a0c0c442a6630419c35e9ce76e54f668aced9a7d219c116c392b52cbe8de7ac7e7c7b44fcc1c68a7b536d764ed0dc1e4d106b7ccca4518edcf
7
- data.tar.gz: '082af9208cfa2bf808e521f418325b3be1c18387b4f6cb6a49d800dc09d956668aa2585e2fc236708c8a9a5b6a27f5e337c88559fab8933756cfbc0c76c233c5'
6
+ metadata.gz: bcb7741dfbcbacc6132233e1075cc62d7a12a37286144828a2d0dd21cae1ccbba6ea7a98d96daa6fd077fc2265d8b568a396e46c527be41035a97c6dee6d4fb0
7
+ data.tar.gz: ad9b74eb4e740e0233a82e0770ef921c18adac716501f2b77039dd6793fb4b88b6eae158ae36244afee0ef39e917426f88fec3a5bef0b3706ea5c86c062e4426
data/README.md CHANGED
@@ -1,6 +1,18 @@
1
1
  # hey-world
2
2
 
3
- This theme is inspired by Hey by Basecamp. They have recently introduce https://hey.com/world/ and really like the minimal look for the blogging page. Here is one example by [DHH](https://world.hey.com/dhh/)
3
+ This theme is inspired by Hey by Basecamp. They have recently introduced https://hey.com/world/ and I really like the minimal look for the blogging page. Here is one example by [DHH](https://world.hey.com/dhh/).
4
+
5
+ This is what this theme looks like for a jekyll project:
6
+ ![sample](./sample.png)
7
+
8
+ Or you can visit [my blog](https://marcushwz.netlify.app/) where I have hosted it on Netlify using this theme.
9
+
10
+ ## Usage
11
+
12
+ This theme is tested to be working on Netlify, simply follow the installation procedures below and you will have the theme in place.
13
+ The idea of this theme is to keep things very minimal, so the theme is mainly focusing on the index.html and page.html. There are no suport for `Tag or Categories` for now.
14
+
15
+ This theme is not tested on GitHub Pages, but it seems like GitHub Pages does not support gem based theme. So you might have to copy those necessary folders into your Jekyll project if you are planning to host your blog on GitHub Pages.
4
16
 
5
17
 
6
18
  ## Installation
@@ -0,0 +1,49 @@
1
+ <div class="grid-item">
2
+ <div class="newsletter-container">
3
+ <!-- Begin Mailchimp Signup Form -->
4
+ <div id="mc_embed_signup">
5
+ <form
6
+ action="//{{site.mailchimp}}"
7
+ method="post"
8
+ id="mc-embedded-subscribe-form"
9
+ name="mc-embedded-subscribe-form"
10
+ target="_blank"
11
+ >
12
+ <label for="EMAIL"
13
+ >Subscribe below to get future posts from<br /><span
14
+ >{{site.author.name}}</span
15
+ ></label
16
+ >
17
+ <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
18
+ <div style="position: absolute; left: -5000px" aria-hidden="true">
19
+ <input
20
+ type="text"
21
+ name="b_becbf687e29d6ebb24d593c8b_d1b189ae5a"
22
+ tabindex="-1"
23
+ value=""
24
+ />
25
+ </div>
26
+ <div class="form-input">
27
+ <input
28
+ type="email"
29
+ value=""
30
+ name="EMAIL"
31
+ class="email"
32
+ id="mce-EMAIL"
33
+ placeholder="Type your email..."
34
+ required
35
+ />
36
+ <input
37
+ type="submit"
38
+ value="Subscribe"
39
+ name="subscribe"
40
+ id="mc-embedded-subscribe"
41
+ class="button"
42
+ />
43
+ </div>
44
+ </form>
45
+ </div>
46
+
47
+ <!--End mc_embed_signup-->
48
+ </div>
49
+ </div>
@@ -27,6 +27,8 @@
27
27
  </style>
28
28
  </head>
29
29
  <body>
30
- <div class="grid-container">{% include header.html %} {{ content }}</div>
30
+ <div class="main-container">
31
+ <div class="grid-container">{% include header.html %} {{ content }}</div>
32
+ </div>
31
33
  </body>
32
34
  </html>
data/_layouts/post.html CHANGED
@@ -11,3 +11,5 @@ layout: default
11
11
  <div class="content">{{content}}</div>
12
12
  </article>
13
13
  </div>
14
+
15
+ {% if site.mailchimp %} {% include subscribe-form.html %} {% endif %}
@@ -1,13 +1,17 @@
1
1
  body {
2
2
  background-color: #1b2733;
3
- // font-family: "Roboto Slab", serif;
4
3
  font-family: "Montserrat", sans-serif;
5
- padding: 0 0 6.4rem;
4
+ }
5
+
6
+ .main-container {
7
+ position: relative;
8
+ padding: 1.6rem;
9
+ position: relative;
6
10
  }
7
11
 
8
12
  .grid-container {
13
+ position: relative;
9
14
  display: grid;
10
- padding: 10px;
11
15
  max-width: 790px;
12
16
  margin: 0 auto;
13
17
  justify-content: center;
@@ -104,6 +108,70 @@ body {
104
108
  }
105
109
  }
106
110
 
111
+ .newsletter-container {
112
+ text-align: center;
113
+ border-radius: 0.2rem;
114
+ border: 1px solid #3a444e;
115
+ color: #ece9e6;
116
+ margin: 0 auto;
117
+ max-width: 26rem;
118
+ margin-bottom: 1.6rem;
119
+ transform: rotate(-1deg);
120
+ box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.15);
121
+ padding: 2em;
122
+ .form-input {
123
+ display: flex;
124
+ justify-content: center;
125
+ }
126
+ .title {
127
+ font-weight: bold;
128
+ font-size: 24px;
129
+ }
130
+ .content {
131
+ margin-top: 1.6rem;
132
+ }
133
+ label {
134
+ font-size: 13px;
135
+ font-weight: bold;
136
+ box-sizing: border-box;
137
+ }
138
+ input[type="email"] {
139
+ padding: 12px 20px;
140
+ margin: 8px 0;
141
+ box-sizing: border-box;
142
+ border-top-left-radius: 3rem;
143
+ border: 1px solid #3a444e;
144
+ color: #ece9e6;
145
+ font-size: 14px;
146
+ border-right-color: transparent;
147
+ border-bottom-left-radius: 3rem;
148
+ background-color: #1b2733;
149
+ ::placeholder {
150
+ color: #5e656c;
151
+ opacity: 1;
152
+ }
153
+ }
154
+ input[type="email"]:focus,
155
+ textarea:focus {
156
+ outline: none;
157
+ box-shadow: 0 0 5px rgba(81, 203, 238, 1);
158
+ border: 1px solid rgba(81, 203, 238, 1);
159
+ }
160
+ input[type="submit"] {
161
+ border: 1px solid #3a444e;
162
+ border-left-color: transparent;
163
+ margin: 8px 0;
164
+ box-sizing: border-box;
165
+ border-top-right-radius: 3rem;
166
+ border-bottom-right-radius: 3rem;
167
+ color: #ece9e6;
168
+ font-size: 14px;
169
+ padding: 0.5em 0.9em;
170
+ cursor: pointer;
171
+ background-color: #2d3643;
172
+ }
173
+ }
174
+
107
175
  .post-container {
108
176
  position: relative;
109
177
  padding: 1.6rem;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hey-world
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcus Heng
@@ -69,6 +69,7 @@ files:
69
69
  - README.md
70
70
  - _includes/header.html
71
71
  - _includes/main.scss
72
+ - _includes/subscribe-form.html
72
73
  - _layouts/default.html
73
74
  - _layouts/page.html
74
75
  - _layouts/post.html