Skip to content

Commit 3935b00

Browse files
author
Matthias
committed
TinyHouse project placeholder added.
1 parent cb92972 commit 3935b00

File tree

11 files changed

+8
-71
lines changed

11 files changed

+8
-71
lines changed

_pages/projects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ layout: page
33
title: projects
44
permalink: /projects/
55
description: Some of my coding, tinkering, and construction projects. Work in progress...
6-
nav: false
6+
nav: true
77
nav_order: 3
8-
display_categories: [work, fun]
8+
display_categories: [work, fun, living]
99
horizontal: false
1010
---
1111

_projects/1_project.md

Lines changed: 6 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,18 @@
11
---
22
layout: page
3-
title: project 1
4-
description: with background image
5-
img: assets/img/12.jpg
3+
title: My TinyHouse on Wheels
4+
description: In 2021, I moved into my self-designed and self-built TinyHouse.
5+
img: assets/img/tiny/cover.png
66
importance: 1
7-
category: work
7+
category: living
88
related_publications: true
99
---
1010

11-
Every project has a beautiful feature showcase page.
12-
It's easy to include images in a flexible 3-column grid format.
13-
Make your photos 1/3, 2/3, or full width.
14-
15-
To give your project a background in the portfolio page, just add the img tag to the front matter like so:
11+
More pictures about the construction process to come...
1612

1713
---
1814
layout: page
1915
title: project
2016
description: a project with a background image
21-
img: /assets/img/12.jpg
17+
img: /assets/img/tiny/cover.png
2218
---
23-
24-
<div class="row">
25-
<div class="col-sm mt-3 mt-md-0">
26-
{% include figure.liquid loading="eager" path="assets/img/1.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
27-
</div>
28-
<div class="col-sm mt-3 mt-md-0">
29-
{% include figure.liquid loading="eager" path="assets/img/3.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
30-
</div>
31-
<div class="col-sm mt-3 mt-md-0">
32-
{% include figure.liquid loading="eager" path="assets/img/5.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
33-
</div>
34-
</div>
35-
<div class="caption">
36-
Caption photos easily. On the left, a road goes through a tunnel. Middle, leaves artistically fall in a hipster photoshoot. Right, in another hipster photoshoot, a lumberjack grasps a handful of pine needles.
37-
</div>
38-
<div class="row">
39-
<div class="col-sm mt-3 mt-md-0">
40-
{% include figure.liquid loading="eager" path="assets/img/5.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
41-
</div>
42-
</div>
43-
<div class="caption">
44-
This image can also have a caption. It's like magic.
45-
</div>
46-
47-
You can also put regular text between your rows of images, even citations {% cite einstein1950meaning %}.
48-
Say you wanted to write a bit about your project before you posted the rest of the images.
49-
You describe how you toiled, sweated, _bled_ for your project, and then... you reveal its glory in the next row of images.
50-
51-
<div class="row justify-content-sm-center">
52-
<div class="col-sm-8 mt-3 mt-md-0">
53-
{% include figure.liquid path="assets/img/6.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
54-
</div>
55-
<div class="col-sm-4 mt-3 mt-md-0">
56-
{% include figure.liquid path="assets/img/11.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
57-
</div>
58-
</div>
59-
<div class="caption">
60-
You can also have artistically styled 2/3 + 1/3 images, like these.
61-
</div>
62-
63-
The code is simple.
64-
Just wrap your images with `<div class="col-sm">` and place them inside `<div class="row">` (read more about the <a href="https://getbootstrap.com/docs/4.4/layout/grid/">Bootstrap Grid</a> system).
65-
To make images responsive, add `img-fluid` class to each; for rounded corners and shadows use `rounded` and `z-depth-1` classes.
66-
Here's the code for the last row of images above:
67-
68-
{% raw %}
69-
70-
```html
71-
<div class="row justify-content-sm-center">
72-
<div class="col-sm-8 mt-3 mt-md-0">
73-
{% include figure.liquid path="assets/img/6.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
74-
</div>
75-
<div class="col-sm-4 mt-3 mt-md-0">
76-
{% include figure.liquid path="assets/img/11.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
77-
</div>
78-
</div>
79-
```
80-
81-
{% endraw %}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)