From 1764f95af5e6d74f6ff8b50a1dc3538805b275f7 Mon Sep 17 00:00:00 2001 From: Lex <58815784+avonbied@users.noreply.github.com> Date: Sun, 15 Oct 2023 22:26:30 -0500 Subject: [PATCH] Update card to be responsive and link avatar --- app/src/components/Card.astro | 56 ++++++++++++++++++----------------- app/src/pages/index.astro | 9 ++++-- 2 files changed, 36 insertions(+), 29 deletions(-) diff --git a/app/src/components/Card.astro b/app/src/components/Card.astro index 7c9435d..7b0574c 100644 --- a/app/src/components/Card.astro +++ b/app/src/components/Card.astro @@ -8,23 +8,14 @@ export interface Props { const { title, subtitle, image, isVertical = false } = Astro.props; - -const SIZES = { - xsmall: "16pt", - small: "24pt", - normal: "36pt", - large: "48pt", -}; ---
-
- {image && } -
+ {image && }
-

{title ?? "Title Placeholder"}

- {subtitle &&

{subtitle}

} +

{title ?? "Title Placeholder"}

+ {subtitle &&

{subtitle}

}
@@ -33,24 +24,19 @@ const SIZES = {
diff --git a/app/src/pages/index.astro b/app/src/pages/index.astro index 5c3fa0c..95ae1a8 100644 --- a/app/src/pages/index.astro +++ b/app/src/pages/index.astro @@ -7,15 +7,20 @@ import CTA from '@components/CTA.astro'; import Icon from '@components/Icon.astro'; const title = 'Home'; + +const USER_AVATAR = await fetch('https://api.github.com/users/avonbied') + .then(response => response.json()) + .then(json => json.avatar_url) ---
+ +

Hi there! I'm a Houston-based consultant at Accenture and I have a passion for helping clients transform their businesses with the power of cloud computing. Whether it's AWS, Azure, Google Cloud, or any other platform, I have the skills and experience to design, implement, and optimize cloud solutions that meet the needs of clients.


I believe that cloud computing is not only a technological trend, but also a strategic advantage that can enhance security, reduce costs, and enable innovation.