Start design work on the new Fitnesstrax

This time, starting with a focus on navigation, layout, and ease of use
This commit is contained in:
Savanni D'Gerinel 2023-05-23 09:30:23 -04:00
parent b86a618b34
commit 97a1b8172f
23 changed files with 257 additions and 0 deletions

2
fitnesstrax/design/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
public/
.hugo_build.lock

View File

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

View File

@ -0,0 +1,4 @@
baseURL = 'http://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = 'design'

View File

@ -0,0 +1,30 @@
<!doctype html>
<html>
<head>
<meta charset = "utf-8">
</head>
<body>
<h1> Mardo, Junio 3, 12023 </h1>
<div> <input type="text" value="94.0 kg" /> </div>
<div> <input type="text" value="5622" /> paŝoj </div>
<div> <input type="text" value="2 km" /> da
<select>
<option>Biciklado</option>
<option>Kurado</option>
</select>
en <input type="text" value="10"> minutoj,
je la <input type="text" value="10:15" />h </div>
<div> <input type="text" value="3 km" /> da
<select>
<option>Biciklado</option>
<option>Kurado</option>
</select>
en <input type="text" value="15"> minutoj,
je la <input type="text" value="13:20" />h</div>
</body>
</html>

View File

@ -0,0 +1,9 @@
---
title: Day Summary
---
## Day Summary
shortcode mode:
{{< day-summary >}}

View File

@ -0,0 +1,44 @@
<!doctype html>
<html>
<head>
<meta charset = "utf-8">
</head>
<body>
<h1> Ekzerco </h1>
<table>
<tr>
<td> <input type="radio" name="ekzerco"> Biciklado </input> </td>
<td> <input type="radio" name="ekzerco"> Yoga </input> </td>
</tr>
<tr>
<td> <input type="radio" name="ekzerco"> Kurado </input> </td>
<td> <input type="radio" name="ekzerco"> Pezlevado </input> </td>
</tr>
<tr>
<td> <input type="radio" name="ekzerco"> Promenado </input> </td>
<td> <input type="radio" name="ekzerco"> Remado </input> </td>
</tr>
</table>
<h1> Biciklado / Kurado / Promenado </h1>
<div>
<div> <input type="text" value="09:00"> horo </div>
<div> <input type="text" value="1:30:00"> (daŭro) </div>
<div> <input type="text" value="22.3"> km </div>
</div>
<h1> Yoga </h1>
<div>
<div> <input type="text" value="8:00"> horo </div>
<div> <input type="text" value="1:00"> (daŭro) </div>
</div>
</body>
</html>

View File

@ -0,0 +1,67 @@
<!doctype html>
<html>
<head>
<meta charset = "utf-8">
</head>
<body>
<h1> Mardo, Junio 3, 12023 </h1>
<ul>
<li> 94.0 kg (mezuma 94.1 kg) </li>
<li> 5622 paŝoj </li>
<li> 5km da biciklado en 25 minutoj </li>
</ul>
<h1> Lundo, Junio 2, 12023 </h1>
<ul>
<li> 94.0 kg (mezuma 94.1 kg) </li>
<li> 5622 paŝoj </li>
<li> 5km da biciklado en 25 minutoj </li>
</ul>
<h1> Dimanĉo, Junio 1, 12023 </h1>
<ul>
<li> 94.0 kg (mezuma 94.1 kg) </li>
<li> 5622 paŝoj </li>
<li> 5km da biciklado en 25 minutoj </li>
</ul>
<h1> Sabato, Majo 28, 12023 </h1>
<ul>
<li> 94.0 kg (mezuma 94.1 kg) </li>
<li> 5622 paŝoj </li>
<li> 5km da biciklado en 25 minutoj </li>
</ul>
<h1> Vendredo, Majo 27, 12023 </h1>
<ul>
<li> 94.0 kg (mezuma 94.1 kg) </li>
<li> 5622 paŝoj </li>
<li> 5km da biciklado en 25 minutoj </li>
</ul>
<h1> Ĵaŭdo, Majo 26, 12023 </h1>
<ul>
<li> 94.0 kg (mezuma 94.1 kg) </li>
<li> 5622 paŝoj </li>
<li> 5km da biciklado en 25 minutoj </li>
</ul>
<h1> Merkredo, Majo 25, 12023 </h1>
<ul>
<li> 94.0 kg (mezuma 94.1 kg) </li>
<li> 5622 paŝoj </li>
<li> 5km da biciklado en 25 minutoj </li>
</ul>
</body>
</html>

View File

@ -0,0 +1,13 @@
<!doctype html>
<html>
<head>
<meta charset = "utf-8">
</head>
<body>
{{ partial "nav.html" . }}
{{ .Content }}
</body>
</html>

View File

@ -0,0 +1,11 @@
<!doctype html>
<html>
<head>
<meta charset = "utf-8">
</head>
<body>
{{ partial "nav.html" . }}
</body>
</html>

View File

@ -0,0 +1,8 @@
<div class="menu">
<ul>
<li> <a href="/quick-view.html">Default view / week view</a> </li>
<li> <a href="/day-summary">Day summary</a> </li>
<li> <a href="/day-details.html">Day details</a> </li>
<li> <a href="/quick-add.html">Quick Add<a> </li>
</ul>
</div>

View File

@ -0,0 +1,8 @@
<h1> Mardo, Junio 3, 12023 </h1>
<ul>
<li> 94.0 kg (mezuma 94.1 kg) </li>
<li> 5622 paŝoj </li>
<li> 5km da biciklado en 25 minutoj </li>
</ul>

View File

@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2023 YOUR_NAME_HERE
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -0,0 +1,2 @@
+++
+++

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
</body>
</html>

View File

@ -0,0 +1,21 @@
# theme.toml template for a Hugo theme
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
name = "Design"
license = "MIT"
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
description = ""
homepage = "http://example.com/"
tags = []
features = []
min_version = "0.41.0"
[author]
name = ""
homepage = ""
# If porting an existing theme
[original]
name = ""
homepage = ""
repo = ""

View File

@ -33,6 +33,7 @@
pkgs.gst_all_1.gst-plugins-ugly
pkgs.gst_all_1.gstreamer
pkgs.gtk4
pkgs.hugo
pkgs.nodejs
pkgs.openssl
pkgs.pipewire