-
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
27 changed files
with
1,911 additions
and
468 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1 +1 @@ | ||
c2400366737b24b88ff15be9b2118889 | ||
80ae7a68a57048e95f31690f554538e7 |
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,6 @@ | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} |
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,36 @@ | ||
<script lang="ts" setup> | ||
import Badge from '@/components/Badge.vue' | ||
defineProps<{ | ||
currentProject?: Project, | ||
openProjectManager: () => void, | ||
badgeColor?: string, | ||
}>() | ||
</script> | ||
<template> | ||
<div class="flex w-full border-b border-stone-300 select-none"> | ||
<div class="app-title | text-xl pl-6 pr-4 py-3 relative text-brand-red bg-brand-black cursor-default select-none"> | ||
Renfield | ||
</div> | ||
<div class="pl-10 pr-5 rounded-r-full flex items-center cursor-pointer relative h-auto hover:bg-white" | ||
@click="openProjectManager" | ||
> | ||
<span class="text-2xl mr-4">{{ currentProject?.Name }}</span> | ||
<Badge class="text-white" :style="{ backgroundColor: badgeColor }">{{ currentProject?.Tag }}</Badge> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<style scoped> | ||
.app-title::after { | ||
content: ""; | ||
position: absolute; | ||
display: block; | ||
right: -20px; | ||
top: 0; | ||
border-top: 50px solid var(--brand-black); | ||
border-right: 20px solid transparent; | ||
z-index: 100; | ||
} | ||
</style> |
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 lang="ts" setup> | ||
defineProps<{ | ||
active: boolean, | ||
}>(); | ||
</script> | ||
<template> | ||
<div | ||
:class="[active | ||
? 'text-blue-600 border-b-2' | ||
: '', | ||
'px-3 py-3 font-medium cursor-pointer relative top-[3px] border-blue-400 hover:border-b-2' | ||
]" | ||
> | ||
<slot /> | ||
</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,5 @@ | ||
<template> | ||
<div class="flex pl-2 border-b-2 border-gray-300 bg-gray-200"> | ||
<slot /> | ||
</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,5 @@ | ||
<template> | ||
<span class="px-3 py-1 text-sm rounded-full"> | ||
<slot /> | ||
</span> | ||
</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,12 @@ | ||
<template> | ||
<button type="button" | ||
class="inline-flex items-center rounded-md border border-transparent | ||
bg-blue-500 px-3 py-2 text-sm font-medium leading-4 | ||
text-white shadow-sm hover:bg-blue-700 focus:outline-none | ||
focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 | ||
" | ||
> | ||
<slot /> | ||
</button> | ||
</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,8 @@ | ||
<script setup lang="ts"> | ||
</script> | ||
|
||
<template> | ||
<div class="bg-white p-2 shadow-sm"> | ||
<slot /> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<script setup lang="ts"> | ||
import InputLabel from '@/components/InputLabel.vue' | ||
defineProps<{ | ||
label: string | ||
modelValue: string | number | ||
}>() | ||
defineEmits(['update:modelValue']) | ||
</script> | ||
|
||
<template> | ||
<InputLabel :label="label"> | ||
<div class="mt-1"> | ||
<input v-bind="$attrs" :value="modelValue" | ||
@input="$emit('update:modelValue', ($event.target as HTMLInputElement).value)" | ||
class="block w-full rounded-md | ||
border border-gray-300 shadow-sm sm:text-sm p-2 | ||
focus:border-indigo-500 focus:ring-indigo-500" | ||
/> | ||
</div> | ||
</InputLabel> | ||
</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,12 @@ | ||
<script setup lang="ts"> | ||
defineProps<{ | ||
label: string | ||
}>(); | ||
</script> | ||
|
||
<template> | ||
<label class="block text-sm font-medium text-gray-700"> | ||
{{ label }} | ||
<slot /> | ||
</label> | ||
</template> |
Oops, something went wrong.