-
Notifications
You must be signed in to change notification settings - Fork 8
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
11da492
commit e19cff5
Showing
68 changed files
with
370 additions
and
1,215 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,22 @@ | ||
<template> | ||
<div class="text-(--ui-neutral) text-sm leading-tight flex flex-row flex-nowrap gap-2 items-center"> | ||
<Icon :name="getIconName()" class="size-8 flex-shrink-0 text-(--ui-text-dimmed)" /> | ||
<p>{{ message }}</p> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
const { icon } = defineProps<{ | ||
message: string | ||
icon: 'info' | 'alert' | ||
}>() | ||
function getIconName() { | ||
switch (icon) { | ||
case 'info': | ||
return 'food:info' | ||
case 'alert': | ||
return 'food:alert' | ||
} | ||
} | ||
</script> |
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
22 changes: 10 additions & 12 deletions
22
apps/web-app/app/components/CommandCenter/MenuCreateCard.vue
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 |
---|---|---|
@@ -1,14 +1,12 @@ | ||
<template> | ||
<UiActiveCard> | ||
<div class="flex flex-col justify-center items-center h-full min-h-36 text-center"> | ||
<NuxtImg | ||
src="/img/green-notebook.png" | ||
alt="" | ||
class="mx-auto mb-4 size-14" | ||
/> | ||
<h2 class="text-lg leading-tight"> | ||
{{ $t('center.create.menu') }} | ||
</h2> | ||
</div> | ||
</UiActiveCard> | ||
<div class="bg-(--ui-bg-muted) flex flex-col justify-center items-center h-full min-h-36 text-center"> | ||
<NuxtImg | ||
src="/img/green-notebook.png" | ||
alt="" | ||
class="mx-auto mb-4 size-14" | ||
/> | ||
<h2 class="text-lg leading-tight"> | ||
{{ $t('center.create.menu') }} | ||
</h2> | ||
</div> | ||
</template> |
8 changes: 4 additions & 4 deletions
8
apps/web-app/app/components/CommandCenter/PaymentMethodCard.vue
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
22 changes: 10 additions & 12 deletions
22
apps/web-app/app/components/CommandCenter/PaymentMethodCreateCard.vue
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 |
---|---|---|
@@ -1,14 +1,12 @@ | ||
<template> | ||
<UiActiveCard> | ||
<div class="flex flex-col justify-center items-center h-full min-h-28 text-center"> | ||
<NuxtImg | ||
src="/img/green-notebook.png" | ||
alt="" | ||
class="mx-auto mb-2 size-12" | ||
/> | ||
<h2 class="leading-tight"> | ||
{{ $t('center.create.payment-method') }} | ||
</h2> | ||
</div> | ||
</UiActiveCard> | ||
<div class="bg-(--ui-bg-muted) flex flex-col justify-center items-center h-full min-h-28 text-center"> | ||
<NuxtImg | ||
src="/img/green-notebook.png" | ||
alt="" | ||
class="mx-auto mb-2 size-12" | ||
/> | ||
<h2 class="leading-tight"> | ||
{{ $t('center.create.payment-method') }} | ||
</h2> | ||
</div> | ||
</template> |
52 changes: 25 additions & 27 deletions
52
apps/web-app/app/components/CommandCenter/ProductCard.vue
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
22 changes: 10 additions & 12 deletions
22
apps/web-app/app/components/CommandCenter/ProductCreateCard.vue
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 |
---|---|---|
@@ -1,14 +1,12 @@ | ||
<template> | ||
<UiActiveCard> | ||
<div class="flex flex-col justify-center items-center h-full min-h-48 text-center"> | ||
<NuxtImg | ||
src="/img/green-notebook.png" | ||
alt="" | ||
class="mx-auto mb-4 size-14" | ||
/> | ||
<h2 class="text-lg leading-tight"> | ||
{{ $t('center.create.product') }} | ||
</h2> | ||
</div> | ||
</UiActiveCard> | ||
<div class="bg-(--ui-bg-muted) flex flex-col justify-center items-center h-full min-h-48 text-center"> | ||
<NuxtImg | ||
src="/img/green-notebook.png" | ||
alt="" | ||
class="mx-auto mb-4 size-14" | ||
/> | ||
<h2 class="text-lg leading-tight"> | ||
{{ $t('center.create.product') }} | ||
</h2> | ||
</div> | ||
</template> |
Oops, something went wrong.