-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2388b70
commit c0bab20
Showing
4 changed files
with
64 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<script setup> | ||
import {computed} from "vue"; | ||
Check failure on line 2 in resources/js/Components/BackgroundGrid.vue GitHub Actions / Test & lint JS codebase
Check failure on line 2 in resources/js/Components/BackgroundGrid.vue GitHub Actions / Test & lint JS codebase
Check failure on line 2 in resources/js/Components/BackgroundGrid.vue GitHub Actions / Test & lint JS codebase
|
||
const props = defineProps({ | ||
maskDirection: { | ||
type: String, | ||
default: 'right', | ||
} | ||
}) | ||
const maskImage = computed(() => '[mask-image:radial-gradient(100%_100%_at_top_' + props.maskDirection + ',white,transparent)]') | ||
</script> | ||
|
||
<template> | ||
<svg class="absolute inset-0 -z-10 h-full w-full stroke-gray-200" :class="maskImage" aria-hidden="true"> | ||
<defs> | ||
<pattern id="83fd4e5a-9d52-42fc-97b6-718e5d7ee527" width="200" height="200" x="50%" y="-1" | ||
patternUnits="userSpaceOnUse"> | ||
<path d="M100 200V.5M.5 .5H200" fill="none"/> | ||
</pattern> | ||
</defs> | ||
<svg x="50%" y="-1" class="overflow-visible fill-gray-50"> | ||
<path d="M-100.5 0h201v201h-201Z M699.5 0h201v201h-201Z M499.5 400h201v201h-201Z M-300.5 600h201v201h-201Z" | ||
stroke-width="0"/> | ||
Check warning on line 24 in resources/js/Components/BackgroundGrid.vue GitHub Actions / Test & lint JS codebase
|
||
</svg> | ||
<rect width="100%" height="100%" stroke-width="0" fill="url(#83fd4e5a-9d52-42fc-97b6-718e5d7ee527)"/> | ||
</svg> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<template> | ||
<div class="mx-auto max-w-2xl lg:mx-0"> | ||
<h2 class="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl"> | ||
<slot name="header"></slot> | ||
</h2> | ||
<p class="mt-1 text-lg leading-8 text-gray-600"> | ||
<slot name="subheader"></slot> | ||
</p> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters