import React, { useState, useEffect } from 'react'; import Menu from '../Components/Menu'; import styled from 'styled-components'; const Schedule = styled.div` & ul { list-style-type: none; } & .cd-schedule__events { width: 100%; > ul { display: flex; flex-wrap: nowrap; } } & .cd-schedule__group { flex-basis: 0; flex-grow: 1; } & .cd-schedule__event { position: absolute; z-index: 3; width: calc(100% + 2px); // top position and height will be set using js left: -1px; } ` function Home() { return (
  • 09:00
  • 10:00
  • 11:00
  • 12:00
  • 13:00
  • 14:00
  • 15:00
  • 16:00
  • 17:00
  • 18:00
  • 19:00
  • 20:00
  • 21:00
  • 22:00
{/* */}
) } export default Home