Skip to content

Commit 6db748a

Browse files
committed
improve the introduction
1 parent 9a9c577 commit 6db748a

File tree

9 files changed

+56
-30
lines changed

9 files changed

+56
-30
lines changed

content/_index.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ draft: false
55
menu: true
66
---
77

8-
## About us
8+
## About YFRL
9+
910
YF Robotics Laboratory (YFRL) is an international robotics organisation. YFRL was founded with the vision that robots will contribute to humanity and largely affect the way how people will live in the future. Our mission is to promote STEM and robot education and bring ideas to the public with state-of-the-art robot research and technologies across the world.
1011

11-
We are a group of people from worldwide who love robots. We aim to bring together robot researchers, developers and enthusiasts to build a world with more intelligent, reliable and safer autonomous robots. Please join us by telling us which robot sections you are involved in and what you may be able to contribute to the organisation at [email protected].
12+
We are a group of people from worldwide who love robots. We aim to bring together robot researchers, developers and enthusiasts to build a world with more intelligent, reliable and safer autonomous robots.
13+
14+
Please help us by telling us which robot activities you are involved in and what you may be able to contribute to the organisation by sending an email to [email protected].

content/contact.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ draft: false
55
menu: true
66
---
77

8-
Follow us on Twitter: <a href="https://twitter.com/yfrobotics">@yfrobotics</a>
8+
**Address**
99

10-
Address:
1110
YF Robotics Laboratory
12-
Birmingham, West Midland
13-
United Kingdom
14-
11+
Birmingham, West Midland, United Kingdom
12+
13+
**Contact**
14+
15+
Follow us on Twitter: <a href="https://twitter.com/yfrobotics">@yfrobotics</a>
1516

layouts/index.html

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
11
{{ define "main" }}
22

3-
<div style="display: flex-container;">
4-
5-
<section class="container">
6-
<div class="row">
7-
<!-- header image -->
8-
<img src="images/pepper_robot.jpg" class="img-fluid" alt="Pepper robot">
9-
</div>
10-
</section>
11-
12-
<section class="container">
13-
<div class="row justify-content-center minisection">
3+
<!-- introduction -->
4+
<div class="div-padding bg-color-black fg-color-white">
5+
<section class="container clearfix">
6+
<img src="images/pepper_side.jpg" class="float-right" alt="..." style="height:500px; width:auto;">
7+
<div class="row minisection">
148
<!-- Note that the content for index.html, as a sort of list page, will pull from content/_index.md -->
159
{{ .Content }}
1610
</div>
1711
</section>
12+
</div>
1813

19-
<section class="container">
20-
<div class="row justify-content-center minisection">
14+
<!-- education -->
15+
<div class="div-padding">
16+
<section class="container clearfix">
17+
<div class="row minisection">
2118
{{ with .Site.GetPage "/education" }}
2219
<h2>{{ .Title }}</h2>
2320
{{ .Content }}
@@ -30,29 +27,41 @@ <h3 class="text-center">{{ .Title }}</h3>
3027
{{ end }}
3128
</div>
3229
</section>
33-
30+
</div>
31+
32+
<!-- contribution -->
33+
<div class="div-padding bg-color-grey">
3434
<section class="container">
35-
<div class="row justify-content-center minisection">
3635
{{ with .Site.GetPage "/contribution" }}
3736
<h2>{{ .Title }}</h2>
3837
{{ .Content }}
38+
<div class="row minisection">
3939
{{range .Pages.ByParam "order"}}
4040
<div class="col-sm">
4141
<h3 class="text-center">{{ .Title }}</h3>
4242
{{ .Content }}
4343
</div>
4444
{{ end }}
45+
</div>
4546
{{ end }}
46-
</div>
4747
</section>
48+
</div>
4849

50+
<!-- contact -->
51+
<div class="div-padding">
4952
<section class="container">
5053
{{ with .GetPage "contact"}}
51-
<h2 class="text-center">{{ .Title }}</h2>
52-
{{ .Content}}
54+
<h2>{{ .Title }}</h2>
55+
<div class="row">
56+
<div class="col-6">
57+
<img src="images/map.png" class="img-fluid" alt="Responsive image">
58+
</div>
59+
<div class="col-4">
60+
{{ .Content}}
61+
</div>
62+
</div>
5363
{{ end}}
5464
</section>
55-
5665
</div>
5766

5867
{{ end }}

layouts/partials/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<footer class="text-muted">
22
<p class="float-right">
3-
<a href="#">Back to top</a>
3+
<a href="#" style="padding-right: 20px;">Back to top</a>
44
</p>
55
<div class="text-center" style="background: #000000; color: #fefefe;">
66
<p>Copyright © {{ now.Format "2006" }} {{.Site.Title}}</p>

static/css/style.css

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,26 @@ h3 {
1212

1313
body {
1414
font-size: 1.2em;
15+
color: #0e0e0e;
16+
}
17+
18+
.div-padding {
19+
padding-top: 20px;
20+
padding-bottom: 20px;
1521
}
1622

1723
.minisection {
18-
margin-top: 20px;
19-
margin-bottom: 20px;
24+
;
2025
}
2126

22-
.bg1 {
27+
.bg-color-grey {
2328
background-color: #eeeeee;
2429
}
30+
31+
.bg-color-black {
32+
background-color: #000000;
33+
}
34+
35+
.fg-color-white {
36+
color: #fefefe;
37+
}

static/images/asmo.jpg

77 KB
Loading

static/images/map.png

69.6 KB
Loading

static/images/pepper_robot.jpg

-100 KB
Binary file not shown.

static/images/pepper_side.jpg

24.3 KB
Loading

0 commit comments

Comments
 (0)