mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
32 lines
658 B
Vue
32 lines
658 B
Vue
<template>
|
|
<div class="error-container">
|
|
<base-icon class="error-icon" name="exclamation-circle" />
|
|
<br />
|
|
<span class="error-message">{{ $t(error.message) }}</span>
|
|
<br />
|
|
<nuxt-link to="/">{{ $t('error-pages.back-to-index') }}</nuxt-link>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: ['error'],
|
|
}
|
|
</script>
|
|
<style lang="scss">
|
|
.error-container {
|
|
text-align: center;
|
|
padding: $space-small;
|
|
}
|
|
.error-message {
|
|
font-size: $font-size-x-large;
|
|
font-weight: $font-weight-bold;
|
|
color: $text-color-softer;
|
|
margin: $space-base;
|
|
}
|
|
.error-icon {
|
|
font-size: $font-size-xxx-large;
|
|
color: $text-color-softer;
|
|
}
|
|
</style>
|