last preparation
This commit is contained in:
@@ -2,7 +2,7 @@ import React from "react";
|
||||
|
||||
const Home = () => {
|
||||
return (
|
||||
<h1 className="TestClass">Home</h1>
|
||||
<h1 className="">Home</h1>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,9 @@ import React from "react";
|
||||
|
||||
const Init = () => {
|
||||
return (
|
||||
<h1 className="TestInit">Init page</h1>
|
||||
<div>
|
||||
<h1 className="metal-mania-regular TestInit">Hello!</h1>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
@import url("./init.css");
|
||||
|
||||
.TestClass {
|
||||
color: red;
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
.TestInit {
|
||||
color: blue;
|
||||
font-size: 40px;
|
||||
}
|
||||
1
src/pages/index.css
Normal file
1
src/pages/index.css
Normal file
@@ -0,0 +1 @@
|
||||
@import url("css/init.css");
|
||||
Reference in New Issue
Block a user