From 82fd1c0e54654d4a8fff58d03abf61b5ffff762b Mon Sep 17 00:00:00 2001 From: Tine Jozelj Date: Sun, 10 Sep 2023 21:11:09 +0200 Subject: [PATCH] feat(services): style fix --- src/components/HomepageFeatures/index.tsx | 30 ++++++++++++------- .../HomepageFeatures/styles.module.css | 4 +++ static/img/undraw_paperless_tjo_space.svg | 1 + 3 files changed, 25 insertions(+), 10 deletions(-) create mode 100644 static/img/undraw_paperless_tjo_space.svg diff --git a/src/components/HomepageFeatures/index.tsx b/src/components/HomepageFeatures/index.tsx index 77b0c47..fffd4cd 100644 --- a/src/components/HomepageFeatures/index.tsx +++ b/src/components/HomepageFeatures/index.tsx @@ -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 cloud.tjo.space Nextcloud - server as a personal cloud to store your Photos, Videos, - Files, Calendar, Contacts as well as share all that - with other users of tjo.space or anyone else. + Use cloud.tjo.space 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 paperless.tjo.space{" "} + 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 ( -
+
@@ -142,19 +152,19 @@ export default function HomepageFeatures(): JSX.Element {

Public Services

-
+
{PublicServicesList.map((props, idx) => ( ))}

Private Services

-
+
{PrivateServicesList.map((props, idx) => ( ))}

Upcoming Services (not yet available)

-
+
{UpcomingServicesList.map((props, idx) => ( ))} diff --git a/src/components/HomepageFeatures/styles.module.css b/src/components/HomepageFeatures/styles.module.css index b248eb2..f7ea125 100644 --- a/src/components/HomepageFeatures/styles.module.css +++ b/src/components/HomepageFeatures/styles.module.css @@ -5,6 +5,10 @@ width: 100%; } +.row { + justify-content: center; +} + .featureSvg { height: 200px; width: 200px; diff --git a/static/img/undraw_paperless_tjo_space.svg b/static/img/undraw_paperless_tjo_space.svg new file mode 100644 index 0000000..aa5d5c3 --- /dev/null +++ b/static/img/undraw_paperless_tjo_space.svg @@ -0,0 +1 @@ + \ No newline at end of file