You've already forked AstralRinth
forked from didirus/AstralRinth
* refactor: migrate to common eslint+prettier configs * fix: prettier frontend * feat: config changes * fix: lint issues * fix: lint * fix: type imports * fix: cyclical import issue * fix: lockfile * fix: missing dep * fix: switch to tabs * fix: continue switch to tabs * fix: rustfmt parity * fix: moderation lint issue * fix: lint issues * fix: ui intl * fix: lint issues * Revert "fix: rustfmt parity" This reverts commit cb99d2376c321d813d4b7fc7e2a213bb30a54711. * feat: revert last rs
103 lines
1.5 KiB
Vue
103 lines
1.5 KiB
Vue
<script setup lang="ts">
|
|
definePageMeta({
|
|
middleware: ['launcher-auth'],
|
|
})
|
|
</script>
|
|
<template>
|
|
<NuxtPage class="auth-container universal-card" />
|
|
</template>
|
|
|
|
<style>
|
|
.auth-container {
|
|
width: 26rem;
|
|
max-width: calc(100% - 2rem);
|
|
margin: 1rem auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.auth-container h1 {
|
|
font-size: var(--font-size-xl);
|
|
margin: 0 0 -1rem 0;
|
|
color: var(--color-contrast);
|
|
}
|
|
|
|
.auth-container p {
|
|
margin: 0;
|
|
}
|
|
|
|
.auth-container .btn {
|
|
font-weight: 700;
|
|
min-height: 2.5rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.centered-btn {
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.btn.continue-btn svg {
|
|
margin: 0 0 0 0.5rem;
|
|
}
|
|
|
|
.third-party {
|
|
display: grid;
|
|
gap: var(--gap-md);
|
|
grid-template-columns: repeat(2, 1fr);
|
|
width: 100%;
|
|
}
|
|
|
|
.third-party .btn {
|
|
width: 100%;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.third-party .btn svg {
|
|
margin-right: var(--gap-sm);
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
}
|
|
|
|
@media screen and (max-width: 25.5rem) {
|
|
.third-party .btn {
|
|
grid-column: 1 / 3;
|
|
}
|
|
}
|
|
|
|
.auth-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--gap-md);
|
|
}
|
|
|
|
.auth-form .auth-form__input {
|
|
width: 100%;
|
|
flex-basis: auto;
|
|
}
|
|
|
|
.auth-form__additional-options {
|
|
align-items: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: var(--gap-md);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.turnstile {
|
|
display: flex;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
border-radius: var(--radius-md);
|
|
border: 2px solid var(--color-button-bg);
|
|
height: 65px;
|
|
width: 100%;
|
|
|
|
> div {
|
|
position: relative;
|
|
top: -2px;
|
|
min-width: calc(100% + 4px);
|
|
}
|
|
}
|
|
</style>
|