diff --git a/pages/[user].tsx b/pages/[user].tsx index 4986d118e3..dcf6413b5c 100644 --- a/pages/[user].tsx +++ b/pages/[user].tsx @@ -4,15 +4,15 @@ import prisma from '../lib/prisma' export default function User(props) { const eventTypes = props.user.eventTypes.map(type => - - -
  • +
  • + +

    {type.title}

    {type.description}

    -
  • - - + + + ); return (
    diff --git a/pages/[user]/[type].tsx b/pages/[user]/[type].tsx index f9c1917f0f..f7cfddb415 100644 --- a/pages/[user]/[type].tsx +++ b/pages/[user]/[type].tsx @@ -35,7 +35,7 @@ export default function Type(props) { } const calendar = days.map((day) => - ); @@ -84,7 +84,7 @@ export default function Type(props) { // Display available times const availableTimes = times.map((time) => -
    +
    {dayjs(time).format("hh:mma")} @@ -133,12 +133,12 @@ export default function Type(props) { {calendar}
    -
    + {selectedDate &&
    {dayjs(selectedDate).format("dddd DD MMMM YYYY")}
    {!loading ? availableTimes :
    } -
    +
    }