diff --git a/src/pages/Home/index.js b/src/pages/Home/index.js index cbd396c..393443f 100644 --- a/src/pages/Home/index.js +++ b/src/pages/Home/index.js @@ -2,9 +2,10 @@ import { useState, useRef, useEffect, useContext } from "react"; import { Stack } from "react-bootstrap"; import { EventPreview } from "../../components/EventPreview"; import styles from "./index.module.scss"; -import { Link } from "react-router-dom"; import { BIcon } from "../../components/BIcon"; import { EVENT_CONTEXT } from "../../constants"; +import { useHistory } from "react-router"; +import Button from "@restart/ui/esm/Button"; export const Home = () => { const events = useContext(EVENT_CONTEXT); @@ -36,6 +37,8 @@ export const Home = () => { }); }, [list]); + const history = useHistory(); + return (
@@ -43,7 +46,7 @@ export const Home = () => {

Sortuj według

- @@ -53,13 +56,19 @@ export const Home = () => { +
{list.map((e, i) => { return ; })} - - utwórz wydarzenie -
); diff --git a/src/pages/Home/index.module.scss b/src/pages/Home/index.module.scss index c3c071a..d2e1a74 100644 --- a/src/pages/Home/index.module.scss +++ b/src/pages/Home/index.module.scss @@ -7,9 +7,11 @@ font-family: "Poppins", sans-serif; } -.more { - color: #5873ff; - text-align: right; +.create { + padding: 7px; + &:hover { + background-color: $accent; + } } .sortDropdown { @@ -20,3 +22,11 @@ margin: 0; } } + +.sortDropdownMenu { + max-width: 20vw; +} + +.label { + text-align: right; +}