import BackButton from '@/components/navigation/backButton/BackButton';
import Header from '@/components/navigation/header/Header';
import { Fragment } from 'react';

interface Props {
  children: React.ReactNode;
}

export default async function Layout(props: Props) {
  return (
    <Fragment>
      <Header>
        <BackButton href={'/explore'}>Explore</BackButton>
      </Header>
      {props.children}
    </Fragment>
  );
}
