feat: responsive
All checks were successful
ci / docker (push) Successful in 4m11s

This commit is contained in:
Tine Jozelj 2023-09-12 00:48:07 +02:00
parent a014fe9267
commit bd1a19d5e7
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw
3 changed files with 29 additions and 29 deletions

View file

@ -15,7 +15,7 @@ type ServiceItem = {
};
const PrivateServices: ServicesSection = {
title: "PrivateServices",
title: "Private Services",
description: (
<>
Services that require <b>tjo.space</b> account.

View file

@ -8,12 +8,8 @@
text-align: center;
position: relative;
overflow: hidden;
}
@media screen and (max-width: 996px) {
.heroBanner {
padding: 2rem;
}
display: flex;
flex-direction: row;
}
.buttons {
@ -39,3 +35,27 @@
.descriptionLink:hover {
color: var(--ifm-hero-text-color);
}
@media screen and (max-width: 996px) {
.heroLogo {
width: 100%;
}
.heroBanner {
padding: 2rem;
flex-direction: column;
}
.buttons {
flex-direction: column;
}
.buttons > :not(:first-child) {
margin-left: 0;
margin-top: 1rem;
}
.description {
margin-top: 4rem
}
}

View file

@ -14,7 +14,7 @@ function HomepageHeader() {
return (
<header className={clsx("hero hero--primary", styles.heroBanner)}>
<div className="container">
<Logo role="img" />
<Logo className={styles.heroLogo} role="img" />
<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
<Link
@ -31,7 +31,7 @@ function HomepageHeader() {
</Link>
</div>
</div>
<div className="container">
<div className={clsx("container", styles.description)}>
<h2>What is this?</h2>
<p>We are non-profit provider of cloud services for select public.</p>
<p>
@ -66,26 +66,6 @@ export default function Home(): JSX.Element {
<Layout title={siteConfig.title} description={siteConfig.tagline}>
<HomepageHeader />
<main>
<section className={styles.description}>
<div className="container">
<h2>What is this?</h2>
<p>
We are non-profit provider of cloud services for select public.
</p>
<p>
Our goal is to provide well integrated and coherent suite of
applications that can rival offers of propriatery and for-profit
companies.
</p>
<p>We use and build on top of open source software.</p>
<p>
You can read more about our{" "}
<Link to="/docs/architecture">Architecture</Link> and{" "}
<Link to="/docs/hardware">Hardware</Link> in the{" "}
<Link to="/docs/home">Documentation</Link>.
</p>
</div>
</section>
<HomepageFeatures />
</main>
</Layout>