fix: pageLayer replaced page

This commit is contained in:
Dmitriy Bratchikov
2024-05-27 16:24:38 +07:00
parent 90b858ebd5
commit 01d965ee7b
7 changed files with 19 additions and 16 deletions
-5
View File
@@ -1,5 +0,0 @@
import HomePage from "./ui/HomePage";
export {
HomePage
}
@@ -1,55 +0,0 @@
.homepage {
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
gap: 1rem;
height: 100vh;
color: #C7D0CC;
background: #000;
font-family: Roboto, sans-serif;
font-size: 2vw;
font-weight: bold;
}
.path {
font-style: italic;
}
.font {
font-size: 5vw;
}
.hint {
padding: .5rem;
pointer-events: none;
border: rgb(199 208 204 / 5%) 1px solid;
border-radius: 15px;
font-size: 1vw;
}
.link {
transition: 0.3s;
animation: shine 4s linear infinite;
color: #000;
background: linear-gradient(to right, #020024 10%, #5b0979 40%, #5b0979 60%, #020024 80%);
background-clip: text;
background-size: 200% auto;
font-size: 5vw;
-webkit-text-fill-color: transparent;
@keyframes shine {
to {
background-position: 200% center;
}
}
}
-25
View File
@@ -1,25 +0,0 @@
import Link from "next/link"
import cls from "./HomePage.module.scss"
const HomePage = () => {
return (
<div className={cls.homepage}>
<p className={cls.font}>
Hello from{" "}
<Link
href="https://github.com/yunglocokid"
target="_blank"
className={cls.link}
>
yunglocokid
</Link>
</p>
<pre className={cls.hint}>
You can edit <span className={cls.path}>src/pages/HomePage</span> to
start {"<3"}!
</pre>
</div>
)
}
export default HomePage