-
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.
Merge branch 'i11' of https://github.com/migueloliveiradev/living int…
…o i11
- Loading branch information
Showing
15 changed files
with
481 additions
and
391 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import type { components } from "~/api/schema"; | ||
|
||
export type Post = components["schemas"]["CreatePostCommand"]; |
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 +1,5 @@ | ||
a { color: inherit; } | ||
a { color: inherit; } | ||
|
||
body { | ||
margin: 0; | ||
} |
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,81 +1,20 @@ | ||
<script lang="ts" setup> | ||
import { ref } from "vue"; | ||
import Menu from "primevue/menu"; | ||
const { content } = defineProps<{ | ||
content: string; | ||
const items = ref([ | ||
{ | ||
label: "Refresh", | ||
icon: "pi pi-refresh", | ||
}, | ||
{ | ||
label: "Search", | ||
icon: "pi pi-search", | ||
}, | ||
{ | ||
separator: true, | ||
}, | ||
{ | ||
label: "Delete", | ||
icon: "pi pi-times", | ||
}, | ||
]); | ||
}>(); | ||
</script> | ||
|
||
<template> | ||
<div class="card"> | ||
<Toast /> | ||
<Panel toggleable> | ||
<template #header> | ||
<div class="flex items-center gap-2"> | ||
<Avatar | ||
image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" | ||
size="large" | ||
shape="circle" | ||
/> | ||
<span class="font-bold">Amy Elsner</span> | ||
</div> | ||
</template> | ||
<template #footer> | ||
<div class="flex flex-wrap items-center justify-between gap-4"> | ||
<div class="flex items-center gap-2"> | ||
<Button | ||
icon="pi pi-user" | ||
rounded | ||
text | ||
/> | ||
<Button | ||
icon="pi pi-bookmark" | ||
severity="secondary" | ||
rounded | ||
text | ||
/> | ||
</div> | ||
<span class="text-surface-500 dark:text-surface-400">Updated 2 hours ago</span> | ||
</div> | ||
</template> | ||
<template #icons> | ||
<Button | ||
icon="pi pi-cog" | ||
severity="secondary" | ||
rounded | ||
text | ||
@click="toggle" | ||
/> | ||
<Menu | ||
id="config_menu" | ||
:model="items" | ||
popup | ||
/> | ||
</template> | ||
<p class="m-0"> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et | ||
dolore magna | ||
aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo | ||
consequat. | ||
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. | ||
Excepteur | ||
sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
</Panel> | ||
</div> | ||
<div class="card"> | ||
<Fieldset> | ||
<template #legend> | ||
<div class="flex items-center pl-2"> | ||
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" /> | ||
<span class="font-bold p-2">Amy Elsner</span> | ||
</div> | ||
</template> | ||
<p class="m-0" v-html="content" /> | ||
</Fieldset> | ||
</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
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.