Skip to content

Commit 436a7ee

Browse files
authored
Merge pull request #1 from pythoncameroon/develop
Restructured codebase
2 parents 09212a6 + f0cd8de commit 436a7ee

16 files changed

Lines changed: 45 additions & 28 deletions

package-lock.json

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/App.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
import {About} from "./components/About";
2-
import {FAQ} from "./components/FAQ";
3-
import {Footer} from "./components/Footer";
4-
import {Hero} from "./components/Hero";
5-
import {HowItWorks} from "./components/HowItWorks";
6-
import {Navbar} from "./components/Navbar";
7-
import {Newsletter} from "./components/Newsletter";
8-
import {ScrollToTop} from "./components/ScrollToTop";
9-
import {Services} from "./components/Services";
10-
import {Sponsors} from "./components/Sponsors";
11-
import {Team} from "./components/Team";
12-
import {Applications} from "./components/Testimonials";
1+
import {About} from "@/containers/About";
2+
import {FAQ} from "@/containers/FAQ";
3+
import {Footer} from "@/layouts/Footer";
4+
import {Hero} from "@/containers/Hero";
5+
import {HowItWorks} from "@/containers/HowItWorks";
6+
import {Navbar} from "@/layouts/Navbar";
7+
import {Newsletter} from "@/containers/Newsletter";
8+
import {ScrollToTop} from "@/components/ScrollToTop";
9+
import {Services} from "@/containers/Services";
10+
import {Sponsors} from "@/containers/Sponsors";
11+
import {Team} from "@/containers/Team";
12+
import {Applications} from "@/containers/Testimonials";
1313
import "./App.css";
1414

1515

@@ -25,7 +25,7 @@ function App() {
2525
<Applications/>
2626
<Team/>
2727
<Newsletter/>
28-
<FAQ/>
28+
<FAQ/>
2929
<Footer/>
3030
<ScrollToTop/>
3131
</>

src/components/mode-toggle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
DropdownMenuItem,
66
DropdownMenuTrigger,
77
} from "@/components/ui/dropdown-menu";
8-
import { useTheme } from "@/components/theme-provider";
8+
import { useTheme } from "@/providers/theme-provider";
99
import { Moon, Sun } from "lucide-react";
1010

1111
export function ModeToggle() {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useState, useRef } from "react";
22
import { motion, useInView, AnimatePresence } from "framer-motion";
3-
import { Statistics } from "./Statistics";
4-
import pilot from "../assets/pilot.png";
3+
import { Statistics } from "@/components/Statistics";
4+
import pilot from "@/assets/pilot.png";
55

66
export const About = () => {
77
const sectionRef = useRef(null);
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useRef } from "react";
2-
import { Card, CardContent, CardHeader, CardTitle } from "./ui/card";
3-
import { MedalIcon, MapIcon, PlaneIcon, GiftIcon } from "../components/Icons";
2+
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
3+
import { MedalIcon, MapIcon, PlaneIcon, GiftIcon } from "@/components/Icons";
44
import { motion, useInView, AnimatePresence } from "framer-motion";
55

66
interface FeatureProps {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useState, useRef } from "react";
2-
import { Button } from "./ui/button";
3-
import { Input } from "./ui/input";
2+
import { Button } from "@/components/ui/button";
3+
import { Input } from "@/components/ui/input";
44
import { motion, useInView, AnimatePresence } from "framer-motion";
55

66
export const Newsletter = () => {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useRef } from "react";
2-
import { Card, CardDescription, CardHeader, CardTitle } from "./ui/card";
3-
import { ChartIcon, WalletIcon, MagnifierIcon } from "./Icons";
2+
import { Card, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
3+
import { ChartIcon, WalletIcon, MagnifierIcon } from "@/components/Icons";
44
import cubeLeg from "../assets/cube-leg.png";
55
import { motion, useInView, AnimatePresence } from "framer-motion";
66

0 commit comments

Comments
 (0)