fix: pageLayer replaced page
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ module.exports = {
|
|||||||
"",
|
"",
|
||||||
"<THIRD_PARTY_MODULES>",
|
"<THIRD_PARTY_MODULES>",
|
||||||
"",
|
"",
|
||||||
"^(@shared|@entities|@features|@widgets|@pages|@app)(/.*)$",
|
"^(@shared|@entities|@features|@widgets|@pagesLayer|@app)(/.*)$",
|
||||||
"",
|
"",
|
||||||
"^(?!.*[.]scss$)[./].*$",
|
"^(?!.*[.]scss$)[./].*$",
|
||||||
".scss$",
|
".scss$",
|
||||||
|
|||||||
+1
-3
@@ -1,6 +1,4 @@
|
|||||||
import {HomePage} from "@pages/HomePage";
|
import { HomePage } from "@pagesLayer/HomePage"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -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;
|
height: 100vh;
|
||||||
|
|
||||||
color: #C7D0CC;
|
color: #c7d0cc;
|
||||||
|
|
||||||
background: #000;
|
background: #000;
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.hint {
|
.hint {
|
||||||
padding: .5rem;
|
padding: 0.5rem;
|
||||||
|
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
||||||
@@ -40,7 +40,13 @@
|
|||||||
animation: shine 4s linear infinite;
|
animation: shine 4s linear infinite;
|
||||||
|
|
||||||
color: #000;
|
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-clip: text;
|
||||||
background-size: 200% auto;
|
background-size: 200% auto;
|
||||||
|
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
import Link from "next/link"
|
import Link from "next/link"
|
||||||
|
|
||||||
import cls from "./HomePage.module.scss"
|
import cls from "./HomePage.module.scss"
|
||||||
|
|
||||||
const HomePage = () => {
|
const HomePage = () => {
|
||||||
@@ -15,8 +16,8 @@ const HomePage = () => {
|
|||||||
</Link>
|
</Link>
|
||||||
</p>
|
</p>
|
||||||
<pre className={cls.hint}>
|
<pre className={cls.hint}>
|
||||||
You can edit <span className={cls.path}>src/pages/HomePage</span> to
|
You can edit <span className={cls.path}>src/pagesLayer/HomePage</span>{" "}
|
||||||
start {"<3"}!
|
to start {"<3"}!
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
+1
-1
@@ -21,7 +21,7 @@
|
|||||||
"@app/*": ["./src/app/*"],
|
"@app/*": ["./src/app/*"],
|
||||||
"@entities/*": ["./src/entities/*"],
|
"@entities/*": ["./src/entities/*"],
|
||||||
"@features/*": ["./src/features/*"],
|
"@features/*": ["./src/features/*"],
|
||||||
"@pages/*": ["./src/pages/*"],
|
"@pagesLayer/*": ["./src/pagesLayer/*"],
|
||||||
"@shared/*": ["./src/shared/*"],
|
"@shared/*": ["./src/shared/*"],
|
||||||
"@widgets/*": ["./src/widgets/*"],
|
"@widgets/*": ["./src/widgets/*"],
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user