Skip to content

Commit ff3c2dd

Browse files
authored
Merge pull request #19 from druvkotwani/someFix
File and Folder Structure improved
2 parents 0d4829c + 0f935ab commit ff3c2dd

File tree

18 files changed

+30
-77
lines changed

18 files changed

+30
-77
lines changed

client/src/App.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from 'react'
22
import { BrowserRouter, Routes, Route } from 'react-router-dom'
33
import Home from './components/Home'
4-
import LeetCodeWrapped from './components/LeetCodeWrapped'
5-
import Worth from './components/Worth'
4+
import LeetCodeWrapped from './components/Wrapped/LeetCodeWrapped'
5+
import Worth from './components/Worth/Worth'
66

77
const App = () => {
88
return (

client/src/components/AboutForStat.jsx

Lines changed: 0 additions & 46 deletions
This file was deleted.

client/src/components/Home.jsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
import Navbar from "../components/Navbar";
1+
import Navbar from "./Navbar/Navbar";
22
import Stat from "../components/Stat";
33
import StatsGenerator from "../components/StatsGenerator";
44
import { useEffect, useState } from "react";
55
import { collection, getDocs, onSnapshot } from "firebase/firestore";
66
import { firestore } from "../firebase";
77
import { motion } from "framer-motion";
8-
import LeetCodeAlert from "../components/LeetCodeAlert";
98
import "../App.css";
10-
import WorthAlert from "./WorthAlert";
11-
import Skeleton from "./Skeleton";
9+
import WorthAlert from "./Worth/WorthAlert";
10+
import Skeleton from "./Skeletons/Skeleton";
1211

1312
export default function Home() {
1413
const [showStats, setShowStats] = useState(false);
File renamed without changes.

client/src/components/About.jsx renamed to client/src/components/Profile/About/SocialLinks.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { motion } from 'framer-motion'
2-
const About = ({ result, index }) => {
2+
const SocialLinks = ({ result, index }) => {
33
const random = Math.floor(Math.random() * 1)
44

55
function truncateText(text, maxLength) {
@@ -89,4 +89,4 @@ const About = ({ result, index }) => {
8989
)
9090
}
9191

92-
export default About
92+
export default SocialLinks

client/src/components/Circle.jsx renamed to client/src/components/Profile/Circle&Questions/Circle.jsx

File renamed without changes.

client/src/components/Line.jsx renamed to client/src/components/Profile/Circle&Questions/Line.jsx

File renamed without changes.

client/src/components/Line2.jsx renamed to client/src/components/Profile/Circle&Questions/Line2.jsx

File renamed without changes.

client/src/components/Questions.jsx renamed to client/src/components/Profile/Circle&Questions/Questions.jsx

File renamed without changes.

0 commit comments

Comments
 (0)