diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..a49382c --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,96 @@ +## How can you Contribute to this Project? +#### 1. Fork the Repository + +To contribute to the project, you need to fork the repository to your GitHub account. You can do this by clicking on the [Fork](https://github.com/yashksaini-coder/leetcode-journal/fork) button at the top right corner of the repository page. + +#### 2. Clone the Repository + +```bash +git clone https://github.com/yashksaini-coder/leetcode-journal + +# Navigate to the project directory +cd leetcode-journal +``` + +#### 3. Install Dependencies + +```bash +npm install +``` + +#### 4. Set Up Supabase + +- Go to the [Supabase](https://supabase.io/) website and create an account. +- Create a new project in Supabase. +- Navigate to the API section and create a new API key. +- Copy the API key and the URL of your Supabase project. + +#### 5. Set Up Environment Variables + +- Create a new file named `.env` in the root directory of the project. + +- Add the following environment variables to the file: + +```bash +NEXT_PUBLIC_SUPABASE_URL = your-supabase-url +NEXT_PUBLIC_SUPABASE_ANON_KEY = your-anon-key +DATABASE_URL = your-database-url +``` + +#### 6. Start the Application + +```bash +# Start the application +npm run dev +``` + +#### 7. Open the app in your browser + +You should now be able to access the application at [http://localhost:3000](http://localhost:3000) + +## Contributing + +We welcome contributions from the community! To get started, you can follow the steps below: + +#### 7. Create a New Branch + +```bash +# Create a new branch for your feature or fix +git checkout -b feature/your-feature-name +``` + +#### 8. Make sure your changes adhere to the project standards and structure. Stage all changes + +```bash +git add . +``` + +#### 9. Commit your Changes, with a descriptive message + +```bash +git commit -m "Description of the feature or fix" +``` + +#### 10. Push your Changes into the branch to your forked repository + +```bash +# Push your branch to your forked repository +git push origin feature/your-feature-name +``` + +#### 11. Create a Pull Request + +- Go to the original repository on GitHub and open a new Pull Request +- Provide a clear description of your changes in the Pull Request. + +#### 12. Wait for Review + +- Once you have opened a Pull Request, the maintainers will review your changes and provide feedback. + +## ✨ Contributors + +All Thanks to our contributors 💙 + +[![GitHub Contributors](https://contrib.rocks/image?repo=yashksaini-coder/Leetcode-Journal)](https://github.com/yashksaini-coder/Leetcode-Journal/graphs/contributors) + + diff --git a/README.md b/README.md index 0a5c916..74d671f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ -
- -
+ # [Leetcode Journal](https://leetcode-journal.vercel.app/) @@ -10,36 +8,13 @@ ## Project Overview - [![wakatime](https://wakatime.com/badge/user/9a827e04-5df8-4525-ace8-e88326bbf87a/project/cbc54911-d322-42cb-a897-c093a59e53ad.svg?style=social)](https://wakatime.com/badge/user/9a827e04-5df8-4525-ace8-e88326bbf87a/project/cbc54911-d322-42cb-a897-c093a59e53ad) - - ## Key Features Leetcode Journal offers the following key features: -- **📝 AI Agent:** An AI Agent that is capable of solving and providing assistance to the developers to help them solve leetcode problems -- **🗂️ Categorize Problems:** Tag problems by difficulty, topic, or category for better organization. +- **🗂️ Problems Dashboard:** Showcasing problems by difficulty, topic, or category for better organization. - **📈 Track Progress:** Visualize your journey with detailed progress tracking. - **📊 Performance Analytics:** Leverage charts and insights to discover patterns in your performance. @@ -73,102 +48,39 @@ Leetcode Journal leverages cutting-edge technologies to deliver a seamless user -### How can you Contrbitute to this Project? - -#### 1. Fork the Repository - -To contribute to the project, you need to fork the repository to your GitHub account. You can do this by clicking on the [Fork](https://github.com/yashksaini-coder/leetcode-journal/fork) button at the top right corner of the repository page. - -#### 2. Clone the Repository -```bash -git clone https://github.com/yashksaini-coder/leetcode-journal - -# Navigate to the project directory -cd leetcode-journal -``` - -#### 3. Install Dependencies -```bash -npm install -``` - -#### 4. Set Up Supabase - -- Go to the [Supabase](https://supabase.io/) website and create an account. -- Create a new project in Supabase. -- Navigate to the API section and create a new API key. -- Copy the API key and the URL of your Supabase project. - -#### %. Set Up Environment Variables -- Create a new file named `.env` in the root directory of the project. -- Add the following environment variables to the file: -```bash -NEXT_PUBLIC_SUPABASE_URL = your-supabase-url -NEXT_PUBLIC_SUPABASE_ANON_KEY = your-anon-key -DATABASE_URL = your-database-url -``` - -#### 6. Start the Application -```bash -# Start the application -npm run dev -``` - -#### 7. Open the app in your browser -You should now be able to access the application at [http://localhost:3000](http://localhost:3000) - -## Contributing -We welcome contributions from the community! To get started, you can follow the steps below: - -#### 7. Create a New Branch - -```bash -# Create a new branch for your feature or fix -git checkout -b feature/your-feature-name -``` - -#### 8. Make sure your changes adhere to the project standards and structure. Stage all changes - -```bash -git add . -``` -#### 9. Commit your Changes, with a descriptive message - -```bash -git commit -m "Description of the feature or fix" -``` -#### 10. Push your Changes into the branch to your forked repository - -```bash -# Push your branch to your forked repository -git push origin feature/your-feature-name -``` - -#### 11. Create a Pull Request - -- Go to the original repository on GitHub and open a new Pull Request -- Provide a clear description of your changes in the Pull Request. - -#### 12. Wait for Review - -- Once you have opened a Pull Request, the maintainers will review your changes and provide feedback. - -## ✨ Contributors - -All Thanks to our contributors 💙 - -[![GitHub Contributors](https://contrib.rocks/image?repo=yashksaini-coder/Leetcode-Journal)](https://github.com/yashksaini-coder/Leetcode-Journal/graphs/contributors) - - - -## Stargazers ❤️ - -
- -[![Stargazers repo roster for @yashksaini-coder/leetcode-journal](https://reporoster.com/stars/yashksaini-coder/leetcode-journal)](https://github.com/yashksaini-coder/leetcode-journal/stargazers) - -
- -## Forkers ❤️ - -[![Forkers repo roster for @yashksaini-coder/Leetcode-Journal](https://reporoster.com/forks/yashksaini-coder/Leetcode-Journal)](https://github.com/yashksaini-coder/Leetcode-Journal/network/members) +--- + + + + + + + + + +
+ +
+

+ Yash K. Saini +

+
+

(Author)

+
+
+

+ 👋 Hi there! I'm Yash K. Saini, a self-taught software developer and a computer science student from India. +

+
    +
  • + I love building & contributing to Open Source software solutions & projects that help solve real-world problems. +
  • +
  • + I want to build products & systems that can benefit & solve problems for many other DEVs. +
  • +
+
+ +

+ 🌟 If you find this project helpful, please give it a star on GitHub! 🌟 +

diff --git a/app/page.tsx b/app/page.tsx index 182c081..b409b63 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,6 +1,4 @@ -import { BenefitsSection } from "@/components/DashboardV2/BenefitsSection"; import { CommunitySection } from "@/components/DashboardV2/CommunitySection"; -import { ContactSection } from "@/components/DashboardV2/ContactSection"; import { FAQSection } from "@/components/DashboardV2/FAQSection"; import { FeaturesSection } from "@/components/DashboardV2/FeaturesSection"; import { FooterSection } from "@/components/DashboardV2/FooterSection"; @@ -8,13 +6,12 @@ import { HeroSection } from "@/components/DashboardV2/HeroSection"; import { PricingSection } from "@/components/DashboardV2/PricingSection"; import { ServicesSection } from "@/components/DashboardV2/ServicesSection"; import { TeamSection } from "@/components/DashboardV2/TeamSection"; -import { TestimonialSection } from "@/components/DashboardV2/TestimonialSection"; import { V2Navbar } from "@/components/DashboardV2/V2Navbar"; export const metadata = { title: "LeetCode Journal - Your Coding Companion", description: "LeetCode Journal helps you organize your problem-solving journey, track your progress, and achieve your coding interview goals.", - openGraph: { + link: { type: "website", url: "https://leetcode-journal.vercel.app/", title: "LeetCode Journal - Your Coding Companion", @@ -24,19 +21,10 @@ export const metadata = { url: "https://res.cloudinary.com/dbzv9xfjp/image/upload/v1723499276/og-images/shadcn-vue.jpg", width: 1200, height: 630, - alt: "Shadcn - Landing template", + alt: "Leetcode Journal", }, ], }, - twitter: { - card: "summary_large_image", - site: "https://github.com/yashksaini-coder/Leetcode-Journal", - title: "Shadcn - Landing template", - description: "Free Shadcn landing page for developers", - images: [ - "https://res.cloudinary.com/dbzv9xfjp/image/upload/v1723499276/og-images/shadcn-vue.jpg", - ], - }, }; export default function Home() { @@ -44,10 +32,8 @@ export default function Home() {
- {/* */} - {/* */} + - {/* */} diff --git a/components/DashboardV2/CommunitySection.tsx b/components/DashboardV2/CommunitySection.tsx index e5ed92b..2432484 100644 --- a/components/DashboardV2/CommunitySection.tsx +++ b/components/DashboardV2/CommunitySection.tsx @@ -33,7 +33,7 @@ export const CommunitySection = () => { diff --git a/components/DashboardV2/ContactSection.tsx b/components/DashboardV2/ContactSection.tsx deleted file mode 100644 index f130f16..0000000 --- a/components/DashboardV2/ContactSection.tsx +++ /dev/null @@ -1,245 +0,0 @@ -"use client"; -import { - Card, - CardContent, - CardFooter, - CardHeader, -} from "@/components/ui/card"; -import { Building2, Clock, Mail, Phone } from "lucide-react"; -import { useForm } from "react-hook-form"; -import { z } from "zod"; -import { zodResolver } from "@hookform/resolvers/zod"; -import { - Form, - FormControl, - FormField, - FormItem, - FormLabel, - FormMessage, -} from "@/components/ui/form"; -import { Input } from "@/components/ui/input"; -import { Button } from "@/components/ui/button"; -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/components/ui/select"; -import { Textarea } from "@/components/ui/textarea"; - -const formSchema = z.object({ - firstName: z.string().min(2).max(255), - lastName: z.string().min(2).max(255), - email: z.string().email(), - subject: z.string().min(2).max(255), - message: z.string(), -}); - -export const ContactSection = () => { - const form = useForm>({ - resolver: zodResolver(formSchema), - defaultValues: { - firstName: "", - lastName: "", - email: "", - subject: "Web Development", - message: "", - }, - }); - - function onSubmit(values: z.infer) { - const { firstName, lastName, email, subject, message } = values; - console.log(values); - - const mailToLink = `mailto:yashkumarsaini366@gmail.com?subject=${subject}&body=Hello I am ${firstName} ${lastName}, my Email is ${email}. %0D%0A${message}`; - - window.location.href = mailToLink; - } - - return ( -
-
-
-
-

- Contact -

- -

Connect With Us

-
-

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptatum - ipsam sint enim exercitationem ex autem corrupti quas tenetur -

- -
-
-
- -
Find us
-
- -
742 Evergreen Terrace, Springfield, IL 62704
-
- -
-
- -
Call us
-
- -
+1 (619) 123-4567
-
- -
-
- -
Mail US
-
- -
leomirandadev@gmail.com
-
- -
-
- -
Visit us
-
- -
-
Monday - Friday
-
8AM - 4PM
-
-
-
-
- - - - -
- -
- ( - - First Name - - - - - - )} - /> - ( - - Last Name - - - - - - )} - /> -
- -
- ( - - Email - - - - - - )} - /> -
- -
- ( - - Subject - - - - )} - /> -
- -
- ( - - Message - -