Skip to content

Commit

Permalink
init Project
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoschmidtdmde committed Feb 2, 2024
1 parent a67d848 commit 009e009
Show file tree
Hide file tree
Showing 38 changed files with 759 additions and 97 deletions.
39 changes: 39 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"@testing-library/user-event": "^13.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.0",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
},
Expand Down
Binary file added public/images/fotoCard1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/fotoCard2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/fotoCard3.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/fotoCard4.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/hero-background.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 0 additions & 38 deletions src/App.css

This file was deleted.

25 changes: 0 additions & 25 deletions src/App.js

This file was deleted.

8 changes: 0 additions & 8 deletions src/App.test.js

This file was deleted.

24 changes: 24 additions & 0 deletions src/Routes/PageRouter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import React from 'react';
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';

import Homescreen from '../pages/Homescreen';
import ServicesPage from '../pages/ServicesPages';
import PhotoGalleryPage from '../pages/PhotoGalleryPage';
import ContactUsPage from '../pages/ContactUsPage';
import ImpressumPage from '../pages/ImpressumPage';

function PageRouter() {
return (
<Router>
<Routes>
<Route path="/" element={<Homescreen />} />
<Route path="/services" element={<ServicesPage />} />
<Route path="/photogallery" element={<PhotoGalleryPage />} />
<Route path="/contactus" element={<ContactUsPage />} />
<Route path="/impressum" element={<ImpressumPage />} />
</Routes>
</Router>
);
}

export default PageRouter;
50 changes: 50 additions & 0 deletions src/components/ContactForm/ContactForm.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
.contact-form {
max-width: 600px;
margin: 0 auto;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.contact-form button {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 5px;
}

.contact-form textarea {
height: 150px;
}

.contact-form button {
color: white;
background-color: #007bff;
border: none;
cursor: pointer;
}

.contact-form button:disabled {
background-color: #ccc;
cursor: not-allowed;
}

.submission-confirmation {
text-align: center;
padding: 20px;
}

.submission-confirmation div {
margin-top: 20px;
}

.submission-confirmation a {
display: inline-block;
margin: 0 10px;
padding: 10px 15px;
background-color: #007bff;
color: white;
text-decoration: none;
border-radius: 5px;
}
Loading

0 comments on commit 009e009

Please sign in to comment.