Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharpie/dev 284 custom framing page v2 #16

Merged
merged 8 commits into from
Mar 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 26 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion resources/views/components/cards/arch.blade.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
@props(['href', 'image', 'title', 'alt' => ''])

<a href="{{$href}}">
<div>
<div class="relative rounded-t-full h-64 hover:scale-105 transition duration-1000 border border-secondary-300 overflow-hidden">
<x-image
src="{{ $image }}"
alt="In-store specialised printer"
alt="{{ $alt }}"
additionalClass="object-cover h-full"
/>

Expand Down
20 changes: 20 additions & 0 deletions resources/views/components/cards/item.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
@props(['href', 'image', '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 }}"
alt="{{ $alt }}"
additionalClass="object-cover w-full h-full"
/>

<div class="absolute inset-0 bg-black/25">
</div>
</div>
</div>

<div class="text-secondary-600 text-md text-center px-2">
{{ $title }}
</div>
</a>
3 changes: 3 additions & 0 deletions resources/views/components/icons/plus.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="size-6 text-primary-500">
<path fill-rule="evenodd" d="M12 3.75a.75.75 0 0 1 .75.75v6.75h6.75a.75.75 0 0 1 0 1.5h-6.75v6.75a.75.75 0 0 1-1.5 0v-6.75H4.5a.75.75 0 0 1 0-1.5h6.75V4.5a.75.75 0 0 1 .75-.75Z" clip-rule="evenodd" />
</svg>
4 changes: 2 additions & 2 deletions resources/views/components/section/content.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@props(['title' => ''])
@props(['title' => '', 'id' => ''])

<div {{ $attributes->merge(['class' => 'p-1 sm:p-4 rounded-md']) }}>
<div {{ $attributes->merge(['class' => 'p-1 sm:p-4 rounded-md']) }} id="{{$id}}">
@if ($title)
<x-headings.title-strikethrough title="{{$title}}" />
@endif
Expand Down
Loading
Loading