Commit Graph

14 Commits

Author SHA1 Message Date
f9e0ffa0eb
Add explicit size to header image, bump last update date 2020-12-21 20:38:24 +01:00
9632b008ac
Replace header image extension with webp 2020-12-21 20:29:25 +01:00
e69b9fb9c8
Image in header now round 2020-12-06 01:17:29 +01:00
16f23c08c6
[Dart] Cleaner code, force the web page to reload on modifier code
The code in `navbar.dart' is now more declarative and cleaner.

If the `lastUpdate' variable’s content change, then it will force the
user to reload the page, bypassing their cache. This can be useful in
case of an update with which the cache could break the website.
2020-08-28 22:23:35 +02:00
f99d45e8ab
Simplify code, remove html dependency
This commit removes the `html' package dependency, speeding up the
compile time of the Dart code.

It also simplifies the code and removes some unused code. For instance
the sun, moon, and lightbulb icons is removed, the `Theme' class is
removed, and the `switchTheme' function is now merged into the
`setTheme' function. The `makeThemeItem' function has also had its
second argument removed.
2020-08-25 03:34:55 +02:00
b804764e24
Fixed subtitle selection 2020-05-26 02:14:13 +02:00
08b8116f6f
Header image now easier to change, no need to modify source code 2020-05-21 08:29:59 +02:00
8ca55cb710
Better coding style 2020-05-10 12:37:22 +02:00
3c942b4b8f
Fixes bug introduced in e819866
Table of content was made unavailable regardless of whether one was
provided by the page or not. This commit fixes this issue by making an
unavailable TOC only if one is not provided by the web page, otherwise
the TOC will be available.
2020-05-09 14:45:26 +02:00
e81986683c
Fixes issue #5
The absence of a table of contents made the Dart code crash. This commit
adds a default TOC if non already exists.
2020-05-07 15:36:50 +02:00
cc6519c302
Link best practices, and removed font for faster loading time 2020-05-06 11:48:51 +02:00
61fe6f71a4
modified from final to const as it won’t change value 2020-05-05 19:33:57 +02:00
404e79211e
Made it easier to change header image 2020-05-05 19:20:28 +02:00
8b85ea5952
Initial commit, added all backend files 2020-05-05 14:49:26 +02:00