diff --git a/apps/site/src/app/(home)/sections/FAQ/FAQ.module.scss b/apps/site/src/app/(home)/sections/FAQ/FAQ.module.scss index 6443d744..40c67b31 100644 --- a/apps/site/src/app/(home)/sections/FAQ/FAQ.module.scss +++ b/apps/site/src/app/(home)/sections/FAQ/FAQ.module.scss @@ -1,11 +1,11 @@ @use "zothacks-theme" as theme; @use "bootstrap-utils" as utils; -$mobile-item-padding-y: 26px; -$mobile-item-padding-x: 32px; +$mobile-item-padding-y: 1.6rem; +$mobile-item-padding-x: 2rem; -$item-padding-y: 32px; -$item-padding-x: 48px; +$item-padding-y: 2rem; +$item-padding-x: 3rem; .container { position: relative; diff --git a/apps/site/src/assets/images/resources-bang.svg b/apps/site/src/assets/images/resources-bang.svg new file mode 100644 index 00000000..c60f77fc --- /dev/null +++ b/apps/site/src/assets/images/resources-bang.svg @@ -0,0 +1,3 @@ + diff --git a/apps/site/src/assets/images/resources-title.svg b/apps/site/src/assets/images/resources-title.svg new file mode 100644 index 00000000..cfb51176 --- /dev/null +++ b/apps/site/src/assets/images/resources-title.svg @@ -0,0 +1,25 @@ + diff --git a/apps/site/src/views/Resources/Resources.module.scss b/apps/site/src/views/Resources/Resources.module.scss index e5a14166..9d5316b0 100644 --- a/apps/site/src/views/Resources/Resources.module.scss +++ b/apps/site/src/views/Resources/Resources.module.scss @@ -3,10 +3,6 @@ $container-padding: 6rem; .resources { - h2 { - text-align: center; - } - :global { section { // responsive padding diff --git a/apps/site/src/views/Resources/components/HeadingCard/HeadingCard.module.scss b/apps/site/src/views/Resources/components/HeadingCard/HeadingCard.module.scss new file mode 100644 index 00000000..4eaa7634 --- /dev/null +++ b/apps/site/src/views/Resources/components/HeadingCard/HeadingCard.module.scss @@ -0,0 +1,47 @@ +@use "zothacks-theme" as theme; +@use "bootstrap-utils" as utils; + +$mobile-item-padding-y: 1.6rem; +$mobile-item-padding-x: 2rem; + +$item-padding-y: 2rem; +$item-padding-x: 3rem; + +$heading-font-size: 1.75rem; + +.card { + background-color: theme.$white; + border: 6px solid theme.$white; + box-shadow: inset 0 0 0 6px theme.$black; + border-radius: 16px; + + padding: $mobile-item-padding-y $mobile-item-padding-x; + + display: flex; + align-items: center; +} + +.bang { + margin-right: $mobile-item-padding-x - 0.4375; +} + +.title { + font-size: $heading-font-size; + font-weight: 600; + color: theme.$light-blue; +} + +.description { + margin: 0; + font-weight: 500; +} + +@include utils.media-breakpoint-up(md) { + .card { + padding: $item-padding-y $item-padding-x; + } + + .bang { + margin-right: $item-padding-x - 0.4375; + } +} diff --git a/apps/site/src/views/Resources/components/HeadingCard/HeadingCard.tsx b/apps/site/src/views/Resources/components/HeadingCard/HeadingCard.tsx new file mode 100644 index 00000000..f8f75f8e --- /dev/null +++ b/apps/site/src/views/Resources/components/HeadingCard/HeadingCard.tsx @@ -0,0 +1,25 @@ +import Image from "next/image"; +import resourcesBang from "@/assets/images/resources-bang.svg"; + +import styles from "./HeadingCard.module.scss"; + +interface HeadingCardProps { + title: string; + description: string; +} + +export default function HeadingCard({ title, description }: HeadingCardProps) { + return ( +
{description}
+
- Application Programming Interface (API) are interfaces or
+
- Backend Frameworks are a variety of middleware services used to - connect to other API and database vendors to fit your project's - needs. -
-
- Frontend frameworks aid in the design of user interfaces and
+
- Various starter packs to start you off on your coding journeys at - ZotHacks, featuring a variety of technologies and tech stacks! -
-