Skip to content

Commit a08ad51

Browse files
committed
Layout fixes in the footer
1 parent 1f98975 commit a08ad51

File tree

4 files changed

+41
-61
lines changed

4 files changed

+41
-61
lines changed

README.md

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1 @@
1-
# Mobile App Landing Page
2-
This is a template for ...
3-
4-
## Installation
5-
6-
Add this line to your Jekyll site's `Gemfile`:
7-
8-
```ruby
9-
gem "mobile-app-landing-page"
10-
```
11-
12-
And add this line to your Jekyll site's `_config.yml`:
13-
14-
```yaml
15-
theme: mobile-app-landing-page
16-
```
17-
18-
And then execute:
19-
20-
$ bundle
21-
22-
Or install it yourself as:
23-
24-
$ gem install mobile-app-landing-page
25-
26-
## Usage
27-
28-
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
29-
30-
## Contributing
31-
32-
Bug reports and pull requests are welcome on GitHub at https://github.com/emilbaehr/app-landing. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
33-
34-
## Development
35-
36-
To set up your environment to develop this theme, run `bundle install`.
37-
38-
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
39-
40-
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
41-
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-start.gemspec` accordingly.
42-
43-
## License
44-
45-
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
461

_includes/features.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="features">
22
<div class="feature">
3-
<div class="featureIcon">
3+
<div>
44
<span class="fa-stack fa-1x">
55
<i class="iconBack fas fa-circle fa-stack-2x"></i>
66
<i class="iconTop fas fa-mobile fa-stack-1x"></i>
@@ -17,7 +17,7 @@ <h4>
1717
</div>
1818

1919
<div class="feature">
20-
<div class="featureIcon">
20+
<div>
2121
<span class="fa-stack fa-1x">
2222
<i class="iconBack fas fa-circle fa-stack-2x"></i>
2323
<i class="iconTop fas fa-adjust fa-stack-1x"></i>
@@ -34,7 +34,7 @@ <h4>
3434
</div>
3535

3636
<div class="feature">
37-
<div class="featureIcon">
37+
<div>
3838
<span class="fa-stack fa-1x">
3939
<i class="iconBack fas fa-circle fa-stack-2x"></i>
4040
<i class="iconTop fas fa-cloud fa-stack-1x"></i>
@@ -51,7 +51,7 @@ <h4>
5151
</div>
5252

5353
<div class="feature">
54-
<div class="featureIcon">
54+
<div>
5555
<span class="fa-stack fa-1x">
5656
<i class="iconBack fas fa-circle fa-stack-2x"></i>
5757
<i class="iconTop fas fa-expand-arrows-alt fa-stack-1x"></i>
@@ -68,7 +68,7 @@ <h4>
6868
</div>
6969

7070
<div class="feature">
71-
<div class="featureIcon">
71+
<div>
7272
<span class="fa-stack fa-1x">
7373
<i class="iconBack fas fa-circle fa-stack-2x"></i>
7474
<i class="iconTop fas fa-history fa-stack-1x"></i>
@@ -85,7 +85,7 @@ <h4>
8585
</div>
8686

8787
<div class="feature">
88-
<div class="featureIcon">
88+
<div>
8989
<span class="fa-stack fa-1x">
9090
<i class="iconBack fas fa-circle fa-stack-2x"></i>
9191
<i class="iconTop fas fa-database fa-stack-1x"></i>

_includes/footer.html

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,29 @@
11
<footer>
22
<p class="footerText">Designed and developed by <a href="http://emilbaehr.com">Emil Baehr</a> in Copenhagen</p>
33
<div class="footerIcons">
4-
<div class="facebookIcon">
5-
<span class="fa-stack fa-1x">
6-
<i class="iconBack fas fa-circle fa-stack-2x"></i>
7-
<i class="iconTop fab fa-facebook fa-stack-1x"></i>
8-
</span>
4+
<div>
5+
<a href="https://">
6+
<span class="fa-stack fa-1x">
7+
<i class="socialIconBack fas fa-circle fa-stack-2x"></i>
8+
<i class="socialIconTop fab fa-facebook fa-stack-1x"></i>
9+
</span>
10+
</a>
11+
</div>
12+
<div>
13+
<a href="https://">
14+
<span class="fa-stack fa-1x">
15+
<i class="socialIconBack fas fa-circle fa-stack-2x"></i>
16+
<i class="socialIconTop fab fa-twitter fa-stack-1x"></i>
17+
</span>
18+
</a>
19+
</div>
20+
<div>
21+
<a href="https://">
22+
<span class="fa-stack fa-1x">
23+
<i class="socialIconBack fas fa-circle fa-stack-2x"></i>
24+
<i class="socialIconTop fas fa-envelope fa-stack-1x"></i>
25+
</span>
26+
</a>
927
</div>
1028
</div>
1129
</footer>

_sass/layout.scss

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,6 @@ nav > ul li a {
196196
width: calc(100%/3 - 30px);
197197
}
198198

199-
.featureIcon {
200-
font-size: 40px;
201-
}
202-
203199
.iconBack {
204200
color: rgba(#000000, 0.1);
205201
}
@@ -208,6 +204,15 @@ nav > ul li a {
208204
color: #1d63ea;
209205
}
210206

207+
.socialIconBack {
208+
color: rgba(#000000, 0.1);
209+
}
210+
211+
.socialIconTop {
212+
color:rgba(#000, 0.6);
213+
}
214+
215+
211216
.featureText {
212217
margin-left: 18px;
213218
}
@@ -226,18 +231,20 @@ footer {
226231
grid-area: f;
227232
display: flex;
228233
flex-wrap: wrap;
229-
flex: 0 1 auto;
230234
justify-content: center;
231235
align-content: center;
232236
}
233237

234238
.footerText {
239+
display: block;
235240
width: 100%;
241+
text-align: center;
236242
padding-top: 100px;
237243
padding-bottom: 100px;
238244
margin: 0px;
239245
}
240246

241247
.footerIcons {
248+
padding-bottom: 100px;
242249
display: flex;
243250
}

0 commit comments

Comments
 (0)