From 8f800be5d3860a49f9f2dd931030bf5379883357 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sun, 10 Dec 2023 18:11:02 +0100 Subject: [PATCH] well that was hard --- assets/sass/user_styles.scss | 31 ++++++- content/projects/fsfw/description.md | 5 ++ content/projects/fsfw/index.html | 83 +++++++------------ hugo.toml | 17 ++-- layouts/partials/footer.html | 2 +- package-lock.json | 18 +++- package.json | 3 +- themes/minimal-theme/assets/sass/main.scss | 1 + .../layouts/shortcodes/content.html | 7 ++ 9 files changed, 102 insertions(+), 65 deletions(-) create mode 100644 content/projects/fsfw/description.md create mode 100644 themes/minimal-theme/layouts/shortcodes/content.html diff --git a/assets/sass/user_styles.scss b/assets/sass/user_styles.scss index 2e327f3..5c3e30d 100644 --- a/assets/sass/user_styles.scss +++ b/assets/sass/user_styles.scss @@ -1,4 +1,3 @@ -/* Create this file in your assets folder to introduce style overrides */ @font-face { font-family: "univers"; src: url("/fonts/univers/UniversforUniS55Rm-Regular.ttf") format("truetype"); @@ -9,3 +8,33 @@ body { font-family: "univers"; } + +// For some reason, Bootstrap 5 does not have this.. +.fixed-md-bottom { + @include media-breakpoint-up(md) { + position: fixed; + bottom: 0; + left: 0; + right: 0; + z-index: $zindex-fixed; + } +} + +.content-button { + display: button; + background-color: #004191; + border-radius: 0.25rem; + padding: 0.75rem; + margin: 0.5rem auto; + text-align: center; + color: #ffffff; + text-decoration: none; +} + +.fsfw-doc-button { + @extend .content-button; +} + +.fsfw-doc-button { + @extend .content-button; +} diff --git a/content/projects/fsfw/description.md b/content/projects/fsfw/description.md new file mode 100644 index 0000000..13cafe6 --- /dev/null +++ b/content/projects/fsfw/description.md @@ -0,0 +1,5 @@ +The Flight Software Framework is a C++ Object Oriented Framework for +unmanned, automated systems like Satellites. It has flight heritage +through the 2 missions +[FLP](https://www.irs.uni-stuttgart.de/en/research/satellitetechnology-and-instruments/smallsatelliteprogram/flying-laptop/) and +[EIVE](https://www.irs.uni-stuttgart.de/en/research/satellitetechnology-and-instruments/smallsatelliteprogram/EIVE/). diff --git a/content/projects/fsfw/index.html b/content/projects/fsfw/index.html index b88cfb7..b4ecf51 100644 --- a/content/projects/fsfw/index.html +++ b/content/projects/fsfw/index.html @@ -5,77 +5,52 @@ draft = false +++
- +

- The Flight Software Framework is a C++ Object Oriented Framework for - unmanned, automated systems like Satellites. It has flight heritage - through the 2 missions - FLP - and - EIVE. + {{% content "description.md" %}}

-

Documentation and Coverage

-
+

Documentation and Coverage

+
- - DEVELOP - + DEVELOP +
- - MASTER - + MASTER +
-
+

Repository

+

Test Coverage

+
- DEVELOP - → COVERAGE -
- MASTER - → COVERAGE -
diff --git a/hugo.toml b/hugo.toml index 6effed7..1026689 100644 --- a/hugo.toml +++ b/hugo.toml @@ -8,12 +8,10 @@ theme = "minimal-theme" name = 'Home' pageRef = '/' weight = 10 - [[menu.main]] name = 'Contact' pageRef = 'contact' weight = 20 - [[menu.main]] name = 'IRS Website' url = 'https://www.irs.uni-stuttgart.de/' @@ -23,12 +21,17 @@ blankTarget = true [module] [[module.mounts]] - source = "assets" - target = "assets" +source = "assets" +target = "assets" [[module.mounts]] - source = "node_modules/bootstrap/dist/js/bootstrap.bundle.min.js" - target = "assets/js/bootstrap.bundle.min.js" +source = "node_modules/bootstrap/dist/js/bootstrap.bundle.min.js" +target = "assets/js/bootstrap.bundle.min.js" +[[module.mounts]] +source = "static" +target = "static" +[[module.mounts]] +source = "node_modules/bootstrap-icons/font/fonts" +target = "static/css/fonts" [markup] defaultMarkdownHandler = 'goldmark' - diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 45dc737..34cff84 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,6 +1,6 @@