diff --git a/src/App.jsx b/src/App.jsx index af4528b..ca98dc7 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,6 +1,4 @@ -import { useState } from 'react' -import reactLogo from './assets/react.svg' -import viteLogo from '/vite.svg' + import './App.css' import FetchUtils from './components/fetchUtils/FetchUtils' import TableMeets from './components/TableMeets' @@ -8,39 +6,16 @@ import { BrowserRouter, Routes, Route } from "react-router-dom"; import BeingPage from "./Components/BeingPage/index.jsx"; import HomePage from "./Components/HomePage/index.jsx"; -const events = [ - { - id: 1, - date: '10.10.2022', - time: '14:00', - title: 'Мероприятие 1', - speaker: 'Спикер 1', - avatar: 'speaker1.jpg', - description: 'Описание мероприятия 1', - isExpanded: true, - }, - { - id: 2, - date: '11.10.2022', - time: '15:30', - title: 'Мероприятие 2', - speaker: 'Спикер 2', - avatar: 'speaker2.jpg', - description: 'Описание мероприятия 2', - isExpanded: true, - }, - // Добавьте другие мероприятия сюда -]; + function App() { - const [count, setCount] = useState(0) return ( <> {/* */} - + }/> diff --git a/src/Components/BeingPage/index.jsx b/src/Components/BeingPage/index.jsx new file mode 100644 index 0000000..3327b1a --- /dev/null +++ b/src/Components/BeingPage/index.jsx @@ -0,0 +1,10 @@ +import React from "react" +import styles from "./style.module.scss"; + +const BeingPage = () => { + return ( +
Hello world
+ ) +} + +export default BeingPage \ No newline at end of file diff --git a/src/Components/BeingPage/style.module.scss b/src/Components/BeingPage/style.module.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/Components/HomePage/index.jsx b/src/Components/HomePage/index.jsx new file mode 100644 index 0000000..e16b310 --- /dev/null +++ b/src/Components/HomePage/index.jsx @@ -0,0 +1,38 @@ +import Header from "../Header"; +import styles from "./style.module.scss"; +import TableMeets from '../TableMeets' +const events = [ + { + id: 1, + date: '10.10.2022', + time: '14:00', + title: 'Мероприятие 1', + speaker: 'Спикер 1', + avatar: 'speaker1.jpg', + description: 'Описание мероприятия 1', + isExpanded: true, + }, + { + id: 2, + date: '11.10.2022', + time: '15:30', + title: 'Мероприятие 2', + speaker: 'Спикер 2', + avatar: 'speaker2.jpg', + description: 'Описание мероприятия 2', + isExpanded: true, + }, + // Добавьте другие мероприятия сюда + ]; +const HomePage = () => { + return ( + <> +
+ + + + + + ) +} +export default HomePage; \ No newline at end of file diff --git a/src/Components/HomePage/style.module.scss b/src/Components/HomePage/style.module.scss new file mode 100644 index 0000000..445b0e9 --- /dev/null +++ b/src/Components/HomePage/style.module.scss @@ -0,0 +1,6 @@ + + +.title { + font-size: 100px; +} +