-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
6 changed files
with
62 additions
and
5 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,9 @@ | ||
<script setup lang="ts"> | ||
import Buton from 'primevue/button'; | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<Buton label="物品を登録" /> | ||
</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,16 @@ | ||
<script setup lang="ts"> | ||
import Avatar from 'primevue/avatar'; | ||
defineProps<{ | ||
name: string; | ||
}>(); | ||
</script> | ||
<template> | ||
<div> | ||
<avatar | ||
:image="`https://q.trap.jp/api/v3/public/icon/${name}`" | ||
class="mr-2" | ||
size="xlarge" | ||
shape="circle" | ||
/> | ||
</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 |
---|---|---|
@@ -1,7 +1,39 @@ | ||
<template> | ||
<div>Here is dashboard</div> | ||
<div> | ||
<div class="header"> | ||
<chipCard></chipCard> | ||
<iconAvatar :name="dynamicName"></iconAvatar> | ||
</div> | ||
<div class="content"> | ||
<div><v-divider></v-divider></div> | ||
<div></div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts" setup></script> | ||
<script lang="ts" setup> | ||
import iconAvatar from '@/components/iconAvatar.vue'; | ||
import chipCard from '@/components/chipCard.vue'; | ||
import { ref } from 'vue'; | ||
const dynamicName = 'o_ER4'; // 実際は指定のユーザーの名前を取得する | ||
</script> | ||
|
||
<style lang="scss" module></style> | ||
<style lang="scss" module> | ||
.header { | ||
display: flex; | ||
justify-content: flex-end; | ||
align-items: center; | ||
padding: 10px; | ||
position: fixed; | ||
top: 0; | ||
right: 0; | ||
left: 0; | ||
background-color: white; /* 必要に応じて背景色を調整 */ | ||
z-index: 1000; /* 必要に応じてz-indexを調整 */ | ||
} | ||
.content { | ||
margin-top: 60px; /* ヘッダーの高さに合わせて調整 */ | ||
padding: 20px; | ||
} | ||
</style> |
Empty file.