Skip to content

Commit

Permalink
big updates
Browse files Browse the repository at this point in the history
  • Loading branch information
joevaugh4n committed Jul 31, 2024
1 parent 8fadc1a commit 6b6576d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/Grid.astro
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ if (slug) {
} order-first`}
>
{alt && (
<div class="w-full lg:max-w-md aspect-square relative overflow-hidden rounded-sm">
<div class="w-full md:max-w-md aspect-square relative overflow-hidden rounded-sm">
<Image
class="object-cover object-center w-full h-full"
alt={alt}
Expand Down
3 changes: 2 additions & 1 deletion src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ const page = await fetchPageBySlug(slug);
const content = page?.content?.rendered || "";
---

<header id="home" class="xl:min-h-screen subpixel-antialiased border-b-2 border-gray-300 dark:border-gray-600">
<header id="home"
class="xl:min-h-screen subpixel-antialiased border-b-2 border-gray-300 dark:border-gray-600 ">
<hgroup class="lg:py-20 py-12">
<h1 class="lg:text-8xl text-6xl uppercase tracking-tight mb-8">
{title}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Posts.astro
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const activeTags = filterActiveTags(tags, posts);

<section
id="posts"
class="pt-8 md:pb-8 pb-16 gap-x-16 gap-y-6 border-t-2 md:min-h-screen border-b-2 border-gray-300 dark:border-gray-600"
class="pt-8 md:pb-8 pb-16 gap-x-16 gap-y-6 border-t-2 md:min-h-screen border-b-2 border-gray-300 dark:border-gray-600 max-w-7xl mx-auto"
>
<H2 title="Posts" />
<div class="flex flex-wrap gap-2 mb-8">
Expand Down
13 changes: 8 additions & 5 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,13 @@ import GoViral from "../../src/images/go_viral.webp";
<Testimonials />
<Posts />
<Grid anchor="contact" title="Get in touch">
Chatting to me is free, and I have a discount for smaller organisations
(less than £100k annual revenue). We can always work something out. <a
href="mailto:adamkoszaryconsulting@gmail.com" class="font-semibold underline"
title="Get in touch">Get in touch</a
>.
<p class="prose text-black dark:text-white">
Chatting to me is free, and I have a discount for smaller organisations
(less than £100k annual revenue). We can always work something out. <a
href="mailto:adamkoszaryconsulting@gmail.com"
class="font-semibold underline"
title="Get in touch">Get in touch</a
>.
</p>
</Grid>
</Layout>

0 comments on commit 6b6576d

Please sign in to comment.