probably have to do it like this..

This commit is contained in:
Robin Müller 2023-12-10 19:29:43 +01:00
parent e61ce401ae
commit bd3a894809
Signed by: muellerr
GPG Key ID: A649FB78196E3849
4 changed files with 46 additions and 26 deletions

View File

@ -31,10 +31,17 @@ body {
text-decoration: none; text-decoration: none;
} }
.fsfw-doc-button { .content-button-text {
@extend .content-button; color: #ffffff;
padding-top: 1.0rem;
padding-bottom: 1.0rem;
} }
.fsfw-doc-button { .content-button-bg {
@extend .content-button; background-color: #004191;
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
} }

View File

@ -15,7 +15,7 @@ draft = false
<div class="col text-end"> <div class="col text-end">
<a <a
type="button" type="button"
class="fsfw-doc-button" class="content-button"
href="https://documentation.irs.uni-stuttgart.de/projects/fsfw/development/" href="https://documentation.irs.uni-stuttgart.de/projects/fsfw/development/"
> >
DEVELOP DEVELOP
@ -24,7 +24,7 @@ draft = false
<div class="col text-start"> <div class="col text-start">
<a <a
type="button" type="button"
class="fsfw-doc-button text-start" class="content-button"
href="https://documentation.irs.uni-stuttgart.de/projects/fsfw/master/" href="https://documentation.irs.uni-stuttgart.de/projects/fsfw/master/"
> >
MASTER MASTER
@ -37,7 +37,7 @@ draft = false
<div class="col"> <div class="col">
<a <a
href="https://documentation.irs.uni-stuttgart.de/projects/fsfw/coverage/development/" href="https://documentation.irs.uni-stuttgart.de/projects/fsfw/coverage/development/"
class="fsfw-doc-button" class="content-button"
target="_blank" target="_blank"
>gitea</a >gitea</a
> >
@ -49,7 +49,7 @@ draft = false
<div class="col text-end"> <div class="col text-end">
<a <a
href="https://documentation.irs.uni-stuttgart.de/projects/fsfw/coverage/development/" href="https://documentation.irs.uni-stuttgart.de/projects/fsfw/coverage/development/"
class="fsfw-doc-button" class="content-button"
target="_blank" target="_blank"
>DEVELOP</a >DEVELOP</a
> >
@ -57,7 +57,7 @@ draft = false
<div class="col text-start"> <div class="col text-start">
<a <a
href="https://documentation.irs.uni-stuttgart.de/projects/fsfw/coverage/master/" href="https://documentation.irs.uni-stuttgart.de/projects/fsfw/coverage/master/"
class="fsfw-doc-button" class="content-button"
target="_blank" target="_blank"
>MASTER</a >MASTER</a
> >

View File

@ -7,29 +7,31 @@ draft = false
<div class="container text-center"> <div class="container text-center">
<img src="sat-rs_logo.png" class="img-fluid mx-auto my-3 w-50" /> <img src="sat-rs_logo.png" class="img-fluid mx-auto my-3 w-50" />
<div class="d-flex justify-content-center mx-auto w-75"> <div class="d-flex justify-content-center mx-auto w-75">
<p class="text-justify"> <p class="text-justify">{{% content "description.md" %}}</p>
<p class="text-justify">{{% content "description.md" %}}</p>
</p>
</div> </div>
<h2><i class="bi bi-file-text"></i> Documentation</h2> <h2><i class="bi bi-file-text"></i> Documentation</h2>
<div class="row row-cols-2 w-50 mx-auto my-4 gx-3"> <div class="row row-cols-2 w-50 mx-auto my-4 gx-3">
<div class="col text-end"> <div class="col text-end">
<a <a
type="button"
class="content-button"
href="/projects/sat-rs/book" href="/projects/sat-rs/book"
class="col d-flex flex-column justify-content-center text-decoration-none"
target="_blank"
> >
BOOK <span class="content-button-bg">
<span class="content-button-text">BOOK</span>
</span>
</a> </a>
</div> </div>
<div class="col text-start"> <div class="col text-start">
<a <a
type="button"
class="fsfw-doc-button text-start"
href="https://docs.rs/satrs-core" href="https://docs.rs/satrs-core"
class="col d-flex flex-column justify-content-center text-decoration-none"
target="_blank"
> >
CORE API <span class="content-button-bg">
<span class="content-button-text">CORE API</span>
</span>
</a> </a>
</div> </div>
</div> </div>
@ -39,30 +41,41 @@ draft = false
<div class="col text-end"> <div class="col text-end">
<a <a
href="https://egit.irs.uni-stuttgart.de/rust/sat-rs" href="https://egit.irs.uni-stuttgart.de/rust/sat-rs"
class="content-button" class="col d-flex flex-column justify-content-center text-decoration-none"
target="_blank" target="_blank"
>GITEA</a
> >
<span class="content-button-bg">
<span class="content-button-text">GITEA</span>
</span>
</a>
</div> </div>
<div class="col text-start"> <div class="col text-start">
<a <a
href="https://github.com/us-irs/sat-rs" href="https://github.com/us-irs/sat-rs"
class="content-button" class="col d-flex flex-column justify-content-center text-decoration-none"
target="_blank" target="_blank"
>GITHUB (MIRROR)</a
> >
<span class="content-button-bg">
<span class="content-button-text">GITHUB (MIRROR)</span>
</span>
</a>
</div> </div>
</div> </div>
<h2>Examples</h2> <h2>Examples</h2>
<div class="row w-25 mx-auto pb-3 my-3"> <div class="row w-25 mx-auto pb-3 my-3">
<div class="col"> <div class="col">
<a <a
href="https://egit.irs.uni-stuttgart.de/rust/sat-rs/src/branch/main/satrs-example" href="https://egit.irs.uni-stuttgart.de/rust/sat-rs/src/branch/main/satrs-example"
class="content-button" class="col d-flex flex-column justify-content-center text-decoration-none"
target="_blank" target="_blank"
>EXAMPLE APP</a
> >
<span class="content-button-bg">
<span class="content-button-text">EXAMPLE APP</span>
</span>
</a>
</div> </div>
</div> </div>
</div> </div>

View File

@ -13,13 +13,13 @@
href="projects/fsfw" href="projects/fsfw"
class="col d-flex flex-column justify-content-center text-decoration-none" class="col d-flex flex-column justify-content-center text-decoration-none"
> >
<div <span
class="bg-body-tertiary rounded d-flex flex-column flex-wrap justify-content-center my-2" class="bg-body-tertiary rounded d-flex flex-column flex-wrap justify-content-center my-2"
> >
<h2 class="display-6 py-5 mx-2"> <h2 class="display-6 py-5 mx-2">
Flight Software Framework (FSFW) Flight Software Framework (FSFW)
</h2> </h2>
</div> </span>
</a> </a>
<a <a