Compare commits
7 Commits
Onboarding
...
external-l
| Author | SHA1 | Date | |
|---|---|---|---|
| 9720ee6ada | |||
| c04a2b06cb | |||
| 98138f51f4 | |||
| 5a7b3ba2ab | |||
| 2de6b18135 | |||
| aedcbd9492 | |||
| f985e0234c |
@@ -20,8 +20,8 @@ const port = process.env.SERVER_PORT;
|
||||
|
||||
//glitchtip setup
|
||||
const sentry = require('@sentry/node');
|
||||
if (!process.env.DISABLE_GLITCHTIP) {
|
||||
console.log("Glitchtip disabled AAAAAA")
|
||||
if (process.env.DISABLE_GLITCHTIP) {
|
||||
console.log("Glitchtip disabled")
|
||||
} else {
|
||||
let dsn = process.env.GLITCHTIP_DSN;
|
||||
sentry.init({ dsn: dsn });
|
||||
|
||||
@@ -22,18 +22,20 @@ const environment = import.meta.env.VITE_ENVIRONMENT;
|
||||
|
||||
<template>
|
||||
<div class="flex flex-col min-h-screen">
|
||||
<Navbar class="flex"></Navbar>
|
||||
<Alert v-if="environment == 'dev'" class="m-2 mx-auto w-5xl" variant="info">
|
||||
<AlertDescription class="flex flex-row items-center text-nowrap gap-5 mx-auto">
|
||||
<p>This is a development build of the application. Some features will be unavailable or unstable.</p>
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
<Alert v-if="userStore.user?.loa?.[0]" class="m-2 mx-auto w-5xl" variant="info">
|
||||
<AlertDescription class="flex flex-row items-center text-nowrap gap-5 mx-auto">
|
||||
<p>You are on LOA until <strong>{{ formatDate(userStore.user?.loa?.[0].end_date) }}</strong></p>
|
||||
<Button variant="secondary">End LOA</Button>
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
<div class="sticky top-0 bg-background z-50">
|
||||
<Navbar class="flex"></Navbar>
|
||||
<Alert v-if="environment == 'dev'" class="m-2 mx-auto w-5xl" variant="info">
|
||||
<AlertDescription class="flex flex-row items-center text-nowrap gap-5 mx-auto">
|
||||
<p>This is a development build of the application. Some features will be unavailable or unstable.</p>
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
<Alert v-if="userStore.user?.loa?.[0]" class="m-2 mx-auto w-5xl" variant="info">
|
||||
<AlertDescription class="flex flex-row items-center text-nowrap gap-5 mx-auto">
|
||||
<p>You are on LOA until <strong>{{ formatDate(userStore.user?.loa?.[0].end_date) }}</strong></p>
|
||||
<Button variant="secondary">End LOA</Button>
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
</div>
|
||||
|
||||
<RouterView class="flex-1 min-h-0"></RouterView>
|
||||
</div>
|
||||
|
||||
@@ -20,7 +20,7 @@ const app = createApp(App)
|
||||
app.use(createPinia())
|
||||
app.use(router)
|
||||
|
||||
if (!!import.meta.env.VITE_DISABLE_GLITCHTIP) {
|
||||
if (!import.meta.env.VITE_DISABLE_GLITCHTIP) {
|
||||
let dsn = import.meta.env.VITE_GLITCHTIP_DSN;
|
||||
let environment = import.meta.env.VITE_ENVIRONMENT;
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ const finalPanel = ref<'app' | 'message'>('message');
|
||||
</div>
|
||||
|
||||
<!-- Content -->
|
||||
<div class="mt-12 mb-20 flex w-full justify-center">
|
||||
<div class="mt-12 mb-20 flex w-full max-w-6xl justify-center">
|
||||
<div v-if="currentStep === 1" class="w-full max-w-2xl p-8">
|
||||
<h1 class="text-3xl sm:text-4xl font-bold mb-4 text-left">
|
||||
Create your account
|
||||
@@ -133,7 +133,7 @@ const finalPanel = ref<'app' | 'message'>('message');
|
||||
</div>
|
||||
<Application v-else-if="currentStep === 2" @submit="userStore.loadUser()" :mode="'create'"></Application>
|
||||
<Application v-else-if="currentStep === 3" :mode="'view-self'"></Application>
|
||||
<div v-if="currentStep === 5" class="w-full max-w-4xl p-8 pt-0">
|
||||
<div v-if="currentStep === 5" class="w-full p-8 pt-0">
|
||||
<div class="mb-5">
|
||||
<div class="flex w-min *:px-10 pt-2 border-b *:w-full *:text-center *:pb-1 *:cursor-pointer">
|
||||
<label :class="finalPanel === 'message' ? 'border-b-3 border-foreground' : 'mb-[2px]'"
|
||||
@@ -171,9 +171,9 @@ const finalPanel = ref<'app' | 'message'>('message');
|
||||
<li>When prompted, choose <em>“Yes”</em> to download all associated mods.</li>
|
||||
</ul>
|
||||
<p>
|
||||
<a href="https://www.guilded.gg/Iceberg-gaming/groups/v3j2vAP3/channels/6979335e-60f7-4ab9-9590-66df69367d1e/docs/2013948655"
|
||||
<a href="https://docs.iceberg-gaming.com/books/member-guides/page/new-member-setup-onboarding"
|
||||
class="text-primary underline" target="_blank">
|
||||
Click here for the full installation guide
|
||||
Click here for the full installation guide (Requires Sign-in)
|
||||
</a>
|
||||
</p>
|
||||
<!-- CONTACT SECTION -->
|
||||
@@ -211,7 +211,7 @@ const finalPanel = ref<'app' | 'message'>('message');
|
||||
our forums and introduce yourself.
|
||||
</p>
|
||||
<p>
|
||||
If you have any questions, feel free to reach out on TeamSpeak, Discord, or Guilded,
|
||||
If you have any questions, feel free to reach out on TeamSpeak or Discord
|
||||
someone
|
||||
will always be around to help.
|
||||
</p>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="min-h-screen flex flex-col items-center justify-center text-center px-6">
|
||||
<div class="flex flex-col items-center justify-center text-center px-6">
|
||||
<h1 class="text-5xl font-bold mb-4">Unauthorized</h1>
|
||||
<p class="text-lg text-muted-foreground max-w-md mb-6">
|
||||
You don't have permission to access this page.
|
||||
|
||||
Reference in New Issue
Block a user