Umstrukturierung App auf Routing
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import React from 'react';
|
||||
|
||||
const HomePage = () => {
|
||||
return (
|
||||
<div>
|
||||
<h1>Welcome to the Home Page</h1>
|
||||
<p>This is the main landing page of the application.</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default HomePage;
|
||||
@@ -0,0 +1,14 @@
|
||||
import React from 'react';
|
||||
import LangSideBar from '../components/LangSideBar';
|
||||
|
||||
const LanguagePage = () => {
|
||||
return (
|
||||
<div className="content">
|
||||
<div><LangSideBar /></div>
|
||||
<div className="main"></div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default LanguagePage;
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
|
||||
const NotFoundPage = () => {
|
||||
return (
|
||||
<div>
|
||||
<h1>404 - Page Not Found</h1>
|
||||
<p>The page you are looking for does not exist.</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default NotFoundPage;
|
||||
|
||||
Reference in New Issue
Block a user