diff --git a/.eslintrc.cjs b/.eslintrc.cjs new file mode 100644 index 000000000..d6c953795 --- /dev/null +++ b/.eslintrc.cjs @@ -0,0 +1,18 @@ +module.exports = { + root: true, + env: { browser: true, es2020: true }, + extends: [ + 'eslint:recommended', + 'plugin:@typescript-eslint/recommended', + 'plugin:react-hooks/recommended', + ], + ignorePatterns: ['dist', '.eslintrc.cjs'], + parser: '@typescript-eslint/parser', + plugins: ['react-refresh'], + rules: { + 'react-refresh/only-export-components': [ + 'warn', + { allowConstantExport: true }, + ], + }, +} diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index fae8e3d8a..000000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "typescript.tsdk": "node_modules/typescript/lib", - "typescript.enablePromptUseWorkspaceTsdk": true -} diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 4495fa2b9..000000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,56 +0,0 @@ -# CHANGELOG.md - -## [5.0.0] - 2025-02-04 - -- Updgrade to Tailwind v4 -- Update dependencies - -## [4.1.0] - 2024-12-08 - -- Update dependencies + Upgrade to Next.js 15 - -## [4.0.0] - 2024-09-11 - -Redesign the entire template - -## [3.3.0] - 2023-12-08 - -Update to Next.js 14 -Update dependencies - -## [3.2.2] - 2023-10-04 - -Update Twitter icon -Update dependencies - -## [3.2.0] - 2023-05-31 - -Update dependencies and fix some issues - -## [3.1.0] - 2023-05-07 - -Modal video improvements - -## [3.0.0] - 2023-04-12 - -Conversion to Next.js - -## [2.0.3] - 2023-03-28 - -Fix video - -## [2.0.2] - 2023-03-28 - -Add self-hosted video - -## [2.0.1] - 2023-02-16 - -Remove header links - -## [2.0.0] - 2023-02-16 - -Replace Cruip CSS with Tailwind CSS - -## [1.0.0] - 2020-04-07 - -First release diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..d30945f4a --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Leopoldo Miranda + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 47d74c1f2..656ee64de 100644 --- a/README.md +++ b/README.md @@ -1,93 +1,5 @@ -# Free React / Next.js landing page template +CAPES.APP -![Open React / Next.js template preview](https://github.com/user-attachments/assets/522a5e46-2a0e-48ca-80eb-87c7fa58f3ea) +Every superhero needs a cape - Set your business to autopilot. -**Open** is a **free React / Next.js landing page template built with Tailwind CSS** for developers/makers who want to create a quick and professional landing page for their open source projects, SaaS products, online services, and more. - -**UPDATE 2025-02-04** Added Tailwind v4 support! - -Use it for whatever you want, and be sure to reach us out on [Twitter](https://twitter.com/Cruip_com) if you build anything cool/useful with it. - -Created and maintained with ❤️ by [Cruip.com](https://cruip.com). - -_Version 1.0.0 built with the Cruip CSS is available [here](https://github.com/cruip/open-react-template/releases/tag/1.0.0)._ -_Version 2.0.3 built with Tailwind CSS and React + Vite is available [here](https://github.com/cruip/open-react-template/releases/tag/2.0.3)._ -_Version 3.3.0 (before redesign) built with Tailwind CSS and Next.js is available [here](https://github.com/cruip/open-react-template/releases/tag/3.3.0)._ - -## Live demo - -Check the live demo here 👉️ [https://open.cruip.com/](https://open.cruip.com/) - -## Open PRO - -[![Open Pro](https://github.com/user-attachments/assets/2062c728-95f1-4d59-aa2d-d63556f625d5)](https://cruip.com/) - -## Design files - -If you need the design files, you can download them from Figma's Community 👉 https://bit.ly/401KSUS - -## Usage - -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 -pnpm dev (recommended) -# or -yarn 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. - -[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`. - -The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. - -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. - -### Support notes - -This template has been developed with the App Router (`app`) and React Server Components. If you’re unfamiliar with these beta features, you can find more information about them on the Next.js beta documentation page. So, please note that any request dealing with React (e.g. extra features, customisations, et cetera) is to be considered out of the support scope. - -For more information about what support covers, please see our (FAQs)[https://cruip.com/faq/]. - -## Credits - -- [Nucleo](https://nucleoapp.com/) - -## Terms and License - -- Released under the [GPL](https://www.gnu.org/licenses/gpl-3.0.html). -- Copyright 2024 [Cruip](https://cruip.com/). -- Use it for personal and commercial projects, but please don’t republish, redistribute, or resell the template. -- Attribution is not required, although it is really appreciated. - -## About Us - -We're an Italian developer/designer duo creating high-quality design/code resources for developers, makers, and startups. - -## Stay in the loop - -If you would like to know when we release new resources, you can follow [@pacovitiello](https://x.com/pacovitiello) and [@DavidePacilio](https://x.com/DavidePacilio) on X, or you can subscribe to our [newsletter](https://cruip.com/newsletter/). +The one-stop solution for creators, coaches, teachers, and professionals to build, grow, and manage their digital business. diff --git a/app/(auth)/layout.tsx b/app/(auth)/layout.tsx deleted file mode 100644 index cbf25ea2f..000000000 --- a/app/(auth)/layout.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import PageIllustration from "@/components/page-illustration"; - -export default function AuthLayout({ - children, -}: { - children: React.ReactNode; -}) { - return ( -
- - - {children} -
- ); -} diff --git a/app/(auth)/reset-password/page.tsx b/app/(auth)/reset-password/page.tsx deleted file mode 100644 index ed77a6202..000000000 --- a/app/(auth)/reset-password/page.tsx +++ /dev/null @@ -1,45 +0,0 @@ -export const metadata = { - title: "Reset Password - Open PRO", - description: "Page description", -}; - -import Link from "next/link"; - -export default function ResetPassword() { - return ( -
-
-
- {/* Section header */} -
-

- Reset your password -

-
- {/* Contact form */} -
-
- - -
-
- -
-
-
-
-
- ); -} diff --git a/app/(auth)/signin/page.tsx b/app/(auth)/signin/page.tsx deleted file mode 100644 index e7da39ed7..000000000 --- a/app/(auth)/signin/page.tsx +++ /dev/null @@ -1,82 +0,0 @@ -export const metadata = { - title: "Sign In - Open PRO", - description: "Page description", -}; - -import Link from "next/link"; - -export default function SignIn() { - return ( -
-
-
- {/* Section header */} -
-

- Welcome back -

-
- {/* Contact form */} -
-
-
- - -
-
-
- - - Forgot? - -
- -
-
-
- -
- or -
- -
-
- {/* Bottom link */} -
- Don't you have an account?{" "} - - Sign Up - -
-
-
-
- ); -} diff --git a/app/(auth)/signup/page.tsx b/app/(auth)/signup/page.tsx deleted file mode 100644 index 17d4f045a..000000000 --- a/app/(auth)/signup/page.tsx +++ /dev/null @@ -1,104 +0,0 @@ -export const metadata = { - title: "Sign Up - Open PRO", - description: "Page description", -}; - -import Link from "next/link"; - -export default function SignUp() { - return ( -
-
-
- {/* Section header */} -
-

- Create an account -

-
- {/* Contact form */} -
-
-
- - -
-
- - -
-
- - -
-
- - -
-
-
- -
- or -
- -
-
- {/* Bottom link */} -
- Already have an account?{" "} - - Sign in - -
-
-
-
- ); -} diff --git a/app/(default)/layout.tsx b/app/(default)/layout.tsx deleted file mode 100644 index b3731b22e..000000000 --- a/app/(default)/layout.tsx +++ /dev/null @@ -1,31 +0,0 @@ -"use client"; - -import { useEffect } from "react"; - -import AOS from "aos"; -import "aos/dist/aos.css"; - -import Footer from "@/components/ui/footer"; - -export default function DefaultLayout({ - children, -}: { - children: React.ReactNode; -}) { - useEffect(() => { - AOS.init({ - once: true, - disable: "phone", - duration: 600, - easing: "ease-out-sine", - }); - }); - - return ( - <> -
{children}
- -