Skip to content

Commit 4256489

Browse files
committed
Updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
1 parent 8173bb8 commit 4256489

File tree

5 files changed

+49
-42
lines changed

5 files changed

+49
-42
lines changed

website/layouts/_default/single.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{{ partial "head.html" . }}
22
<body class="docs">
33
{{ partial "topnav.html" . }}
4-
<div class="w3-container w3-content">
4+
<div class="w3-content">
55
{{ partial "sidenav.html" . }}
66
<div class="main">
77
{{ partial "ad.html" }}
8-
<div class="w3-row">
8+
<div class="w3-row-padding">
99
<div class="w3-col s12 m10 l10">
1010
{{ partial "notice.html" }}
1111
<article class="content">

website/layouts/index.html

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,37 @@
44
<div class="hide-large">
55
{{ partial "sidenav.html" . }}
66
</div>
7-
<div class="w3-container w3-content main">
8-
{{ partial "ad.html" }}
9-
<div class="w3-row">
10-
<div class="w3-col s12 m10 l10">
11-
<div class="hero">
12-
<h1>{{ .Site.Data.index.heading }}</h1>
13-
<h2>{{ .Site.Data.index.description }}</h2>
14-
<p>
15-
<img style="width: 100%;" src="/images/terminal.png" alt="Echo">
16-
</p>
17-
</div>
7+
<div class="w3-content">
8+
<div class="main">
9+
{{ partial "ad.html" }}
10+
<div class="w3-row-padding">
11+
<div class="w3-col s12 m10 l10">
12+
<div class="hero">
13+
<h1>{{ .Site.Data.index.heading }}</h1>
14+
<h2>{{ .Site.Data.index.description }}</h2>
15+
<p>
16+
<img style="width: 100%;" src="/images/terminal.png" alt="Echo">
17+
</p>
18+
</div>
1819

19-
<div class="w3-padding-32 w3-center">
20-
<a class="w3-btn w3-theme w3-round w3-xlarge" href="/guide">Get Started</a>
21-
<a class="w3-btn w3-black w3-round w3-xlarge w3-margin-left" href="https://github.com/labstack/echo" target="_blank">GitHub</a>
22-
</div>
20+
<div class="w3-padding-32 w3-center">
21+
<a class="w3-btn w3-theme w3-round w3-xlarge" href="/guide">Get Started</a>
22+
<a class="w3-btn w3-black w3-round w3-xlarge w3-margin-left" href="https://github.com/labstack/echo" target="_blank">GitHub</a>
23+
</div>
2324

24-
<div class="features">
25-
{{ range .Site.Data.index.features }}
26-
<div class="feature">
27-
<img src="https://cdn.labstack.com/images/icons/{{ .icon }}.svg">
28-
<h3>
29-
{{ .title }}
30-
</h3>
31-
<p>
32-
{{ .text | safeHTML }}
33-
</p>
34-
</div>
35-
{{ end }}
25+
<div class="features">
26+
{{ range .Site.Data.index.features }}
27+
<div class="feature">
28+
<img src="https://cdn.labstack.com/images/icons/{{ .icon }}.svg">
29+
<h3>
30+
{{ .title }}
31+
</h3>
32+
<p>
33+
{{ .text | safeHTML }}
34+
</p>
35+
</div>
36+
{{ end }}
37+
</div>
3638
</div>
3739
</div>
3840
</div>

website/layouts/partials/footer.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<footer class="w3-container w3-content w3-padding-48 w3-center footer">
1+
<footer class="w3-content w3-container w3-padding-48 w3-center footer">
22
<p>
33
<strong>Echo</strong> by <a href="https://labstack.com">LabStack</a> © 2017 LabStack. All Rights Reserved.
44
</p>
@@ -18,6 +18,9 @@
1818
<a class="icon" href="https://plus.google.com/+labstack">
1919
<i class="fa fa-google-plus" aria-hidden="true"></i>
2020
</a>
21+
<a class="icon" href="mailto:hello@labstack.com?Subject=Hello" target="_top">
22+
<i class="fa fa-envelope" aria-hidden="true"></i>
23+
</a>
2124
</p>
2225
</footer>
2326
<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
@@ -28,5 +31,5 @@
2831
inputSelector: '#search-box'
2932
});
3033
</script>
31-
<script src="https://cdn.labstack.com/scripts/prism.js"></script>
32-
<script src="https://cdn.labstack.com/scripts/base.js"></script>
34+
<script src="https://cdn.labstack.com/js/prism.js"></script>
35+
<script src="https://cdn.labstack.com/js/base.js"></script>

website/layouts/partials/head.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
</title>
2323
<link rel="stylesheet" href="https://unpkg.com/font-awesome@4.6.3/css/font-awesome.min.css">
2424
<link rel="stylesheet" href="https://unpkg.com/docsearch.js@2.2.1/dist/cdn/docsearch.min.css">
25-
<link rel="stylesheet" href="https://cdn.labstack.com/styles/w3.css">
26-
<link rel="stylesheet" href="https://cdn.labstack.com/styles/prism.css">
27-
<link rel="stylesheet" href="https://cdn.labstack.com/styles/base.css">
25+
<link rel="stylesheet" href="https://cdn.labstack.com/css/w3.css">
26+
<link rel="stylesheet" href="https://cdn.labstack.com/css/prism.css">
27+
<link rel="stylesheet" href="https://cdn.labstack.com/css/base.css">
2828
<script>
2929
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3030
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

website/layouts/single/single.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
{{ partial "head.html" . }}
22
<body>
33
{{ partial "topnav.html" . }}
4-
<div class="w3-container w3-content main">
5-
<div class="w3-row">
6-
<div class="w3-col m10 l10">
7-
<h1>{{ .Title }}</h1>
8-
{{ .Content }}
9-
</div>
10-
</div>
4+
<div class="w3-content">
5+
<div class="main">
6+
<div class="w3-row-padding">
7+
<div class="w3-col s12 m10 l10">
8+
<h1>{{ .Title }}</h1>
9+
{{ .Content }}
10+
</div>
11+
</div>
12+
</div>
1113
</div>
1214
{{ partial "footer.html" . }}
1315
</body>

0 commit comments

Comments
 (0)