Remove project notes, submodules, and meeting references
This commit is contained in:
parent
2b973d7313
commit
ab139e84af
66
.cursor/rules/project_overview.md
Normal file
66
.cursor/rules/project_overview.md
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
---
|
||||||
|
description:
|
||||||
|
globs:
|
||||||
|
---
|
||||||
|
# CV Optimization Platform
|
||||||
|
|
||||||
|
## Table of Contents
|
||||||
|
1. [Key Features](#key-features)
|
||||||
|
2. [Tech Stack](#tech-stack)
|
||||||
|
3. [Core Functionalities](#core-functionalities)
|
||||||
|
4. [Documentation](#documentation)
|
||||||
|
5. [Additional Requirements](#additional-requirements)
|
||||||
|
6. [Current File Structure](#current-file-structure)
|
||||||
|
|
||||||
|
## Key Features
|
||||||
|
- AI-powered resume analysis
|
||||||
|
- ATS compliance checking
|
||||||
|
- Real-time editing suggestions
|
||||||
|
- GDPR-compliant storage
|
||||||
|
|
||||||
|
## Tech Stack
|
||||||
|
- React.js frontend
|
||||||
|
- Node.js/Express.js backend
|
||||||
|
- MongoDB database (initially using simple file storage)
|
||||||
|
- OpenAI/Claude LLM integration
|
||||||
|
|
||||||
|
## Core Functionalities
|
||||||
|
- User authentication
|
||||||
|
- File upload and storage
|
||||||
|
- AI analysis and suggestions
|
||||||
|
- ATS compliance checking
|
||||||
|
- Real-time editing suggestions
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
- OpenAI API documentation
|
||||||
|
- Claude API documentation
|
||||||
|
- MongoDB documentation
|
||||||
|
- React.js documentation
|
||||||
|
|
||||||
|
## Additional Requirements
|
||||||
|
- Use Tailwind CSS for styling
|
||||||
|
- Implement responsive design
|
||||||
|
- Ensure high performance and scalability
|
||||||
|
- Follow best practices for security and error handling
|
||||||
|
- Use Next.js for server-side rendering and routing
|
||||||
|
- Implement proper error handling and user feedback
|
||||||
|
- Ensure cross-browser compatibility
|
||||||
|
- Optimize performance with code splitting and lazy loading
|
||||||
|
- Implement caching where appropriate
|
||||||
|
|
||||||
|
## Current File Structure
|
||||||
|
my-app/
|
||||||
|
├── app/
|
||||||
|
├── components/
|
||||||
|
├── public/
|
||||||
|
├── styles/
|
||||||
|
├── .env
|
||||||
|
├── .gitignore
|
||||||
|
├── package.json
|
||||||
|
├── tailwind.config.ts
|
||||||
|
├── tsconfig.json
|
||||||
|
├── README.md
|
||||||
|
./notes/
|
||||||
|
├── resume_resources.md
|
||||||
|
├── project_overview.md
|
||||||
|
├── development_tasks.md
|
||||||
35
.cursor/rules/resume_resources.md
Normal file
35
.cursor/rules/resume_resources.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# Resume Resources
|
||||||
|
|
||||||
|
## CV Templates
|
||||||
|
- [React Resume Template](https://github.com/tbakerx/react-resume-template?tab=readme-ov-file)
|
||||||
|
- [React Resume](https://reactresume.com/)
|
||||||
|
|
||||||
|
## LinkedIn Resume Builder
|
||||||
|
- [Professional Resume Builder](https://lnkd.in/gPbPiF3Y)
|
||||||
|
|
||||||
|
## Resume Writing Tools
|
||||||
|
1. **Looking for Resume**: Build resumes easily with professional templates.
|
||||||
|
2. **ResumeWorded**: Instantly score and improve resumes and LinkedIn profiles.
|
||||||
|
3. **ResumeGenius**: Resources from application to job offer.
|
||||||
|
4. **Resume.io**: AI-powered resume analysis and improvement suggestions.
|
||||||
|
5. **Enhancv**: Professional templates approved by recruiters in minutes.
|
||||||
|
6. **Rezi**: AI-based CV builder with ATS optimization and keyword scanner.
|
||||||
|
7. **Zety**: Create polished CVs in minutes with AI-powered tools.
|
||||||
|
8. **CV Compiler**: Compare your CV with job descriptions for personalized feedback.
|
||||||
|
9. **Visual CV**: Create professional CVs with AI-powered tools and templates.
|
||||||
|
10. **Jobscan**: Optimize resumes for applicant tracking systems (ATS).
|
||||||
|
11. **Novoresume**: Easy-to-use resume builder with modern templates.
|
||||||
|
12. **Hiration**: Get tailored resume templates and career advice.
|
||||||
|
13. **Kickresume**: Create resumes, cover letters, and websites effortlessly.
|
||||||
|
14. **FlowCV**: Free tool to build visually appealing and structured resumes.
|
||||||
|
|
||||||
|
## Remote Job Websites
|
||||||
|
1. **We Work Remotely**: The largest remote community with 4.5M visitors.
|
||||||
|
2. **Remote.co**: Offers remote roles in various fields.
|
||||||
|
3. **FlexJobs**: Curates high-quality, vetted remote job opportunities.
|
||||||
|
4. **Remotive**: Features remote jobs in various sectors.
|
||||||
|
5. **Jobspresso**: Curated remote jobs in tech, marketing, design, and writing.
|
||||||
|
|
||||||
|
## Networking
|
||||||
|
- Join me on Telegram: [Unlock Career Secrets](https://t.me/hrswatisharma)
|
||||||
|
- Follow HR Swati Sharma for more valuable content.
|
||||||
0
.cursor/rules/task_list.md
Normal file
0
.cursor/rules/task_list.md
Normal file
22
.cursorrules
Normal file
22
.cursorrules
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
All files are located in the my-app folder.
|
||||||
|
|
||||||
|
All cursor rules are located in the .cursor folder.
|
||||||
|
|
||||||
|
## Cursor Rules Overview
|
||||||
|
|
||||||
|
### CV Platform Development Protocol
|
||||||
|
- **File**: `.cursor/rules/cv-platform-rules.mdc`
|
||||||
|
- **Description**: Contains development protocols for the CV platform, including security measures, LLM implementation rules, and task management guidelines.
|
||||||
|
|
||||||
|
### Project Overview
|
||||||
|
- **File**: `.cursor/rules/project_overview.mdc`
|
||||||
|
- **Description**: Provides a comprehensive overview of the CV optimization platform, including key features, tech stack, core functionalities, and additional requirements.
|
||||||
|
|
||||||
|
### Resume Resources
|
||||||
|
- **File**: `.cursor/rules/resume_resources.md`
|
||||||
|
- **Description**: A collection of resources for resume building, including templates, writing tools, and job websites.
|
||||||
|
|
||||||
|
### Task List
|
||||||
|
- **File**: `.cursor/rules/task_list.md`
|
||||||
|
- **Description**: Contains a list of tasks for the project, organized by priority and current sprint.
|
||||||
|
|
||||||
@ -1,72 +0,0 @@
|
|||||||
Nice repos:
|
|
||||||
* CV template:
|
|
||||||
** https://github.com/tbakerx/react-resume-template?tab=readme-ov-file
|
|
||||||
** https://reactresume.com/
|
|
||||||
|
|
||||||
|
|
||||||
LINKEDIN RESUME BUILDER:
|
|
||||||
Here’s a tool to create a professional resume that stands out and passes ATS filters:
|
|
||||||
👉🏻 https://lnkd.in/gPbPiF3Y
|
|
||||||
|
|
||||||
📍 Kindly hashtag#reshare your Jobseeker friends it is useful for others
|
|
||||||
|
|
||||||
Here are 14 Resume writing tools that will help you to get your dream job.
|
|
||||||
|
|
||||||
1) Looking for Resume: Build resumes easily with professional templates.
|
|
||||||
|
|
||||||
2) ResumeWorded: Instantly score and improve resumes and LinkedIn profiles.
|
|
||||||
|
|
||||||
3) ResumeGenius: Resources from application to job offer.
|
|
||||||
|
|
||||||
4) Resume io: AI-powered resume analysis and improvement suggestions.
|
|
||||||
|
|
||||||
5) Enhancv: Professional templates approved by recruiters in minutes.
|
|
||||||
|
|
||||||
6) Rezi: AI-based CV builder with ATS optimization and keyword scanner.
|
|
||||||
|
|
||||||
7) Zety: Create polished CVs in minutes with AI-powered tools.
|
|
||||||
|
|
||||||
8) CV Compiler: Compare your CV with job descriptions for personalized feedback.
|
|
||||||
|
|
||||||
9) Visual CV: Create professional CVs with AI-powered tools and templates.
|
|
||||||
|
|
||||||
10) Jobscan: Optimize resumes for applicant tracking systems (ATS).
|
|
||||||
|
|
||||||
11) Novoresume: Easy-to-use resume builder with modern templates.
|
|
||||||
|
|
||||||
12) Hiration: Get tailored resume templates and career advice.
|
|
||||||
|
|
||||||
13) Kickresume: Create resumes, cover letters, and websites effortlessly.
|
|
||||||
|
|
||||||
14) FlowCV: Free tool to build visually appealing and structured resumes.
|
|
||||||
|
|
||||||
Here are 5 remote job websites to help you get your dream job:
|
|
||||||
|
|
||||||
1️⃣We Work Remotely
|
|
||||||
|
|
||||||
↳ The largest remote community with 4.5M visitors.
|
|
||||||
↳ Jobs across industries worldwide.
|
|
||||||
|
|
||||||
2️⃣Remote co
|
|
||||||
↳ Offers remote roles in customer service, design, HR, sales, and more.
|
|
||||||
↳ Also includes resources and advice for remote workers.
|
|
||||||
|
|
||||||
3️⃣ FlexJobs
|
|
||||||
|
|
||||||
↳ Curates high-quality, vetted remote job opportunities.
|
|
||||||
↳ Paid platform for verified remote and hybrid roles.
|
|
||||||
|
|
||||||
4️⃣ Remotive
|
|
||||||
↳ Features remote jobs in development, marketing, sales, and customer support.
|
|
||||||
↳ Offers a free job accelerator program.
|
|
||||||
|
|
||||||
5️⃣Jobspresso
|
|
||||||
↳ Curated remote jobs in tech, marketing, design, and writing.
|
|
||||||
↳ Easy application process.
|
|
||||||
|
|
||||||
Which your favourite ? tell me in comments
|
|
||||||
|
|
||||||
Unlock Career Secrets—Join Me On Telegram :
|
|
||||||
https://t.me/hrswatisharma
|
|
||||||
|
|
||||||
➡️Follow HR Swati Sharma for more valuable stuff
|
|
||||||
@ -1,13 +0,0 @@
|
|||||||
# CV Optimization Platform
|
|
||||||
|
|
||||||
## Key Features
|
|
||||||
- AI-powered resume analysis
|
|
||||||
- ATS compliance checking
|
|
||||||
- Real-time editing suggestions
|
|
||||||
- GDPR-compliant storage
|
|
||||||
|
|
||||||
## Tech Stack
|
|
||||||
- React.js frontend
|
|
||||||
- Node.js/Express.js backend
|
|
||||||
- MongoDB database
|
|
||||||
- OpenAI/Cline LLM integration
|
|
||||||
@ -1,10 +0,0 @@
|
|||||||
## P-0: Critical Path (Current Sprint)
|
|
||||||
- [ ] Implement PDF parser using PyPDF2 and @breezypdf/pdf-extract
|
|
||||||
- [ ] Create ATS keyword mapping system (Due: 2025-03-01)
|
|
||||||
|
|
||||||
## P-1: Near-Term Backlog
|
|
||||||
- [ ] Design premium subscription flow
|
|
||||||
- [ ] Research GDPR-compliant storage solutions
|
|
||||||
|
|
||||||
## P-X: Innovation Pipeline
|
|
||||||
- [ ] Experiment with Claude 3 Opus for cover letter generation
|
|
||||||
45
my-app/.gitignore
vendored
Normal file
45
my-app/.gitignore
vendored
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
/node_modules
|
||||||
|
/.pnp
|
||||||
|
.pnp.*
|
||||||
|
.yarn/*
|
||||||
|
!.yarn/patches
|
||||||
|
!.yarn/plugins
|
||||||
|
!.yarn/releases
|
||||||
|
!.yarn/versions
|
||||||
|
|
||||||
|
# testing
|
||||||
|
/coverage
|
||||||
|
|
||||||
|
# next.js
|
||||||
|
/.next/
|
||||||
|
/out/
|
||||||
|
|
||||||
|
# production
|
||||||
|
/build
|
||||||
|
|
||||||
|
# misc
|
||||||
|
.DS_Store
|
||||||
|
*.pem
|
||||||
|
|
||||||
|
# debug
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
.pnpm-debug.log*
|
||||||
|
|
||||||
|
# env files (can opt-in for committing if needed)
|
||||||
|
.env*
|
||||||
|
|
||||||
|
# vercel
|
||||||
|
.vercel
|
||||||
|
|
||||||
|
# typescript
|
||||||
|
*.tsbuildinfo
|
||||||
|
next-env.d.ts
|
||||||
|
|
||||||
|
# CV related files
|
||||||
|
*.cv
|
||||||
|
*.resume
|
||||||
47
my-app/app/api/upload.ts
Normal file
47
my-app/app/api/upload.ts
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
import { NextApiRequest, NextApiResponse } from "next";
|
||||||
|
import formidable from "formidable"; // Ensure you have installed @types/formidable
|
||||||
|
import fs from "fs";
|
||||||
|
import path from "path";
|
||||||
|
|
||||||
|
// Disable Next.js's default body parsing
|
||||||
|
export const config = {
|
||||||
|
api: {
|
||||||
|
bodyParser: false,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
const uploadDir = path.join(process.cwd(), "uploads"); // Define the upload directory
|
||||||
|
|
||||||
|
// Ensure the upload directory exists
|
||||||
|
if (!fs.existsSync(uploadDir)) {
|
||||||
|
fs.mkdirSync(uploadDir, { recursive: true });
|
||||||
|
}
|
||||||
|
|
||||||
|
export default async function handler(req: NextApiRequest, res: NextApiResponse) {
|
||||||
|
const form = new formidable.IncomingForm();
|
||||||
|
form.uploadDir = uploadDir; // Set the upload directory
|
||||||
|
form.keepExtensions = true; // Keep file extensions
|
||||||
|
|
||||||
|
form.parse(req, (err, fields, files) => {
|
||||||
|
if (err) {
|
||||||
|
console.error("Error parsing the file:", err); // Log the error
|
||||||
|
return res.status(500).json({ error: "Error parsing the file." });
|
||||||
|
}
|
||||||
|
|
||||||
|
const file = files.cv; // Access the uploaded file
|
||||||
|
if (!file) {
|
||||||
|
return res.status(400).json({ error: "No file uploaded." });
|
||||||
|
}
|
||||||
|
|
||||||
|
const newFilePath = path.join(uploadDir, file.originalFilename || file.newFilename);
|
||||||
|
|
||||||
|
// Move the file to the desired location
|
||||||
|
fs.rename(file.filepath, newFilePath, (err) => {
|
||||||
|
if (err) {
|
||||||
|
console.error("Error saving the file:", err); // Log the error
|
||||||
|
return res.status(500).json({ error: "Error saving the file." });
|
||||||
|
}
|
||||||
|
res.status(200).json({ message: "File uploaded successfully!" });
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
BIN
my-app/app/favicon.ico
Normal file
BIN
my-app/app/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
21
my-app/app/globals.css
Normal file
21
my-app/app/globals.css
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
@tailwind base;
|
||||||
|
@tailwind components;
|
||||||
|
@tailwind utilities;
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--background: #ffffff;
|
||||||
|
--foreground: #171717;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
:root {
|
||||||
|
--background: #0a0a0a;
|
||||||
|
--foreground: #ededed;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
color: var(--foreground);
|
||||||
|
background: var(--background);
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
}
|
||||||
34
my-app/app/layout.tsx
Normal file
34
my-app/app/layout.tsx
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
import type { Metadata } from "next";
|
||||||
|
import { Geist, Geist_Mono } from "next/font/google";
|
||||||
|
import "./globals.css";
|
||||||
|
|
||||||
|
const geistSans = Geist({
|
||||||
|
variable: "--font-geist-sans",
|
||||||
|
subsets: ["latin"],
|
||||||
|
});
|
||||||
|
|
||||||
|
const geistMono = Geist_Mono({
|
||||||
|
variable: "--font-geist-mono",
|
||||||
|
subsets: ["latin"],
|
||||||
|
});
|
||||||
|
|
||||||
|
export const metadata: Metadata = {
|
||||||
|
title: "Create Next App",
|
||||||
|
description: "Generated by create next app",
|
||||||
|
};
|
||||||
|
|
||||||
|
export default function RootLayout({
|
||||||
|
children,
|
||||||
|
}: Readonly<{
|
||||||
|
children: React.ReactNode;
|
||||||
|
}>) {
|
||||||
|
return (
|
||||||
|
<html lang="en">
|
||||||
|
<body
|
||||||
|
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
||||||
|
>
|
||||||
|
{children}
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
);
|
||||||
|
}
|
||||||
129
my-app/app/page.tsx
Normal file
129
my-app/app/page.tsx
Normal file
@ -0,0 +1,129 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
|
import Image from "next/image";
|
||||||
|
import { FaBriefcase, FaUserGraduate, FaTools } from "react-icons/fa";
|
||||||
|
import { useState } from "react";
|
||||||
|
|
||||||
|
export default function Home() {
|
||||||
|
const [file, setFile] = useState<File | null>(null);
|
||||||
|
|
||||||
|
const handleFileChange = (event: React.ChangeEvent<HTMLInputElement>) => {
|
||||||
|
if (event.target.files) {
|
||||||
|
setFile(event.target.files[0]);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleSubmit = async (event: React.FormEvent) => {
|
||||||
|
event.preventDefault();
|
||||||
|
if (!file) return;
|
||||||
|
|
||||||
|
const formData = new FormData();
|
||||||
|
formData.append("cv", file);
|
||||||
|
|
||||||
|
try {
|
||||||
|
const response = await fetch("/api/upload", {
|
||||||
|
method: "POST",
|
||||||
|
body: formData,
|
||||||
|
});
|
||||||
|
|
||||||
|
if (response.ok) {
|
||||||
|
alert("File uploaded successfully!");
|
||||||
|
setFile(null); // Reset the file input
|
||||||
|
} else {
|
||||||
|
alert("File upload failed.");
|
||||||
|
}
|
||||||
|
} catch (error) {
|
||||||
|
console.error("Error uploading file:", error);
|
||||||
|
alert("An error occurred while uploading the file.");
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div className="grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20 font-[family-name:var(--font-geist-sans)]">
|
||||||
|
<main className="flex flex-col gap-8 row-start-2 items-center sm:items-start">
|
||||||
|
<h1 className="text-3xl font-bold">Welcome to Your CV Upgrade</h1>
|
||||||
|
<p className="text-lg text-center">
|
||||||
|
This platform is designed to help you enhance your CV and showcase your skills effectively.
|
||||||
|
</p>
|
||||||
|
<div className="flex flex-col gap-4">
|
||||||
|
<div className="flex items-center">
|
||||||
|
<FaBriefcase className="text-2xl mr-2" />
|
||||||
|
<p>Highlight your professional experience and achievements.</p>
|
||||||
|
</div>
|
||||||
|
<div className="flex items-center">
|
||||||
|
<FaUserGraduate className="text-2xl mr-2" />
|
||||||
|
<p>Showcase your educational background and certifications.</p>
|
||||||
|
</div>
|
||||||
|
<div className="flex items-center">
|
||||||
|
<FaTools className="text-2xl mr-2" />
|
||||||
|
<p>Utilize our tools to create a standout CV that gets noticed.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="flex flex-col items-center mt-8">
|
||||||
|
<label className="mb-2 text-lg">Upload Your CV:</label>
|
||||||
|
<input
|
||||||
|
type="file"
|
||||||
|
accept=".pdf,.doc,.docx"
|
||||||
|
onChange={handleFileChange}
|
||||||
|
className="border border-gray-300 rounded p-2"
|
||||||
|
/>
|
||||||
|
{file && <p className="mt-2">Selected file: {file.name}</p>}
|
||||||
|
<button
|
||||||
|
onClick={handleSubmit}
|
||||||
|
className="mt-4 bg-blue-500 text-white rounded p-2"
|
||||||
|
>
|
||||||
|
Submit
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
<footer className="row-start-3 flex gap-6 flex-wrap items-center justify-center">
|
||||||
|
<a
|
||||||
|
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
|
||||||
|
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
|
<Image
|
||||||
|
aria-hidden
|
||||||
|
src="/file.svg"
|
||||||
|
alt="File icon"
|
||||||
|
width={16}
|
||||||
|
height={16}
|
||||||
|
/>
|
||||||
|
Learn
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
|
||||||
|
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
|
<Image
|
||||||
|
aria-hidden
|
||||||
|
src="/window.svg"
|
||||||
|
alt="Window icon"
|
||||||
|
width={16}
|
||||||
|
height={16}
|
||||||
|
/>
|
||||||
|
Examples
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
|
||||||
|
href="https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
|
<Image
|
||||||
|
aria-hidden
|
||||||
|
src="/globe.svg"
|
||||||
|
alt="Globe icon"
|
||||||
|
width={16}
|
||||||
|
height={16}
|
||||||
|
/>
|
||||||
|
Go to nextjs.org →
|
||||||
|
</a>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
16
my-app/eslint.config.mjs
Normal file
16
my-app/eslint.config.mjs
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
import { dirname } from "path";
|
||||||
|
import { fileURLToPath } from "url";
|
||||||
|
import { FlatCompat } from "@eslint/eslintrc";
|
||||||
|
|
||||||
|
const __filename = fileURLToPath(import.meta.url);
|
||||||
|
const __dirname = dirname(__filename);
|
||||||
|
|
||||||
|
const compat = new FlatCompat({
|
||||||
|
baseDirectory: __dirname,
|
||||||
|
});
|
||||||
|
|
||||||
|
const eslintConfig = [
|
||||||
|
...compat.extends("next/core-web-vitals", "next/typescript"),
|
||||||
|
];
|
||||||
|
|
||||||
|
export default eslintConfig;
|
||||||
7
my-app/next.config.ts
Normal file
7
my-app/next.config.ts
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import type { NextConfig } from "next";
|
||||||
|
|
||||||
|
const nextConfig: NextConfig = {
|
||||||
|
/* config options here */
|
||||||
|
};
|
||||||
|
|
||||||
|
export default nextConfig;
|
||||||
5597
my-app/package-lock.json
generated
Normal file
5597
my-app/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
30
my-app/package.json
Normal file
30
my-app/package.json
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"name": "my-app",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"private": true,
|
||||||
|
"scripts": {
|
||||||
|
"dev": "next dev --turbopack",
|
||||||
|
"build": "next build",
|
||||||
|
"start": "next start",
|
||||||
|
"lint": "next lint"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"formidable": "^3.5.2",
|
||||||
|
"next": "15.1.7",
|
||||||
|
"react": "^19.0.0",
|
||||||
|
"react-dom": "^19.0.0",
|
||||||
|
"react-icons": "^5.5.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@eslint/eslintrc": "^3",
|
||||||
|
"@types/formidable": "^3.4.5",
|
||||||
|
"@types/node": "^20",
|
||||||
|
"@types/react": "^19",
|
||||||
|
"@types/react-dom": "^19",
|
||||||
|
"eslint": "^9",
|
||||||
|
"eslint-config-next": "15.1.7",
|
||||||
|
"postcss": "^8",
|
||||||
|
"tailwindcss": "^3.4.1",
|
||||||
|
"typescript": "^5"
|
||||||
|
}
|
||||||
|
}
|
||||||
8
my-app/postcss.config.mjs
Normal file
8
my-app/postcss.config.mjs
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/** @type {import('postcss-load-config').Config} */
|
||||||
|
const config = {
|
||||||
|
plugins: {
|
||||||
|
tailwindcss: {},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
export default config;
|
||||||
1
my-app/public/file.svg
Normal file
1
my-app/public/file.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg fill="none" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 13.5V5.41a1 1 0 0 0-.3-.7L9.8.29A1 1 0 0 0 9.08 0H1.5v13.5A2.5 2.5 0 0 0 4 16h8a2.5 2.5 0 0 0 2.5-2.5m-1.5 0v-7H8v-5H3v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1M9.5 5V2.12L12.38 5zM5.13 5h-.62v1.25h2.12V5zm-.62 3h7.12v1.25H4.5zm.62 3h-.62v1.25h7.12V11z" clip-rule="evenodd" fill="#666" fill-rule="evenodd"/></svg>
|
||||||
|
After Width: | Height: | Size: 391 B |
1
my-app/public/globe.svg
Normal file
1
my-app/public/globe.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.27 14.1a6.5 6.5 0 0 0 3.67-3.45q-1.24.21-2.7.34-.31 1.83-.97 3.1M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.48-1.52a7 7 0 0 1-.96 0H7.5a4 4 0 0 1-.84-1.32q-.38-.89-.63-2.08a40 40 0 0 0 3.92 0q-.25 1.2-.63 2.08a4 4 0 0 1-.84 1.31zm2.94-4.76q1.66-.15 2.95-.43a7 7 0 0 0 0-2.58q-1.3-.27-2.95-.43a18 18 0 0 1 0 3.44m-1.27-3.54a17 17 0 0 1 0 3.64 39 39 0 0 1-4.3 0 17 17 0 0 1 0-3.64 39 39 0 0 1 4.3 0m1.1-1.17q1.45.13 2.69.34a6.5 6.5 0 0 0-3.67-3.44q.65 1.26.98 3.1M8.48 1.5l.01.02q.41.37.84 1.31.38.89.63 2.08a40 40 0 0 0-3.92 0q.25-1.2.63-2.08a4 4 0 0 1 .85-1.32 7 7 0 0 1 .96 0m-2.75.4a6.5 6.5 0 0 0-3.67 3.44 29 29 0 0 1 2.7-.34q.31-1.83.97-3.1M4.58 6.28q-1.66.16-2.95.43a7 7 0 0 0 0 2.58q1.3.27 2.95.43a18 18 0 0 1 0-3.44m.17 4.71q-1.45-.12-2.69-.34a6.5 6.5 0 0 0 3.67 3.44q-.65-1.27-.98-3.1" fill="#666"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>
|
||||||
|
After Width: | Height: | Size: 1.0 KiB |
1
my-app/public/next.svg
Normal file
1
my-app/public/next.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>
|
||||||
|
After Width: | Height: | Size: 1.3 KiB |
1
my-app/public/vercel.svg
Normal file
1
my-app/public/vercel.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1155 1000"><path d="m577.3 0 577.4 1000H0z" fill="#fff"/></svg>
|
||||||
|
After Width: | Height: | Size: 128 B |
1
my-app/public/window.svg
Normal file
1
my-app/public/window.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 2.5h13v10a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1zM0 1h16v11.5a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 0 12.5zm3.75 4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5M7 4.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m1.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5" fill="#666"/></svg>
|
||||||
|
After Width: | Height: | Size: 385 B |
18
my-app/tailwind.config.ts
Normal file
18
my-app/tailwind.config.ts
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
import type { Config } from "tailwindcss";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
content: [
|
||||||
|
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
|
||||||
|
"./components/**/*.{js,ts,jsx,tsx,mdx}",
|
||||||
|
"./app/**/*.{js,ts,jsx,tsx,mdx}",
|
||||||
|
],
|
||||||
|
theme: {
|
||||||
|
extend: {
|
||||||
|
colors: {
|
||||||
|
background: "var(--background)",
|
||||||
|
foreground: "var(--foreground)",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
plugins: [],
|
||||||
|
} satisfies Config;
|
||||||
27
my-app/tsconfig.json
Normal file
27
my-app/tsconfig.json
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ES2017",
|
||||||
|
"lib": ["dom", "dom.iterable", "esnext"],
|
||||||
|
"allowJs": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"strict": true,
|
||||||
|
"noEmit": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"module": "esnext",
|
||||||
|
"moduleResolution": "bundler",
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"isolatedModules": true,
|
||||||
|
"jsx": "preserve",
|
||||||
|
"incremental": true,
|
||||||
|
"plugins": [
|
||||||
|
{
|
||||||
|
"name": "next"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"paths": {
|
||||||
|
"@/*": ["./*"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
||||||
|
"exclude": ["node_modules"]
|
||||||
|
}
|
||||||
1
next.js
1
next.js
@ -1 +0,0 @@
|
|||||||
Subproject commit 47753fe7b3a0c9384cbf8d77d2bb27099401a136
|
|
||||||
@ -1 +0,0 @@
|
|||||||
Subproject commit 49ce16c0dd1b382edc1ec2cef6120345776d19b9
|
|
||||||
1
vercel
1
vercel
@ -1 +0,0 @@
|
|||||||
Subproject commit 7237472608e2d021c2cc41e5a45bd61b3cee3f31
|
|
||||||
Loading…
x
Reference in New Issue
Block a user