import{j as r,L as o}from"./index-7c7a558c.js";const a="/assets/order-confirmation-loop-2-52dd9047.gif",i=()=>{const e=localStorage.getItem("token"),t=localStorage.getItem("user");return r.jsx("section",{className:" pb-24 bg-white  antialiased dark:bg-gray-900 md:py-16",children:r.jsxs("div",{className:"text-center mx-auto max-w-2xl px-4 2xl:px-0",children:[r.jsx("img",{className:"w-full h-[300px] rounded-t-md pb-5",src:a,alt:""}),r.jsx("h2",{className:" text-xl font-semibold text-gray-900 dark:text-white sm:text-2xl mb-2",children:"Thanks for your order!"}),r.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 md:mb-8",children:"Your order will be processed within 24 hours. We will notify you when your order has been shipped."}),r.jsxs("div",{className:"flex items-center space-x-4 justify-center",children:[r.jsx(o,{to:e&&t?"/customer/dashboard":"/customer/login",className:"text-white bg-primary-700 hover:bg-primary-800 focus:ring-4 focus:ring-primary-300 font-medium rounded-lg text-sm px-5 py-2.5 dark:bg-primary-600 dark:hover:bg-primary-700 focus:outline-none dark:focus:ring-primary-800",children:e&&t?"Go to dashboard":" Login Your Account"}),r.jsx(o,{to:"/shop",className:"py-2.5 px-5 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-primary-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700",children:"Return to shopping"})]})]})})};export{i as default};
