From 4f9f65650787516fc4e7a96a6ee38bc40e387c46 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 23 Jan 2024 20:26:14 -0500 Subject: Margins more consistent; Projects grids; Mobile optimized --- src/pages/contacts.astro | 22 ++++++++++++---------- src/pages/projects.astro | 49 ++++++++++++++++++++++++++++++------------------ 2 files changed, 43 insertions(+), 28 deletions(-) (limited to 'src/pages') diff --git a/src/pages/contacts.astro b/src/pages/contacts.astro index 908fba8..5123bed 100644 --- a/src/pages/contacts.astro +++ b/src/pages/contacts.astro @@ -4,15 +4,17 @@ import { Icon } from 'astro-icon/components'; import contacts from "../components/contacts.json"; --- - {contacts.map((contact)=> { - let icon = "fa6-brands:" + contact.icon; - return ( -
- - {contact.platform} ({contact.username}) -
- ) - })} +
+ {contacts.map((contact)=> { + let icon = "fa6-brands:" + contact.icon; + return ( +
+ + {contact.platform} ({contact.username}) +
+ ) + })} +
\ No newline at end of file + diff --git a/src/pages/projects.astro b/src/pages/projects.astro index b6da87a..70eeb08 100644 --- a/src/pages/projects.astro +++ b/src/pages/projects.astro @@ -3,31 +3,38 @@ import Page from "../layouts/Page.astro"; import projects from "../components/projects.json"; --- - { - projects.map((project) => { - return ( -
-

{project.name}

-

{project.description}

- {project.links.map((link) => { - return ( - {link.name} - ) - })} -
- ) - }) - } +
+ { + projects.map((project) => { + return ( +
+

{project.name}

+

{project.description}

+ {project.links.map((link) => { + return ( + {link.name} + ) + })} +
+ ) + }) + } +
\ No newline at end of file + -- cgit v1.2.3