1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-13 13:50:27 +05:30

improve syntax

This commit is contained in:
Bnyro 2022-08-27 13:25:17 +02:00
parent ad0b7db95a
commit 88e3d7c4a5

View File

@ -1,17 +1,7 @@
<template>
<div class="flex flex-col justify-center items-center min-h-[88vh]">
<h1 class="font-bold">404</h1>
<h2 v-t="'info.page_not_found'" />
<h1 class="font-bold !text-9xl">404</h1>
<h2 class="!text-2xl" v-t="'info.page_not_found'" />
<a class="btn mt-16" href="/" v-t="'actions.back_to_home'" />
</div>
</template>
<style scoped>
/* font size can't be handled within windiCSS classes because it's overwritten with !important */
h1 {
font-size: 8rem !important;
}
h2 {
font-size: 1.7rem !important;
}
</style>