Add existing project files
This commit is contained in:
		
							parent
							
								
									5a0ea39907
								
							
						
					
					
						commit
						30f16679da
					
				
							
								
								
									
										12
									
								
								src/App.js
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								src/App.js
									
									
									
									
									
								
							@ -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
									
								
							
							
						
						
									
										4
									
								
								src/Content.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,4 @@
 | 
				
			|||||||
 | 
					const Content = () => {
 | 
				
			||||||
 | 
					  return <div>Content 1</div>;
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					export default Content;
 | 
				
			||||||
							
								
								
									
										4
									
								
								src/Footer.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								src/Footer.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,4 @@
 | 
				
			|||||||
 | 
					const Footer = () => {
 | 
				
			||||||
 | 
					  return <div>Footer 1</div>;
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					export default Footer;
 | 
				
			||||||
							
								
								
									
										4
									
								
								src/Header.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								src/Header.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,4 @@
 | 
				
			|||||||
 | 
					const Header = () => {
 | 
				
			||||||
 | 
					  return <div>Header 1</div>;
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					export default Header;
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user