-
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.
* add login page * fix code style * move h-full to :root
- Loading branch information
1 parent
e36dc65
commit 5a3f5eb
Showing
7 changed files
with
56 additions
and
3 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,3 +1,7 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
:root, body, #app { | ||
height: 100%; | ||
} |
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,20 @@ | ||
<template> | ||
<div class="flex h-5/6 justify-center items-center px-2 sm:px-0"> | ||
<main class="w-full max-w-96 h-80 bg-white rounded-xl p-4 shadow flex"> | ||
<div class="flex-1 w-full p-6"> | ||
<slot /> | ||
</div> | ||
</main> | ||
</div> | ||
<div class="container mx-auto"> | ||
<div class="block uppercase text-white font-semibold text-xs tracking-widest" /> | ||
</div> | ||
<footer> | ||
<div class="w-full flex items-center justify-center text-white"> | ||
<span class="font-semibold text-xs tracking-widest">developed by</span> | ||
<a href="https://blumilk.pl/" target="_blank"> | ||
<img class="w-32" src="../../assets/images/blumilk.png" alt="Blumilk"> | ||
</a> | ||
</div> | ||
</footer> | ||
</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,19 @@ | ||
<script setup lang="ts"> | ||
import GuestLayout from '@/Layouts/GuestLayout.vue' | ||
import { Head } from '@inertiajs/vue3' | ||
</script> | ||
|
||
<template> | ||
<Head title="Login" /> | ||
<div class="flex flex-col justify-between h-full items-center"> | ||
<h2 class="text-2xl text-center">Welcome in Github Analyzer</h2> | ||
<p class="text-center my-auto">Login with Github to analyze your GitHub Actions and monitor usage minutes!</p> | ||
<a class="bg-gray-800 rounded-md block text-center text-white w-5/6 py-3 hover:bg-gray-700" href="/auth/redirect">Login via Github</a> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts"> | ||
export default { | ||
layout: GuestLayout, | ||
} | ||
</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