├── .env.example ├── .eslintrc.json ├── .gitignore ├── COPY-PASTE-LIST.md ├── README.md ├── components.json ├── next.config.js ├── nodemon.json ├── package.json ├── postcss.config.js ├── public ├── checkout-thank-you.jpg ├── favicon.ico ├── hippo-email-sent.png ├── hippo-empty-cart.png ├── nav │ ├── icons │ │ ├── bestsellers.jpg │ │ ├── new.jpg │ │ └── picks.jpg │ └── ui-kits │ │ ├── blue.jpg │ │ ├── mixed.jpg │ │ └── purple.jpg └── thumbnail.jpg ├── src ├── app │ ├── (auth) │ │ ├── sign-in │ │ │ └── page.tsx │ │ ├── sign-up │ │ │ └── page.tsx │ │ └── verify-email │ │ │ └── page.tsx │ ├── api │ │ └── trpc │ │ │ └── [trpc] │ │ │ └── route.ts │ ├── cart │ │ └── page.tsx │ ├── globals.css │ ├── layout.tsx │ ├── page.tsx │ ├── product │ │ └── [productId] │ │ │ └── page.tsx │ ├── products │ │ └── page.tsx │ └── thank-you │ │ └── page.tsx ├── collections │ ├── Media.ts │ ├── Orders.ts │ ├── ProductFile.ts │ ├── Products │ │ └── Products.ts │ └── Users.ts ├── components │ ├── AddToCartButton.tsx │ ├── Cart.tsx │ ├── CartItem.tsx │ ├── Footer.tsx │ ├── Icons.tsx │ ├── ImageSlider.tsx │ ├── MaxWidthWrapper.tsx │ ├── MobileNav.tsx │ ├── NavItem.tsx │ ├── NavItems.tsx │ ├── Navbar.tsx │ ├── PaymentStatus.tsx │ ├── ProductListing.tsx │ ├── ProductReel.tsx │ ├── Providers.tsx │ ├── UserAccountNav.tsx │ ├── VerifyEmail.tsx │ ├── emails │ │ ├── PrimaryActionEmail.tsx │ │ └── ReceiptEmail.tsx │ └── ui │ │ ├── button.tsx │ │ ├── dropdown-menu.tsx │ │ ├── input.tsx │ │ ├── label.tsx │ │ ├── scroll-area.tsx │ │ ├── separator.tsx │ │ ├── sheet.tsx │ │ └── skeleton.tsx ├── config │ └── index.ts ├── get-payload.ts ├── hooks │ ├── use-auth.ts │ ├── use-cart.ts │ └── use-on-click-outside.ts ├── lib │ ├── payload-utils.ts │ ├── stripe.ts │ ├── utils.ts │ └── validators │ │ ├── account-credentials-validator.ts │ │ └── query-validator.ts ├── middleware.ts ├── next-utils.ts ├── payload-types.ts ├── payload.config.ts ├── server.ts ├── trpc │ ├── auth-router.ts │ ├── client.ts │ ├── index.ts │ ├── payment-router.ts │ └── trpc.ts └── webhooks.ts ├── tailwind.config.ts ├── tsconfig.json ├── tsconfig.server.json └── yarn.lock /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/.gitignore -------------------------------------------------------------------------------- /COPY-PASTE-LIST.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/COPY-PASTE-LIST.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/README.md -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/components.json -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/next.config.js -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/nodemon.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/checkout-thank-you.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/public/checkout-thank-you.jpg -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/hippo-email-sent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/public/hippo-email-sent.png -------------------------------------------------------------------------------- /public/hippo-empty-cart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/public/hippo-empty-cart.png -------------------------------------------------------------------------------- /public/nav/icons/bestsellers.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/public/nav/icons/bestsellers.jpg -------------------------------------------------------------------------------- /public/nav/icons/new.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/public/nav/icons/new.jpg -------------------------------------------------------------------------------- /public/nav/icons/picks.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/public/nav/icons/picks.jpg -------------------------------------------------------------------------------- /public/nav/ui-kits/blue.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/public/nav/ui-kits/blue.jpg -------------------------------------------------------------------------------- /public/nav/ui-kits/mixed.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/public/nav/ui-kits/mixed.jpg -------------------------------------------------------------------------------- /public/nav/ui-kits/purple.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/public/nav/ui-kits/purple.jpg -------------------------------------------------------------------------------- /public/thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/public/thumbnail.jpg -------------------------------------------------------------------------------- /src/app/(auth)/sign-in/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/app/(auth)/sign-in/page.tsx -------------------------------------------------------------------------------- /src/app/(auth)/sign-up/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/app/(auth)/sign-up/page.tsx -------------------------------------------------------------------------------- /src/app/(auth)/verify-email/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/app/(auth)/verify-email/page.tsx -------------------------------------------------------------------------------- /src/app/api/trpc/[trpc]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/app/api/trpc/[trpc]/route.ts -------------------------------------------------------------------------------- /src/app/cart/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/app/cart/page.tsx -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/product/[productId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/app/product/[productId]/page.tsx -------------------------------------------------------------------------------- /src/app/products/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/app/products/page.tsx -------------------------------------------------------------------------------- /src/app/thank-you/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/app/thank-you/page.tsx -------------------------------------------------------------------------------- /src/collections/Media.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/collections/Media.ts -------------------------------------------------------------------------------- /src/collections/Orders.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/collections/Orders.ts -------------------------------------------------------------------------------- /src/collections/ProductFile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/collections/ProductFile.ts -------------------------------------------------------------------------------- /src/collections/Products/Products.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/collections/Products/Products.ts -------------------------------------------------------------------------------- /src/collections/Users.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/collections/Users.ts -------------------------------------------------------------------------------- /src/components/AddToCartButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/AddToCartButton.tsx -------------------------------------------------------------------------------- /src/components/Cart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/Cart.tsx -------------------------------------------------------------------------------- /src/components/CartItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/CartItem.tsx -------------------------------------------------------------------------------- /src/components/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/Footer.tsx -------------------------------------------------------------------------------- /src/components/Icons.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/Icons.tsx -------------------------------------------------------------------------------- /src/components/ImageSlider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/ImageSlider.tsx -------------------------------------------------------------------------------- /src/components/MaxWidthWrapper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/MaxWidthWrapper.tsx -------------------------------------------------------------------------------- /src/components/MobileNav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/MobileNav.tsx -------------------------------------------------------------------------------- /src/components/NavItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/NavItem.tsx -------------------------------------------------------------------------------- /src/components/NavItems.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/NavItems.tsx -------------------------------------------------------------------------------- /src/components/Navbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/Navbar.tsx -------------------------------------------------------------------------------- /src/components/PaymentStatus.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/PaymentStatus.tsx -------------------------------------------------------------------------------- /src/components/ProductListing.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/ProductListing.tsx -------------------------------------------------------------------------------- /src/components/ProductReel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/ProductReel.tsx -------------------------------------------------------------------------------- /src/components/Providers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/Providers.tsx -------------------------------------------------------------------------------- /src/components/UserAccountNav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/UserAccountNav.tsx -------------------------------------------------------------------------------- /src/components/VerifyEmail.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/VerifyEmail.tsx -------------------------------------------------------------------------------- /src/components/emails/PrimaryActionEmail.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/emails/PrimaryActionEmail.tsx -------------------------------------------------------------------------------- /src/components/emails/ReceiptEmail.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/emails/ReceiptEmail.tsx -------------------------------------------------------------------------------- /src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/ui/button.tsx -------------------------------------------------------------------------------- /src/components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/ui/input.tsx -------------------------------------------------------------------------------- /src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/ui/label.tsx -------------------------------------------------------------------------------- /src/components/ui/scroll-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/ui/scroll-area.tsx -------------------------------------------------------------------------------- /src/components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/ui/separator.tsx -------------------------------------------------------------------------------- /src/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/ui/sheet.tsx -------------------------------------------------------------------------------- /src/components/ui/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/components/ui/skeleton.tsx -------------------------------------------------------------------------------- /src/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/config/index.ts -------------------------------------------------------------------------------- /src/get-payload.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/get-payload.ts -------------------------------------------------------------------------------- /src/hooks/use-auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/hooks/use-auth.ts -------------------------------------------------------------------------------- /src/hooks/use-cart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/hooks/use-cart.ts -------------------------------------------------------------------------------- /src/hooks/use-on-click-outside.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/hooks/use-on-click-outside.ts -------------------------------------------------------------------------------- /src/lib/payload-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/lib/payload-utils.ts -------------------------------------------------------------------------------- /src/lib/stripe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/lib/stripe.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/lib/validators/account-credentials-validator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/lib/validators/account-credentials-validator.ts -------------------------------------------------------------------------------- /src/lib/validators/query-validator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/lib/validators/query-validator.ts -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/middleware.ts -------------------------------------------------------------------------------- /src/next-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/next-utils.ts -------------------------------------------------------------------------------- /src/payload-types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/payload-types.ts -------------------------------------------------------------------------------- /src/payload.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/payload.config.ts -------------------------------------------------------------------------------- /src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/server.ts -------------------------------------------------------------------------------- /src/trpc/auth-router.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/trpc/auth-router.ts -------------------------------------------------------------------------------- /src/trpc/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/trpc/client.ts -------------------------------------------------------------------------------- /src/trpc/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/trpc/index.ts -------------------------------------------------------------------------------- /src/trpc/payment-router.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/trpc/payment-router.ts -------------------------------------------------------------------------------- /src/trpc/trpc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/trpc/trpc.ts -------------------------------------------------------------------------------- /src/webhooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/src/webhooks.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.server.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/tsconfig.server.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschan21/digitalhippo/HEAD/yarn.lock --------------------------------------------------------------------------------