Task: Add prettier, craco and add default pages and functions
This commit is contained in:
4
src/pages/About/index.less
Normal file
4
src/pages/About/index.less
Normal file
@@ -0,0 +1,4 @@
|
||||
.about-title {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
10
src/pages/About/index.tsx
Normal file
10
src/pages/About/index.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import React from 'react'
|
||||
import './index.less'
|
||||
|
||||
export default function About() {
|
||||
return (
|
||||
<div className="about-title">
|
||||
<h1>About Us</h1>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
5
src/pages/Home/index.less
Normal file
5
src/pages/Home/index.less
Normal file
@@ -0,0 +1,5 @@
|
||||
.home-title {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
font-size: large;
|
||||
}
|
||||
10
src/pages/Home/index.tsx
Normal file
10
src/pages/Home/index.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import React from 'react'
|
||||
import './index.less'
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<div className="home-title">
|
||||
<h1>Home</h1>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user