You've already forked AstralRinth
forked from didirus/AstralRinth
@@ -18,12 +18,17 @@
|
|||||||
<section class="auth-form">
|
<section class="auth-form">
|
||||||
<p>{{ formatMessage(postVerificationMessages.description) }}</p>
|
<p>{{ formatMessage(postVerificationMessages.description) }}</p>
|
||||||
|
|
||||||
<NuxtLink v-if="auth.user" class="btn" link="/settings/account">
|
<ButtonStyled v-if="auth.user">
|
||||||
<SettingsIcon /> {{ formatMessage(messages.accountSettings) }}
|
<NuxtLink to="/settings/account">
|
||||||
</NuxtLink>
|
<SettingsIcon /> {{ formatMessage(messages.accountSettings) }}
|
||||||
<NuxtLink v-else to="/auth/sign-in" class="btn btn-primary continue-btn centered-btn">
|
</NuxtLink>
|
||||||
{{ formatMessage(messages.signIn) }} <RightArrowIcon />
|
</ButtonStyled>
|
||||||
</NuxtLink>
|
<ButtonStyled v-else>
|
||||||
|
<NuxtLink to="/auth/sign-in">
|
||||||
|
{{ formatMessage(messages.signIn) }}
|
||||||
|
<RightArrowIcon />
|
||||||
|
</NuxtLink>
|
||||||
|
</ButtonStyled>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -40,24 +45,26 @@
|
|||||||
</template>
|
</template>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<button
|
<ButtonStyled v-if="auth.user" color="brand">
|
||||||
v-if="auth.user"
|
<button @click="handleResendEmailVerification">
|
||||||
class="btn btn-primary continue-btn"
|
{{ formatMessage(failedVerificationMessages.action) }}
|
||||||
@click="handleResendEmailVerification"
|
<RightArrowIcon />
|
||||||
>
|
</button>
|
||||||
{{ formatMessage(failedVerificationMessages.action) }} <RightArrowIcon />
|
</ButtonStyled>
|
||||||
</button>
|
|
||||||
|
|
||||||
<NuxtLink v-else to="/auth/sign-in" class="btn btn-primary continue-btn centered-btn">
|
<ButtonStyled v-else color="brand">
|
||||||
{{ formatMessage(messages.signIn) }} <RightArrowIcon />
|
<NuxtLink to="/auth/sign-in">
|
||||||
</NuxtLink>
|
{{ formatMessage(messages.signIn) }}
|
||||||
|
<RightArrowIcon />
|
||||||
|
</NuxtLink>
|
||||||
|
</ButtonStyled>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import { RightArrowIcon, SettingsIcon } from '@modrinth/assets'
|
import { RightArrowIcon, SettingsIcon } from '@modrinth/assets'
|
||||||
import { injectNotificationManager } from '@modrinth/ui'
|
import { ButtonStyled, injectNotificationManager } from '@modrinth/ui'
|
||||||
|
|
||||||
const { addNotification } = injectNotificationManager()
|
const { addNotification } = injectNotificationManager()
|
||||||
const { formatMessage } = useVIntl()
|
const { formatMessage } = useVIntl()
|
||||||
|
|||||||
Reference in New Issue
Block a user