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
+1 -1
View File
@@ -18,7 +18,7 @@ module.exports = {
"",
"<THIRD_PARTY_MODULES>",
"",
"^(@shared|@entities|@features|@widgets|@pages|@app)(/.*)$",
"^(@shared|@entities|@features|@widgets|@pagesLayer|@app)(/.*)$",
"",
"^(?!.*[.]scss$)[./].*$",
".scss$",
+2 -4
View File
@@ -1,11 +1,9 @@
import {HomePage} from "@pages/HomePage";
import { HomePage } from "@pagesLayer/HomePage"
export default function Home() {
return (
<main>
<HomePage/>
<HomePage />
</main>
)
}
-5
View File
@@ -1,5 +0,0 @@
import HomePage from "./ui/HomePage";
export {
HomePage
}
+3
View File
@@ -0,0 +1,3 @@
import HomePage from "./ui/HomePage"
export { HomePage }
@@ -7,7 +7,7 @@
height: 100vh;
color: #C7D0CC;
color: #c7d0cc;
background: #000;
@@ -25,7 +25,7 @@
}
.hint {
padding: .5rem;
padding: 0.5rem;
pointer-events: none;
@@ -40,7 +40,13 @@
animation: shine 4s linear infinite;
color: #000;
background: linear-gradient(to right, #020024 10%, #5b0979 40%, #5b0979 60%, #020024 80%);
background: linear-gradient(
to right,
#020024 10%,
#5b0979 40%,
#5b0979 60%,
#020024 80%
);
background-clip: text;
background-size: 200% auto;
@@ -1,4 +1,5 @@
import Link from "next/link"
import cls from "./HomePage.module.scss"
const HomePage = () => {
@@ -15,8 +16,8 @@ const HomePage = () => {
</Link>
</p>
<pre className={cls.hint}>
You can edit <span className={cls.path}>src/pages/HomePage</span> to
start {"<3"}!
You can edit <span className={cls.path}>src/pagesLayer/HomePage</span>{" "}
to start {"<3"}!
</pre>
</div>
)
+1 -1
View File
@@ -21,7 +21,7 @@
"@app/*": ["./src/app/*"],
"@entities/*": ["./src/entities/*"],
"@features/*": ["./src/features/*"],
"@pages/*": ["./src/pages/*"],
"@pagesLayer/*": ["./src/pagesLayer/*"],
"@shared/*": ["./src/shared/*"],
"@widgets/*": ["./src/widgets/*"],