-
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.
Merge pull request #32 from TCC-Klaiton-Diogo/develop
TKD-44 - Criar Dashboard
- Loading branch information
Showing
12 changed files
with
147 additions
and
8 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,21 @@ | ||
<script setup> | ||
import Logo from '@/Components/Logos/Logo.vue'; | ||
</script> | ||
|
||
<template> | ||
<header class="fixed inset-0 h-16 bg-gray-200 border-b border-solid border-gray-300"> | ||
<div class="flex h-16 w-full"> | ||
<!-- Logo --> | ||
<Logo class="items-center ml-6 my-auto"/> | ||
|
||
<!-- Links --> | ||
<div class="w-fit h-full my-auto ml-20 mr-auto"> | ||
<slot name="links" /> | ||
</div> | ||
|
||
<div class="justify-end mr-6 my-auto"> | ||
<slot name="profile" /> | ||
</div> | ||
</div> | ||
</header> | ||
</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> | ||
import Header from './Header.vue'; | ||
import Link from '../Links/Link.vue'; | ||
</script> | ||
|
||
<template> | ||
<Header> | ||
<template #profile> | ||
<div class="space-x-1"> | ||
<Link :href="route('login')" class="inline-block">Login</Link> | ||
<span>or</span> | ||
<Link :href="route('register')" class="inline-block">Register</Link> | ||
</div> | ||
</template> | ||
</Header> | ||
</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,9 @@ | ||
<script setup> | ||
import { Link } from '@inertiajs/inertia-vue3'; | ||
</script> | ||
|
||
<template> | ||
<Link class="text-blue-600"> | ||
<slot /> | ||
</Link> | ||
</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,13 @@ | ||
<script setup> | ||
import { Link } from '@inertiajs/inertia-vue3'; | ||
</script> | ||
|
||
<template> | ||
<div class="w-fit"> | ||
<Link :href="route('landingpage')"> | ||
<h1 class="font-bold text-3xl"> | ||
GetWorkers | ||
</h1> | ||
</Link> | ||
</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,9 @@ | ||
<template> | ||
<main> | ||
<div class="pt-24 pb-6 min-h-screen"> | ||
<div class="container mx-auto bg-gray-100 rounded p-5"> | ||
<slot /> | ||
</div> | ||
</div> | ||
</main> | ||
</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 h-full items-center"> | ||
<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 items-center"> | ||
<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,23 @@ | ||
<script setup> | ||
import { Head } from '@inertiajs/inertia-vue3'; | ||
defineProps({ | ||
title: String, | ||
}); | ||
</script> | ||
|
||
<template> | ||
<div class="min-h-screen"> | ||
<Head :title="title" /> | ||
|
||
<!-- Header --> | ||
<slot name="header" /> | ||
|
||
<!-- Main --> | ||
<slot name="main" /> | ||
|
||
<!-- Footer --> | ||
<slot name="footer" /> | ||
</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,23 @@ | ||
<script setup> | ||
import Main from '../Components/Mains/Main.vue'; | ||
import BaseLayout from './BaseLayout.vue'; | ||
import HeaderGuest from '../Components/Headers/HeaderGuest.vue'; | ||
defineProps({ | ||
title: String, | ||
}); | ||
</script> | ||
|
||
<template> | ||
<BaseLayout :title="title"> | ||
<template #header> | ||
<HeaderGuest /> | ||
</template> | ||
|
||
<template #main> | ||
<Main> | ||
<slot name="main" /> | ||
</Main> | ||
</template> | ||
</BaseLayout> | ||
</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,11 @@ | ||
<script setup> | ||
import GuestLayout from '../Layouts/GuestLayout.vue'; | ||
</script> | ||
|
||
<template> | ||
<GuestLayout title="Welcome"> | ||
<template #main> | ||
<div class="h-96"></div> | ||
</template> | ||
</GuestLayout> | ||
</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