Add existing project files

This commit is contained in:
njord 2023-05-22 20:57:59 +02:00
parent 5a0ea39907
commit 30f16679da
4 changed files with 22 additions and 2 deletions

View File

@ -1,9 +1,17 @@
import logo from "./logo.svg"; import logo from "./logo.svg";
import "./App.css"; import "./App.css";
import FirstComponent from "./FirstComponent"; import Header from "./Header";
import Content from "./Content";
import Footer from "./Footer";
function App() { function App() {
return <FirstComponent />; return (
<>
<Header />
<Content />
<Footer />
</>
);
} }
export default App; export default App;

4
src/Content.js Normal file
View File

@ -0,0 +1,4 @@
const Content = () => {
return <div>Content 1</div>;
};
export default Content;

4
src/Footer.js Normal file
View File

@ -0,0 +1,4 @@
const Footer = () => {
return <div>Footer 1</div>;
};
export default Footer;

4
src/Header.js Normal file
View File

@ -0,0 +1,4 @@
const Header = () => {
return <div>Header 1</div>;
};
export default Header;