Skip to content

Commit

Permalink
type update
Browse files Browse the repository at this point in the history
  • Loading branch information
joevaugh4n committed Aug 6, 2024
1 parent aa93e01 commit d91f14a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/components/Principles.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import Grid from "./atoms/Grid.astro";
interface Props {
src: ImageMetadata;
heroImage: ImageMetadata;
}
const {src} = Astro.props;
const {heroImage} = Astro.props;
---

<Grid
Expand All @@ -14,6 +14,6 @@ const {src} = Astro.props;
background
loading="eager"
slug="principles"
src={src}
src={heroImage}
title="How I Do It"
/>
4 changes: 2 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Services from "../components/Services.astro";
import PreviousClients from "../components/Testimonials.astro";
// Import for the Principles section's hero image. To use a different image, edit the file name below.
import HeroImage from "../../src/images/adam_phones.webp";
import PrinciplesImage from "../../src/images/adam_phones.webp";
// Imports for the logo images. If you're adding a new logo, you can give it any alias (e.g. 'Bletchley Park' could have been 'Bletch Park', 'BP', etc). Just make sure you refer to the same alias when creating the Logo component.
import BletchleyPark from "../../src/images/bp.svg";
Expand All @@ -33,7 +33,7 @@ import TripleC from "../../src/images/triplec.webp";
<HR />
<Services title="What I do" />
<HR />
<Principles heroImage={HeroImage} />
<Principles heroImage={PrinciplesImage} />
<HR />
<PreviousClients title="Previous clients">
<Logo
Expand Down

0 comments on commit d91f14a

Please sign in to comment.