-
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 pull request #20 from fumeapp/labels
Labels
- Loading branch information
Showing
15 changed files
with
124 additions
and
39 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 |
---|---|---|
@@ -1,2 +1,19 @@ | ||
MICROSOFT_CLIENT_ID= | ||
MICROSOFT_CLIENT_SECRET= | ||
DATABASE_URL=mysql://root:@localhost:3306/bio | ||
|
||
NUXT_PUBLIC_URL=http://localhost:3000 | ||
NUXT_PUBLIC_PREFIX=bio | ||
|
||
NUXT_SESSION_PASSWORD= | ||
|
||
NUXT_OAUTH_GOOGLE_CLIENT_ID= | ||
NUXT_OAUTH_GOOGLE_CLIENT_SECRET= | ||
|
||
NUXT_OAUTH_FACEBOOK_CLIENT_ID= | ||
NUXT_OAUTH_FACEBOOK_CLIENT_SECRET= | ||
|
||
NUXT_OAUTH_MICROSOFT_CLIENT_ID= | ||
NUXT_OAUTH_MICROSOFT_CLIENT_SECRET= | ||
NUXT_OAUTH_MICROSOFT_TENANT= | ||
|
||
NUXT_OAUTH_GITHUB_CLIENT_ID= | ||
NUXT_OAUTH_GITHUB_CLIENT_SECRET= |
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,19 @@ | ||
<script setup lang="ts"> | ||
const loginModal = ref(false) | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<u-button | ||
icon="i-mdi-login" | ||
label="Sign In" | ||
color="white" | ||
@click="loginModal = !loginModal" | ||
/> | ||
<u-dashboard-modal v-model="loginModal" title="Sign In" description="Authenticate using one of the following providers "> | ||
<layout-login /> | ||
</u-dashboard-modal> | ||
</div> | ||
</template> | ||
|
||
<style scoped></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
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,5 +1,3 @@ | ||
<script setup lang="ts"></script> | ||
|
||
<template> | ||
<div class="relative"> | ||
<logo-fume /> | ||
|
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,6 +1,12 @@ | ||
<script lang="ts" setup> | ||
defineProps<{ large?: boolean }>() | ||
</script> | ||
|
||
<template> | ||
<div class="flex items-center"> | ||
<div class="font-extrabold text-primary-900 dark:text-primary-100">fume</div> | ||
<div class="font-extrabold text-primary-600 dark:text-primary-300 -ml-1">bio</div> | ||
<div class="flex items-end"> | ||
<div class="font-extrabold text-primary-900 dark:text-primary-200">fume</div> | ||
<u-icon v-if="large" name="i-mdi-circle" class="w-12 h-12 text-primary-900 dark:text-primary-100 mb-2" /> | ||
<div v-else class="text-primary-900 dark:text-primary-100">.</div> | ||
<div class="font-extrabold text-primary-600 dark:text-primary-300">bio</div> | ||
</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,3 @@ | ||
<script setup lang="ts"> | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<header-main /> | ||
|
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,17 +1,9 @@ | ||
<script setup lang="ts"> | ||
definePageMeta({ layout: 'bare' }) | ||
const { loggedIn } = useUserSession() | ||
if (loggedIn.value) await navigateTo('/home') | ||
</script> | ||
|
||
<template> | ||
<div class="flex flex-col w-screen h-screen items-center justify-center"> | ||
<logo-bio class="w-64 h-64" /> | ||
<logo-text class="text-5xl mb-8" /> | ||
<layout-login v-if="!loggedIn" /> | ||
<u-button v-else class="w-28" icon="i-mdi-home" label="Home" to="/home" size="lg" color="gray" /> | ||
</div> | ||
<layout-login /> | ||
</template> | ||
|
||
<style scoped></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,31 @@ | ||
<script setup lang="ts"> | ||
definePageMeta({ layout: 'bare' }) | ||
const dims = { width: 45, height: 20 } | ||
const route = useRoute() | ||
const { type, mg } = route.params | ||
</script> | ||
|
||
<template> | ||
<div class="w-screen h-screen flex items-center justify-center"> | ||
<div | ||
class="flex flex-col justify-center items-center space-y-3" | ||
:style="`width: ${dims.width * 5}mm; height: ${dims.height * 5}mm;`" | ||
> | ||
<div class="flex items-center space-x-3"> | ||
<logo-bio class="w-52 h-52" /> | ||
<div class="flex flex-col space-y-3"> | ||
<logo-text class="text-9xl" large /> | ||
<div class="flex text-5xl font-extrabold"> | ||
<span class="text-sky-900 flex-1 text-center bg-sky-200 py-2 px-6"> {{ type }} </span> | ||
<span class="text-sky-200 bg-sky-900 py-2 px-6"> {{ mg }}mg </span> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="uppercase font-semibold tracking-wider text-xs"> | ||
IN-VITRO LABORATORY RESEARCH USE ONLY. NOT FOR HUMAN OR ANIMAL USE OR CONSUMPTION OF ANY KIND. | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<style scoped></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
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