fix: pageLayer replaced page
This commit is contained in:
+1
-1
@@ -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
@@ -1,11 +1,9 @@
|
||||
import {HomePage} from "@pages/HomePage";
|
||||
|
||||
|
||||
import { HomePage } from "@pagesLayer/HomePage"
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main>
|
||||
<HomePage/>
|
||||
<HomePage />
|
||||
</main>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
import HomePage from "./ui/HomePage";
|
||||
|
||||
export {
|
||||
HomePage
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
import HomePage from "./ui/HomePage"
|
||||
|
||||
export { HomePage }
|
||||
+9
-3
@@ -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
@@ -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/*"],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user