Redesign web page

This commit is contained in:
Fabian 2022-09-28 21:14:02 +02:00
parent 0ac9b2d253
commit 7608c0a874
9 changed files with 159 additions and 112 deletions

24
.gitignore vendored
View File

@ -1,4 +1,22 @@
public/
.idea
go.mod
go.sum
# Created by https://www.toptal.com/developers/gitignore/api/hugo
# Edit at https://www.toptal.com/developers/gitignore?templates=hugo
### Hugo ###
# Generated files by hugo
/public/
/resources/_gen/
/assets/jsconfig.json
hugo_stats.json
# Executable may be added to repository
hugo.exe
hugo.darwin
hugo.linux
# Temporary lock file while building
/.hugo_build.lock
# End of https://www.toptal.com/developers/gitignore/api/hugo

View File

@ -1,14 +1,8 @@
image: registry.gitlab.com/pages/hugo/hugo:latest
default:
before_script:
- apk add --update --no-cache git go
- hugo mod init gitlab.com/pages/hugo
- hugo mod get -u github.com/adityatelange/hugo-PaperMod
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
pages:
script:
- hugo
- hugo --minify
artifacts:
paths:
- public

33
config.toml Normal file
View File

@ -0,0 +1,33 @@
baseURL = 'https://fime.faerb.it/'
languageCode = 'en-us'
title = 'fime - Simple time tracking'
theme = "ace-documentation"
[params]
disableSearch = true
disableReadmoreNav = true
menushortcutssnewtab = true
toc = true
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[outputs]
home = [ "HTML"]
[[menu.shortcuts]]
name = "<i class='fab fa-gitlab fa-2x mt-1'></i>"
url = "https://gitlab.com/faerbit/fime"
weight = 1
[[menu.shortcuts]]
name = "<button class='btn btn-info mt-n1' ><i class='fab fa-windows fa-2x'></i> <b style='vertical-align: 25%;'>Download</b></button>"
url = "https://gitlab.com/faerbit/fime/-/releases/permalink/latest/downloads/bin/fime_windows_amd64.exe"
weight = 2
[[menu.shortcuts]]
name = "<button class='btn btn-info mt-n1'><i class='fab fa-linux fa-2x'></i> <b style='vertical-align: 25%;'>Download</b></button>"
url = "https://gitlab.com/faerbit/fime/-/releases/permalink/latest/downloads/bin/fime_linux_amd64"
weight = 3

View File

@ -1,23 +0,0 @@
theme: "github.com/adityatelange/hugo-PaperMod"
baseURL: 'https://fime.faerb.it'
languageCode: 'en-us'
title: 'fime - Simple time tracking'
copyright: '&copy; 2022 [fime](https://fime.faerb.it)'
params:
label:
text: 'fime'
defaultTheme: light
disableThemeToggle: true
profileMode:
enabled: true
title: 'fime'
imageUrl: clock.svg
subtitle: Simple time tracking
buttons:
- name: Issues
url: "https://gitlab.com/faerbit/fime/-/issues"
- name: Releases
url: "https://gitlab.com/faerbit/fime/-/releases"
socialIcons:
- name: Gitlab
url: "https://gitlab.com/faerbit/fime"

101
content/_index.md Normal file
View File

@ -0,0 +1,101 @@
---
title: fime
---
{{< lead >}}
fime is a simple time tracking tool, to help you track how much time you spent on each task on a busy day.
{{< /lead >}}
## Features
<div class="row py-3 mb-5">
<div class="col-md-4">
<div class="card flex-row border-0">
<div class="mt-3">
<span class="fas fa-laptop fa-2x text-primary"></span>
</div>
<div class="card-body pl-2">
<h5 class="card-title">
Multi-platform.
</h5>
<p class="card-text text-muted">
Written with Python and Qt. Compatible with all major desktop operating systems
</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card flex-row border-0">
<div class="mt-3">
<span class="fas fa-wrench fa-2x text-primary"></span>
</div>
<div class="card-body pl-2">
<h5 class="card-title">
Simply functional.
</h5>
<p class="card-text text-muted">
Does what you want, when you ask it to and then gets out of the way
</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card flex-row border-0">
<div class="mt-3">
<span class="fas fa-bug-slash fa-2x fa-flip-horizontal text-primary"></span>
</div>
<div class="card-body pl-2">
<h5 class="card-title">
Battle tested.
</h5>
<p class="card-text text-muted">
Used by multiple professionals for several years without problems
</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card flex-row border-0">
<div class="mt-3">
<span class="fas fa-code fa-2x text-primary"></span>
</div>
<div class="card-body pl-2">
<h5 class="card-title">
Open source.
</h5>
<p class="card-text text-muted">
Completely open source. Licensed under MIT
</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card flex-row border-0">
<div class="mt-3">
<span class="fab fa-jira fa-2x text-primary"></span>
</div>
<div class="card-body pl-2">
<h5 class="card-title">
Jira integrated.
</h5>
<p class="card-text text-muted">
Import issues from Jira and upload time worked on them effortlessly
</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card flex-row border-0">
<div class="mt-3">
<span class="fas fa-hard-drive fa-2x text-primary"></span>
</div>
<div class="card-body pl-2">
<h5 class="card-title">
Easy installation.
</h5>
<p class="card-text text-muted">
Just download the executable and run it
</p>
</div>
</div>
</div>
</div>

View File

@ -1,5 +0,0 @@
#!/bin/bash
[ -e go.mod ] || hugo mod init gitlab.com/pages/hugo
hugo mod get -u github.com/adityatelange/hugo-PaperMod
hugo server

View File

@ -0,0 +1 @@
<!-- keep spacing of ToC but don't put content into it-->

View File

@ -1,73 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 300.988 300.988" style="enable-background:new 0 0 300.988 300.988;" xml:space="preserve">
<g>
<g>
<path d="M150.494,0.001C67.511,0.001,0,67.512,0,150.495s67.511,150.493,150.494,150.493s150.494-67.511,150.494-150.493
S233.476,0.001,150.494,0.001z M150.494,285.987C75.782,285.987,15,225.206,15,150.495S75.782,15.001,150.494,15.001
s135.494,60.782,135.494,135.493S225.205,285.987,150.494,285.987z"/>
<polygon points="142.994,142.995 83.148,142.995 83.148,157.995 157.994,157.995 157.994,43.883 142.994,43.883 "/>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

@ -0,0 +1 @@
Subproject commit 10892bc2a6f35affa2159c4ccea7117cce20810a