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", title: "Code",
Svg: require("@site/static/img/undraw_cloud_tjo_space.svg").default, Svg: require("@site/static/img/undraw_code_tjo_space.svg").default,
description: ( description: (
<> <>
Use <a href="https://cloud.tjo.space">cloud.tjo.space</a> Nextcloud Use <a href="https://code.tjo.space">cloud.tjo.space</a> Gitea server as
server as a personal cloud to store your <b>Photos</b>, <b>Videos</b>, a Git repository and CI/CD system.
<b>Files</b>, <b>Calendar</b>, <b>Contacts</b> as well as share all that </>
with other users of tjo.space or anyone else. ),
},
{
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) { function Service({ title, Svg, description }: ServiceItem) {
return ( return (
<div className={clsx("col col--4")}> <div className={clsx("col col--4 service")}>
<div className="text--center"> <div className="text--center">
<Svg className={styles.featureSvg} role="img" /> <Svg className={styles.featureSvg} role="img" />
</div> </div>
@ -142,19 +152,19 @@ export default function HomepageFeatures(): JSX.Element {
<section className={styles.features}> <section className={styles.features}>
<div className="container"> <div className="container">
<h3>Public Services</h3> <h3>Public Services</h3>
<div className="row"> <div className={clsx("row", styles.row)}>
{PublicServicesList.map((props, idx) => ( {PublicServicesList.map((props, idx) => (
<Service key={idx} {...props} /> <Service key={idx} {...props} />
))} ))}
</div> </div>
<h3>Private Services</h3> <h3>Private Services</h3>
<div className="row"> <div className={clsx("row", styles.row)}>
{PrivateServicesList.map((props, idx) => ( {PrivateServicesList.map((props, idx) => (
<Service key={idx} {...props} /> <Service key={idx} {...props} />
))} ))}
</div> </div>
<h3>Upcoming Services (not yet available)</h3> <h3>Upcoming Services (not yet available)</h3>
<div className="row"> <div className={clsx("row", styles.row)}>
{UpcomingServicesList.map((props, idx) => ( {UpcomingServicesList.map((props, idx) => (
<Service key={idx} {...props} /> <Service key={idx} {...props} />
))} ))}

View file

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

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB