feat(services): style fix
All checks were successful
ci / docker (push) Successful in 3m44s

This commit is contained in:
Tine Jozelj 2023-09-10 21:11:09 +02:00
parent 16fa1bcb59
commit 82fd1c0e54
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw
3 changed files with 25 additions and 10 deletions

View file

@ -33,14 +33,24 @@ const PrivateServicesList: ServiceItem[] = [
),
},
{
title: "Cloud",
Svg: require("@site/static/img/undraw_cloud_tjo_space.svg").default,
title: "Code",
Svg: require("@site/static/img/undraw_code_tjo_space.svg").default,
description: (
<>
Use <a href="https://cloud.tjo.space">cloud.tjo.space</a> Nextcloud
server as a personal cloud to store your <b>Photos</b>, <b>Videos</b>,
<b>Files</b>, <b>Calendar</b>, <b>Contacts</b> as well as share all that
with other users of tjo.space or anyone else.
Use <a href="https://code.tjo.space">cloud.tjo.space</a> Gitea server as
a Git repository and CI/CD system.
</>
),
},
{
title: "Paperless",
Svg: require("@site/static/img/undraw_paperless_tjo_space.svg").default,
description: (
<>
Use <a href="https://paperless.tjo.space">paperless.tjo.space</a>{" "}
Paperless server to archive your documents and make them searchable. Can
be connected to your email provider so that all attachments are
autmatically archived.
</>
),
},
@ -125,7 +135,7 @@ const UpcomingServicesList: ServiceItem[] = [
function Service({ title, Svg, description }: ServiceItem) {
return (
<div className={clsx("col col--4")}>
<div className={clsx("col col--4 service")}>
<div className="text--center">
<Svg className={styles.featureSvg} role="img" />
</div>
@ -142,19 +152,19 @@ export default function HomepageFeatures(): JSX.Element {
<section className={styles.features}>
<div className="container">
<h3>Public Services</h3>
<div className="row">
<div className={clsx("row", styles.row)}>
{PublicServicesList.map((props, idx) => (
<Service key={idx} {...props} />
))}
</div>
<h3>Private Services</h3>
<div className="row">
<div className={clsx("row", styles.row)}>
{PrivateServicesList.map((props, idx) => (
<Service key={idx} {...props} />
))}
</div>
<h3>Upcoming Services (not yet available)</h3>
<div className="row">
<div className={clsx("row", styles.row)}>
{UpcomingServicesList.map((props, idx) => (
<Service key={idx} {...props} />
))}

View file

@ -5,6 +5,10 @@
width: 100%;
}
.row {
justify-content: center;
}
.featureSvg {
height: 200px;
width: 200px;

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB