Skip to content

Commit ee6d6fc

Browse files
✅ [4040, manifest]
1 parent c3667bb commit ee6d6fc

File tree

5 files changed

+150
-21
lines changed

5 files changed

+150
-21
lines changed

.todo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
install missing dependencies

app/global.css

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;
4+
5+
* {
6+
margin: 0;
7+
padding: 0;
8+
box-sizing: border-box;
9+
/* outline: 1px solid red; */
10+
}
11+
12+
body {
13+
color: white;
14+
background-color: #0f0f0f;
15+
overflow-x: hidden;
16+
}
17+
18+
body::-webkit-scrollbar {
19+
@apply w-1 bg-transparent;
20+
}
21+
22+
body::-webkit-scrollbar-corner {
23+
@apply bg-transparent;
24+
}
25+
26+
/* scrollbar */
27+
body::-webkit-scrollbar-track {
28+
@apply bg-primary;
29+
}
30+
31+
body::-webkit-scrollbar-track-piece {
32+
@apply bg-transparent;
33+
}
34+
35+
body::-webkit-scrollbar-thumb {
36+
@apply transition-all duration-500
37+
rounded-full bg-dark hover:bg-dark/60;
38+
}
39+
40+
html.lenis {
41+
height: auto;
42+
}
43+
44+
.lenis.lenis-smooth {
45+
scroll-behavior: auto;
46+
}
47+
48+
.lenis.lenis-smooth [data-lenis-prevent] {
49+
overscroll-behavior: contain;
50+
}
51+
52+
.lenis.lenis-stopped {
53+
overflow: hidden;
54+
}
55+
56+
.lenis.lenis-scrolling iframe {
57+
pointer-events: none;
58+
}
59+
60+
/* CODE TO REMOVE NUMBER RANGE ON INPUT */
61+
/* Chrome, Safari, Edge, Opera */
62+
input::-webkit-outer-spin-button,
63+
input::-webkit-inner-spin-button {
64+
-webkit-appearance: none;
65+
margin: 0;
66+
}
67+
68+
/* Firefox */
69+
input[type="number"] {
70+
-moz-appearance: textfield;
71+
}
72+
73+
74+

app/globals.css

Lines changed: 0 additions & 21 deletions
This file was deleted.

app/manifest.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import type { MetadataRoute } from "next";
2+
3+
export default function manifest(): MetadataRoute.Manifest {
4+
return {
5+
name: "long sitename",
6+
short_name: "sitename",
7+
description: "sitename description",
8+
start_url: "/",
9+
display: "standalone",
10+
background_color: "#fff",
11+
theme_color: "#fff",
12+
icons: [
13+
{
14+
src: "/favicon.ico",
15+
sizes: "any",
16+
type: "image/x-icon",
17+
},
18+
],
19+
};
20+
}

app/not-found.tsx

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
"use client";
2+
3+
import React from "react";
4+
import Link from "next/link";
5+
import { motion } from "framer-motion";
6+
7+
export default function NotFound() {
8+
return (
9+
<>
10+
<section className="overflow-hidden mx-auto relative min-h-[100vh] font-clashMed">
11+
<div className="absolute z-10 right-0 left-0 top-[140px] md:top-5">
12+
<h2 className="text-[262.916px] lg:text-[547.559px] mx-auto font-semibold rotate-[-0.133deg] bg-gradient-to-r bg-clip-text text-transparent from-[#D9D9D975]/5 to-[#D9D9D900] text-center">
13+
404
14+
</h2>
15+
</div>
16+
<div className="absolute -z-50 right-0 left-0 top-[145px] md:-top-4">
17+
<h2 className="text-[262.916px] lg:text-[547.559px] mx-auto font-semibold rotate-[-0.133deg] bg-gradient-to-r bg-clip-text text-transparent from-[#FFFFFF03]/5 to-[#D9D9D900] text-center">
18+
404
19+
</h2>
20+
</div>
21+
22+
<div className="mt-[200px] md:mt-[100px] relative">
23+
<p className="absolute top-0 left-0 right-0 text-[100.999px] lg:text-[200.477px] mx-auto font-semibold rotate-[-0.133deg] bg-gradient-to-r bg-clip-text text-transparent from-[#FFFFFF03]/40 to-[#D9D9D900] text-center">
24+
404
25+
</p>
26+
<p className="absolute top-3 lg:top-6 left-0 right-0 text-[100.999px] lg:text-[200.477px] mx-auto font-semibold rotate-[-0.133deg] bg-gradient-to-r bg-clip-text text-[#FFFFFF66] from-[#FFFFFF66] to-[#D9D9D900] text-center">
27+
404
28+
</p>
29+
</div>
30+
31+
<div className="mt-[340px] md:mt-[250px] lg:mt-[400px] text-center mx-auto">
32+
<h3 className="text-[23px] font-satMed font-semibold">
33+
oooops! chief..😢
34+
</h3>
35+
<p className="text-[#FFFFFF99] text-center mx-auto max-w-sm px-3 text-sm font-clashMed font-medium">
36+
{"We can't show the page you requested due to legal reasons."}
37+
</p>
38+
39+
<Link
40+
href="/"
41+
className="relative z-40 cursor-pointer w-[142px] mt-4 md:mt-[27px] mx-auto block bg-gradient-to-l from-[#D9D9D9] to-[#D9D9D900] pt-0.5 pr-0.5"
42+
>
43+
<motion.button
44+
whileTap={{ scale: 1.1 }}
45+
whileHover={{ scale: 0.99 }}
46+
className="bg-primary px-[22.8px] py-[14.85px] whitespace-nowrap text-[14.5px] font-medium"
47+
>
48+
Back to home
49+
</motion.button>
50+
</Link>
51+
</div>
52+
</section>
53+
</>
54+
);
55+
}

0 commit comments

Comments
 (0)