mirror of
https://github.com/ivabus/www
synced 2024-11-25 13:15:05 +03:00
New page for bottles; some styling
This commit is contained in:
parent
7e7ff2966c
commit
5542cbc063
3 changed files with 35 additions and 1 deletions
|
@ -32,7 +32,7 @@ function Bottles() {
|
||||||
{versions.length} version{versions.length === 1 ? "" : "s"} bottled
|
{versions.length} version{versions.length === 1 ? "" : "s"} bottled
|
||||||
</h4>
|
</h4>
|
||||||
{expanded && (
|
{expanded && (
|
||||||
<table>
|
<table className="one-box-down">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>version</th>
|
<th>version</th>
|
||||||
|
|
5
src/content/bottles.md
Normal file
5
src/content/bottles.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: "Bottles"
|
||||||
|
Description: "bottles"
|
||||||
|
layout: "bottles"
|
||||||
|
---
|
29
src/layouts/page/bottles.html
Normal file
29
src/layouts/page/bottles.html
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{{ define "main" }}
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col">
|
||||||
|
|
||||||
|
{{- partial "bottle-grid.html" -}}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
table{
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
table, th, td {
|
||||||
|
border: 1px solid;
|
||||||
|
font-family: "sono", sans-serif;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
{{ end }}
|
Loading…
Reference in a new issue