From 2993763e3db684c79a432512ec6b2ca0e8966aaa Mon Sep 17 00:00:00 2001 From: Seth Etter Date: Tue, 6 Feb 2024 20:17:51 -0600 Subject: [PATCH] contribute page content --- components/Card.tsx | 4 +++- routes/contribute.tsx | 18 ++++++------------ 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/components/Card.tsx b/components/Card.tsx index e460eec..4c93905 100644 --- a/components/Card.tsx +++ b/components/Card.tsx @@ -2,6 +2,7 @@ import { ComponentChildren, JSX } from "preact"; type CardProps = { title: string; + title_size?: "lg" | "xl" | "2xl" | "3xl"; content?: string | JSX.Element | (string | JSX.Element)[]; link?: string; link_text?: string; @@ -11,6 +12,7 @@ type CardProps = { const Card = ({ title, content, + title_size = "xl", link, link_text = "", children, @@ -18,7 +20,7 @@ const Card = ({ return (
-

{title}

+

{title}

{content && !Array.isArray(content) && (

{content}

)} diff --git a/routes/contribute.tsx b/routes/contribute.tsx index 31d8011..46a9706 100644 --- a/routes/contribute.tsx +++ b/routes/contribute.tsx @@ -20,22 +20,16 @@ export default async function Home() {

- Wichita's software developer community + Join the fun, reap the rewards

-

- devICT is a volunteer-run community aiming to{" "} - educate, empower and connect software developers and - technologists in the Wichita, KS area. +

+ No matter your background or skill level, we have ways to get + involved.


-

- Whether you are new to the field, or an experienced engineer, devICT - offers multiple avenues for you to engage, contribute, and grow your - skillset as a technologist. -

-

Why

+

Why contribute?

{[ { @@ -59,7 +53,7 @@ export default async function Home() { ))}
-

How

+

How to contribute?

{[ { -- 2.51.2