diff --git a/apps/www/.eslintrc.json b/apps/www/.eslintrc.json deleted file mode 100644 index bffb357..0000000 --- a/apps/www/.eslintrc.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "next/core-web-vitals" -} diff --git a/apps/www/.gitignore b/apps/www/.gitignore deleted file mode 100644 index 8f322f0..0000000 --- a/apps/www/.gitignore +++ /dev/null @@ -1,35 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js - -# testing -/coverage - -# next.js -/.next/ -/out/ - -# production -/build - -# misc -.DS_Store -*.pem - -# debug -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# local env files -.env*.local - -# vercel -.vercel - -# typescript -*.tsbuildinfo -next-env.d.ts diff --git a/apps/www/README.md b/apps/www/README.md deleted file mode 100644 index f4da3c4..0000000 --- a/apps/www/README.md +++ /dev/null @@ -1,34 +0,0 @@ -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). - -## Getting Started - -First, run the development server: - -```bash -npm run dev -# or -yarn dev -# or -pnpm dev -``` - -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. - -You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. - -This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. - -## Learn More - -To learn more about Next.js, take a look at the following resources: - -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. - -You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! - -## Deploy on Vercel - -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. - -Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. diff --git a/apps/www/next.config.js b/apps/www/next.config.js deleted file mode 100644 index 767719f..0000000 --- a/apps/www/next.config.js +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import('next').NextConfig} */ -const nextConfig = {} - -module.exports = nextConfig diff --git a/apps/www/package.json b/apps/www/package.json deleted file mode 100644 index 271df73..0000000 --- a/apps/www/package.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "www", - "version": "0.1.0", - "private": true, - "scripts": { - "dev": "next dev", - "build": "next build", - "start": "next start", - "lint": "next lint" - }, - "dependencies": { - "@medusajs/ui": "*", - "@shopify/polaris": "^11.5.3", - "next": "13.4.7", - "react": "18.2.0", - "react-dom": "18.2.0" - }, - "devDependencies": { - "@medusajs/ui-preset": "*", - "@types/node": "20.3.2", - "@types/react": "18.2.14", - "@types/react-dom": "18.2.6", - "autoprefixer": "10.4.14", - "eslint": "8.43.0", - "eslint-config-next": "13.4.7", - "postcss": "8.4.24", - "tailwindcss": "3.3.2", - "typescript": "5.1.6" - } -} diff --git a/apps/www/postcss.config.js b/apps/www/postcss.config.js deleted file mode 100644 index 33ad091..0000000 --- a/apps/www/postcss.config.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - plugins: { - tailwindcss: {}, - autoprefixer: {}, - }, -} diff --git a/apps/www/public/next.svg b/apps/www/public/next.svg deleted file mode 100644 index 5174b28..0000000 --- a/apps/www/public/next.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/apps/www/public/vercel.svg b/apps/www/public/vercel.svg deleted file mode 100644 index d2f8422..0000000 --- a/apps/www/public/vercel.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/apps/www/src/app/client-wrapper.tsx b/apps/www/src/app/client-wrapper.tsx deleted file mode 100644 index 5459006..0000000 --- a/apps/www/src/app/client-wrapper.tsx +++ /dev/null @@ -1,32 +0,0 @@ -"use client" - -import { Badge, Button, useAlertDialog } from "@medusajs/ui" -import { useState } from "react" - -const ClientWrapper = () => { - const [state, setState] = useState(false) - const alert = useAlertDialog() - - const handleClick = async () => { - const result = await alert({ - title: "Are you sure?", - description: "Are you sure you want to delete this item?", - cancelText: "Cancel", - confirmText: "Delete", - verificationText: "delete", - }) - - setState(result) - } - - return ( -