-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update readme, contributing and code of conduct * update vaults env and pkg josn * start ppr page * fix some styles * add french md files for ppr
- Loading branch information
Showing
33 changed files
with
731 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<script setup lang="ts"> | ||
const PPR_HREF = 'https://www2.gov.bc.ca/gov/content/employment-business/business/managing-a-business/' + | ||
'bc-registry-services-personal-property-registry' | ||
const MAILTO_HREF = 'mailto:[email protected]?subject=Personal%20Property%20Registry%20Support%20Request' | ||
</script> | ||
<template> | ||
<div class="w-full bg-bcGovColor-footer p-4 text-white sm:py-9"> | ||
<div class="mx-auto flex max-w-bcGovLg flex-col gap-4 md:flex-row"> | ||
<div class="flex-1"> | ||
<h3 class="border-b border-blue-300 py-2 text-center text-xl font-semibold sm:text-left"> | ||
Need more information? | ||
</h3> | ||
<p class="py-6"> | ||
To learn more about Personal Property Registration in British Columbia, please | ||
<a | ||
:href="PPR_HREF" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<span class="underline">visit the Personal Property Information page.</span> | ||
</a> | ||
<UIcon name="i-mdi-open-in-new" class="ml-1 size-5 align-middle" /> | ||
</p> | ||
</div> | ||
<div class="flex-1 md:max-w-md lg:max-w-lg"> | ||
<h3 class="border-b border-blue-300 py-2 text-center text-xl font-semibold sm:text-left"> | ||
Contact Us | ||
</h3> | ||
<div class="space-y-7 py-6 pb-0 sm:pb-6"> | ||
<p> | ||
For support or questions about this application, contact us at: | ||
</p> | ||
<ul class="space-y-1"> | ||
<li> | ||
<span>Toll Free: <a class="underline" href="tel:+1-877-526-1526">1-877-526-1526</a></span> | ||
</li> | ||
<li> | ||
<span>Email: <a class="underline" :href="MAILTO_HREF">[email protected]</a></span> | ||
</li> | ||
</ul> | ||
|
||
<p> | ||
<strong>Hours of Operation:</strong> | ||
<br> | ||
Monday to Friday, 8:30am - 4:30pm Pacific time | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<script setup lang="ts"> | ||
defineProps<{ | ||
src: string | ||
title: string | ||
description: string | ||
}>() | ||
</script> | ||
<template> | ||
<li class="list-none space-y-4 text-center"> | ||
<img class="mx-auto pr-1" :src aria-hidden="true"> | ||
<h4 class="font-semibold text-bcGovColor-darkGray"> | ||
{{ title }} | ||
</h4> | ||
<p class="text-bcGovColor-midGray"> | ||
{{ description }} | ||
</p> | ||
</li> | ||
</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,38 @@ | ||
<script setup lang="ts"> | ||
const keycloak = reactive(useKeycloak()) | ||
const isSmallScreen = useMediaQuery('(max-width: 640px)') | ||
</script> | ||
<template> | ||
<header class="bg-white bg-no-repeat lg:h-[30rem] lg:bg-ppr-homebanner lg:bg-[length:836px] lg:bg-right-bottom xl:bg-[length:1010px] 2xl:h-[35rem] 2xl:bg-[length:1130px]"> | ||
<div class="mx-auto flex w-full max-w-bcGovLg items-center px-2 py-4 lg:h-[30rem] xl:h-[35rem]"> | ||
<div class="prose prose-bcGov max-w-full lg:max-w-md xl:max-w-xl 2xl:max-w-[50%]"> | ||
<h1>Register or search for legal claims on personal property</h1> | ||
<p> | ||
The Personal Property Registry records security interests and | ||
liens against personal property belonging to British Columbia businesses | ||
and individuals. | ||
</p> | ||
<SbcAuthMenu v-if="!keycloak.isAuthenticated" :block="isSmallScreen" /> | ||
<div v-if="!keycloak.isAuthenticated" class="pt-6"> | ||
<span> | ||
New to BC Registries? | ||
<a | ||
href="https://dev.account.bcregistry.gov.bc.ca/choose-authentication-method" | ||
> | ||
<span class="font-semibold text-[#1a5a96] underline">Create a BC Registries Account</span> | ||
</a> | ||
</span> | ||
</div> | ||
|
||
<UButton | ||
v-else | ||
size="bcGov" | ||
class="bg-bcGovColor-header font-semibold no-underline" | ||
label="Go to BC Registries Dashboard" | ||
:block="isSmallScreen" | ||
to="https://www.bcregistry.gov.bc.ca/dashboard" | ||
/> | ||
</div> | ||
</div> | ||
</header> | ||
</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,50 @@ | ||
<script setup lang="ts"> | ||
const props = defineProps<{ | ||
title: string | ||
src: string | ||
description: string | ||
link: { | ||
label: string | ||
target: string | ||
href: string | ||
} | ||
}>() | ||
function goToItem () { | ||
return navigateTo(props.link.href, { | ||
open: { | ||
target: props.link.target | ||
} | ||
}) | ||
} | ||
</script> | ||
<template> | ||
<li | ||
data-testid="ppr-link-card" | ||
class="flex cursor-pointer flex-col items-center justify-center gap-6 rounded bg-white px-5 py-8 text-center shadow-md transition-transform focus-within:-translate-y-1 focus-within:ring-2 focus-within:ring-bcGovGray-500 hover:-translate-y-1 hover:shadow-lg hover:ring-2 hover:ring-bcGovGray-500 md:size-[300px] dark:border dark:border-gray-300/50 dark:bg-bcGovColor-darkGray dark:focus-within:ring-1 dark:focus-within:ring-bcGovGray-100 dark:hover:ring-1 dark:hover:ring-bcGovGray-100" | ||
@click="goToItem" | ||
> | ||
<a | ||
:href="link.href" | ||
class="text-lg font-semibold text-bcGovColor-darkGray no-underline focus:outline-none" | ||
:target="link.target" | ||
> | ||
{{ title }} | ||
</a> | ||
<img class="mx-auto" :src aria-hidden="true"> | ||
<p>{{ description }}</p> | ||
<div class="px-4 pb-4 text-left sm:px-6"> | ||
<span class="flex flex-wrap items-center whitespace-nowrap font-semibold tracking-wide text-[#1a5a96] underline dark:text-white"> | ||
<span> | ||
{{ link.label }} | ||
<span class="inline-flex align-middle"> | ||
<UIcon | ||
name="i-mdi-open-in-new" | ||
class="ml-1 size-5" | ||
/> | ||
</span> | ||
</span> | ||
</span> | ||
</div> | ||
</li> | ||
</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,23 @@ | ||
<script setup lang="ts"> | ||
import type { ParsedContent } from '@nuxt/content' | ||
defineProps<{ | ||
content: ParsedContent | undefined | ||
alternate: boolean | ||
}>() | ||
</script> | ||
<template> | ||
<section | ||
:class="[ | ||
'flex lg:h-[450px]', | ||
alternate ? 'flex-col-reverse lg:flex-row-reverse' : 'flex-col lg:flex-row' | ||
]" | ||
> | ||
<div | ||
class="min-h-[340px] flex-1 bg-contain bg-center bg-no-repeat" | ||
:class="content?.bgImage" | ||
/> | ||
<article class="prose prose-bcGov prose-li:list-[square] prose-li:m-0 prose-ul:pl-4 prose-h3:text-2xl prose-h3:mt-0 my-auto min-w-full flex-1 grow px-4 py-8 text-left marker:text-bcGovGray-500 sm:px-6 lg:min-w-[50%]"> | ||
<ContentRenderer :value="content" /> | ||
</article> | ||
</section> | ||
</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
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.