Skip to content

Commit

Permalink
feat(ui): new 404 page layout
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Jan 24, 2025
1 parent 5151f23 commit 36675d9
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 3 deletions.
67 changes: 67 additions & 0 deletions ui/src/assets/empty-page.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/assets/errors/kestra-error.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 7 additions & 3 deletions ui/src/components/errors/Errors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<span v-html="$t('errors.' + code + '.content')" />
</p>

<el-button v-if="!isFullScreen()" tag="router-link" :to="{name: 'home'}" type="primary">
<el-button v-if="!isFullScreen()" tag="router-link" :to="{name: 'home'}" type="primary" size="large">
{{ $t("back_to_dashboard") }}
</el-button>
</section>
Expand Down Expand Up @@ -51,12 +51,16 @@

<style lang="scss" scoped>
.errors {
margin-top: 10em;
margin-top: 0;
padding-top: 10rem;
padding-bottom: 3rem;
text-align: center;
background: url("../../assets/empty-page.svg") no-repeat top center;
.img {
background: url("../../assets/errors/kestra-error.png") no-repeat center;
background-size: contain;
max-height: 156px;
}
h2 {
Expand All @@ -68,6 +72,6 @@
p {
line-height: 22px;
font-size: 14px;
}
}
}
</style>

0 comments on commit 36675d9

Please sign in to comment.