-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #183 from deetz99/scalar-draft
Add Scalar Module for OAS
- Loading branch information
Showing
32 changed files
with
5,648 additions
and
4,318 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
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,47 @@ | ||
<script setup lang="ts"> | ||
const props = defineProps<{ | ||
title: string | ||
icon: string | ||
description: string | ||
link: string | ||
}>() | ||
function goToItem () { | ||
return navigateTo(props.link) | ||
} | ||
</script> | ||
<template> | ||
<UCard | ||
:ui="{ | ||
rounded: 'rounded', | ||
base: 'cursor-pointer focus-within:ring-2 focus-within:ring-gray-500 hover:ring-2 hover:ring-gray-500 transition-colors', | ||
body: { | ||
base: 'w-[325px] h-full', | ||
padding: 'sm:px-0 sm:py-0 p-0' | ||
}, | ||
}" | ||
> | ||
<div | ||
class="flex flex-col items-center justify-center gap-6 sm:px-10 sm:py-8 p-4" | ||
@click="goToItem" | ||
> | ||
<h2 class="text-lg font-semibold uppercase text-bcGovColor-darkGray dark:text-white"> | ||
<a | ||
:href="link" | ||
class="focus:outline-none" | ||
> | ||
{{ title }} | ||
</a> | ||
</h2> | ||
<div class="flex size-16 items-center justify-center rounded-full bg-bcGovColor-nonClickable"> | ||
<UIcon :name="icon" class="size-8 shrink-0 self-center text-white " /> | ||
</div> | ||
<p class="text-sm text-bcGovColor-midGray dark:text-gray-400"> | ||
{{ description }} | ||
</p> | ||
<span class="font-semibold tracking-wide text-bcGovBlue-500 underline dark:text-white"> | ||
{{ $t('SbcMainCard.learnMore') }} | ||
</span> | ||
</div> | ||
</UCard> | ||
</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
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
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
Oops, something went wrong.