diff --git a/client/src/App.js b/client/src/App.js
index dcc41c3..4d11c4a 100644
--- a/client/src/App.js
+++ b/client/src/App.js
@@ -38,7 +38,19 @@ export const App = (props) => {
props.events.map((e) => {
return (
-
+
);
})}
@@ -48,5 +60,3 @@ export const App = (props) => {
);
};
-
-export default App;
diff --git a/client/src/pages/Event/index.js b/client/src/pages/Event/index.js
index 68ec140..ebb6557 100644
--- a/client/src/pages/Event/index.js
+++ b/client/src/pages/Event/index.js
@@ -1,5 +1,25 @@
-// import styles from "./index.module.scss";
+import { useTitle } from "../../utils/useTitle";
+import { container } from "../../global.module.scss";
+import { Stack } from "react-bootstrap";
+import styles from "./index.module.scss";
+import { EventField } from "../../components/EventField";
+import { EventType } from "../../components/EventType";
export const Event = (props) => {
- return <>>;
+ const { data } = props;
+ useTitle(data.name);
+
+ return (
+
+
+
+ {data.name}
+
+
+ {data.address && data.address !== "Brak lokalizacji" && }
+
+ {data.description}
+
+
+ );
};
diff --git a/client/src/pages/Event/index.module.scss b/client/src/pages/Event/index.module.scss
index e69de29..62d02c0 100644
--- a/client/src/pages/Event/index.module.scss
+++ b/client/src/pages/Event/index.module.scss
@@ -0,0 +1,21 @@
+@import "../../index.scss";
+
+.title {
+ color: $accent;
+ text-align: center;
+ font-size: 2.1em;
+ font-weight: bold;
+ margin: 0;
+ margin-bottom: 5px;
+}
+.header {
+ display: inline-flex;
+ flex-wrap: wrap;
+ align-items: center;
+ column-gap: 10px;
+ justify-content: center;
+}
+.description {
+ font-size: 1.2em;
+ text-align: center;
+}