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 IsAuth from '@/lib/auth/components/IsAuth'
import dynamic from 'next/dynamic'

const TransactionsComponent = dynamic(() => import('@/lib/transaction/components/Transactions'))

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

      <MobileView>
        <AppLayout title='Quotation'>
          <TransactionsComponent context='quotation' />
        </AppLayout>
      </MobileView>

      <DesktopView>
        <BasicLayout>
          <TransactionsComponent context='quotation' />
        </BasicLayout>
      </DesktopView>
    </IsAuth>
  )
}
