import Seo from '@/core/components/Seo'
import AppLayout from '@/core/components/layouts/AppLayout'
import BasicLayout from '@/core/components/layouts/BasicLayout'
import DesktopView from '@/core/components/views/DesktopView'
import MobileView from '@/core/components/views/MobileView'
import AddressesComponent from '@/lib/address/components/Addresses'
import IsAuth from '@/lib/auth/components/IsAuth'

export default function Addresses() {
  return (
    <IsAuth>
      <Seo title='Address - Indoteknik.com' />

      <MobileView>
        <AppLayout title='Daftar Alamat'>
          <AddressesComponent />
        </AppLayout>
      </MobileView>

      <DesktopView>
        <BasicLayout>
          <AddressesComponent />
        </BasicLayout>
      </DesktopView>
    </IsAuth>
  )
}
