Skip to content

Commit

Permalink
Merge pull request #40 from denoland/further-image-optimisations
Browse files Browse the repository at this point in the history
chore: further minor image optimisations
  • Loading branch information
iuioiua authored Apr 5, 2023
2 parents 9f0beda + 439a640 commit 44ed657
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/Logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function Logo(props: JSX.HTMLAttributes<HTMLImageElement>) {
{...props}
height={height}
width={width}
src="/logo.png"
src="/logo.webp"
alt={`${SITE_NAME} logo`}
class={`h-[${height}px] w-[${width}px] mx-auto ${props.class ?? ""}`}
/>
Expand Down
2 changes: 1 addition & 1 deletion routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function TestimonialSection() {
<Heading title="Testimonial" />
<div class="text-center text-lg space-y-8">
<img
src="brad.png"
src="brad.webp"
alt="Brad, CEO of Good Things"
class="h-16 w-auto rounded-full mx-auto"
/>
Expand Down
Binary file removed static/brad.png
Binary file not shown.
Binary file added static/brad.webp
Binary file not shown.
Binary file removed static/logo.png
Binary file not shown.
Binary file added static/logo.webp
Binary file not shown.

0 comments on commit 44ed657

Please sign in to comment.