Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
SethSharp committed Mar 22, 2024
1 parent c143732 commit c2ea069
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions resources/views/components/cards/item.blade.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
@props(['href', 'image', 'title', 'alt' => ''])
@props(['href', 'src', 'title', 'alt' => ''])

<a href="{{$href}}">
<div>
<div class="relative rounded-lg h-32 hover:opacity-75 transition duration-1000 border border-secondary-300 overflow-hidden">
<x-image
src="{{ $image }}"
src="{{ $src }}"
alt="{{ $alt }}"
class="object-cover w-full h-full"
class="object-cover object-center h-32 w-full"
/>

<div class="absolute inset-0 bg-black/25">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/pages/custom-framing.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
/>

<x-cards.item
image="jigsaw/giraffe.webp"
src="jigsaw/giraffe.webp"
alt="Completed Giraffe Jigsaw - not framed"
title="Jigsaws"
href="{{ route('new.services.framing.jigsaw') }}"
Expand Down

0 comments on commit c2ea069

Please sign in to comment.