Onboarding: - Fixed viewport to use dvh units with position:fixed container - All views use scrollable glass containers that fit within viewport - Responsive typography and spacing (mobile-first breakpoints) - Tighter padding/margins on small screens - RootRedirect checks localStorage first for instant redirect - Spinner only appears after 500ms delay to avoid flash Filebrowser: - Fix CloudFolder null initialPath crash (watch both useNativeUI + section) - Remove unused `host` computed (was causing TS error) - Add mock GET /app/filebrowser/ landing page - Increase express.json limit to 50mb Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
82 lines
2.3 KiB
Vue
82 lines
2.3 KiB
Vue
<template>
|
|
<div class="min-h-full flex items-center justify-center p-4 sm:p-6">
|
|
<div class="max-w-2xl w-full">
|
|
<div class="glass-card p-8 pt-16 sm:p-12 sm:pt-20 text-center relative overflow-visible onb-card">
|
|
<!-- Logo - half in, half out of container -->
|
|
<div class="absolute -top-8 sm:-top-10 left-0 right-0 flex justify-center z-10 onb-logo">
|
|
<div class="logo-gradient-border w-16 h-16 sm:w-20 sm:h-20">
|
|
<AnimatedLogo no-border fit />
|
|
</div>
|
|
</div>
|
|
|
|
<h1 class="text-2xl sm:text-4xl font-bold text-white mb-3 sm:mb-4 onb-title">
|
|
Welcome to Archipelago
|
|
</h1>
|
|
|
|
<p class="text-base sm:text-xl text-white/80 mb-8 sm:mb-12 max-w-2xl mx-auto onb-tagline">
|
|
Your personal server for a sovereign digital life
|
|
</p>
|
|
|
|
<button
|
|
@click="goToOptions"
|
|
class="glass-button px-6 py-3 sm:px-8 sm:py-4 rounded-lg text-base sm:text-lg font-medium transition-all hover:bg-black/70 hover:border-white/30 onb-cta"
|
|
>
|
|
Unlock your sovereignty →
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { useRouter } from 'vue-router'
|
|
import AnimatedLogo from '@/components/AnimatedLogo.vue'
|
|
|
|
const router = useRouter()
|
|
|
|
function goToOptions() {
|
|
router.push('/onboarding/path').catch(() => {})
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.onb-card {
|
|
opacity: 0;
|
|
animation: onb-card-in 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s forwards;
|
|
}
|
|
.onb-logo {
|
|
opacity: 0;
|
|
animation: onb-scale-in 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
|
|
}
|
|
.onb-title {
|
|
opacity: 0;
|
|
animation: onb-slide-up 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards;
|
|
}
|
|
.onb-tagline {
|
|
opacity: 0;
|
|
animation: onb-slide-up 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.0s forwards;
|
|
}
|
|
.onb-cta {
|
|
opacity: 0;
|
|
animation: onb-fade-in 0.6s ease 1.4s forwards;
|
|
}
|
|
|
|
@keyframes onb-card-in {
|
|
from { opacity: 0; transform: translateY(12px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
@keyframes onb-scale-in {
|
|
from { opacity: 0; transform: scale(0.92); }
|
|
to { opacity: 1; transform: scale(1); }
|
|
}
|
|
@keyframes onb-slide-up {
|
|
from { opacity: 0; transform: translateY(10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
@keyframes onb-fade-in {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
</style>
|
|
|