File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<template >
2- <div class =" h-screen" >
3- <div class =" m-auto absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 flex items-center justify-center text-center" >
4- <div >
5- <p class =" text-5xl mb-5 font-bold" >
6- 404
7- </p >
8- <p class =" mb-8" >
9- This page could not be found.
10- </p >
11- <NuxtLink to="/" class="inline-flex items-center gap-2">
12- Back to homepage
13- <Icon name="uil:arrow-right " />
14- </NuxtLink >
15- </div >
16- </div >
17- </div >
2+ <section >
3+ <p class =" message" >
4+ This page could not be found
5+ </p >
6+
7+ <p class =" status" >
8+ 404
9+ </p >
10+
11+ <NuxtLink to="/">
12+ Back to homepage
13+ <Icon name="ph:arrow-right " />
14+ </NuxtLink >
15+ </section >
1816</template >
17+
18+ <style scoped lang="ts">
19+ css ({
20+ section: {
21+ minHeight: ' 50vh' ,
22+ display: ' flex' ,
23+ flexDirection: ' column' ,
24+ alignItems: ' center' ,
25+ justifyContent: ' center' ,
26+ ' .message' : {
27+ fontSize: ' {text.3xl.fontSize}' ,
28+ lineHeight: ' {text.3xl.lineHeight}' ,
29+ fontWeight: ' {fontWeight.medium}' ,
30+ },
31+ ' .status' : {
32+ text: ' 6xl' ,
33+ my: ' {space.12}'
34+ },
35+ a: {
36+ position: ' relative' ,
37+ display: ' flex' ,
38+ alignItems: ' center' ,
39+ ' .icon' : {
40+ position: ' absolute' ,
41+ right: ' calc(0px - {space.1})' ,
42+ width: ' {space.5}' ,
43+ height: ' {space.5}' ,
44+ transform: ' translateX(100%)' ,
45+ },
46+ }
47+ }
48+ })
49+ < / style >
You can’t perform that action at this time.
0 commit comments