Skip to content

Commit

Permalink
Merge pull request #192 from deetz99/platform-review-step
Browse files Browse the repository at this point in the history
Platform review step
  • Loading branch information
deetz99 authored Oct 18, 2024
2 parents 4dce42d + a04b076 commit b77d49a
Show file tree
Hide file tree
Showing 6 changed files with 492 additions and 24 deletions.
2 changes: 1 addition & 1 deletion strr-pm-web/app/components/connect/InfoBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
defineProps<{ title?: string, titleClass?: string, content?: string }>()
</script>
<template>
<div>
<div class="flex flex-col">
<strong v-if="title" :class="titleClass || 'text-[smaller] font-bold italic tracking-wider'">
{{ title }}
</strong>
Expand Down
32 changes: 32 additions & 0 deletions strr-pm-web/app/components/form/platform/Review/EditCardHeader.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!-- using this to cleanup the Review component template,
should add an 'actions' prop to the ConnectPageSection component to avoid this -->
<script setup lang="ts">
defineProps<{
title: string
icon: string
}>()
defineEmits<{
edit: [void]
}>()
</script>
<template>
<div class="flex items-center px-4">
<div class="inline-flex grow items-center gap-2">
<UIcon
:name="icon"
class="size-6 shrink-0 text-bcGovColor-activeBlue"
/>
<h2>
{{ title }}
</h2>
</div>
<UButton
:label="$t('word.Edit')"
icon="i-mdi-edit"
variant="link"
:padded="false"
@click="$emit('edit')"
/>
</div>
</template>
Loading

0 comments on commit b77d49a

Please sign in to comment.