Skip to content

Commit 2fb36ac

Browse files
committed
Completely restructure project
1 parent 30c7d52 commit 2fb36ac

38 files changed

+101
-91
lines changed

src/assets/state/missions.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { StaticImageData } from "next/image";
44
import ModernPicture from "@/assets/images/content/missions/modern.webp";
55
import FastAndFeaturePackedPicture from "@/assets/images/content/missions/fast-and-feature-packed.webp";
66
import CrossPlatformPicture from "@/assets/images/content/missions/cross-platform.webp";
7-
import Link from "@/components/navigation/Link";
7+
import Link from "@/components/controls/Link";
88

99
export interface IMission {
1010
title: string;
@@ -24,7 +24,7 @@ const missions: IMission[] = [
2424
Many Git clients have a similar look and feel, and the interface can be intimidating for new users.
2525
</p>
2626
<p>
27-
With Commit Rocket we plan to {/*<Link href="/blog/3/designs" color="primary" underline>innovate and modernize the design of Git clients</Link>*/} innovate and modernize the design of Git clients to
27+
With Commit Rocket we plan to {/*<Link href="/blog/3/designs" color="primary" underline>innovate and modernize the design of Git clients</Link>*/} innovate and modernize the design of Git clients to
2828
create an attractive and user-friendly interface that will appeal to both beginners and experienced users alike.
2929
</p>
3030
</>

src/assets/state/roadmap.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import Heading from "@/components/layout/Heading";
2-
import Link from "@/components/navigation/Link";
1+
import Heading from "@/components/content/Heading";
2+
import Link from "@/components/controls/Link";
33
import { ReactNode } from "react";
44

55
export interface IRoadmapItem {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Link from "./Link";
1+
import Link from "../controls/Link";
22

33
import Logo from "@/assets/images/brand/logo-200x200.webp";
44

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Bars3Icon from "@heroicons/react/24/solid/Bars3Icon";
44

55
import Logo from "@/assets/images/brand/logo-200x200.webp";
66

7-
import Link from "./Link";
7+
import Link from "../controls/Link";
88
import Button from "../controls/Button";
99
import NavLink from "./NavLink";
1010
import useOutsideClick from "@/hooks/useOutsideClick";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { twMerge } from "tailwind-merge";
33
import ChevronDownIcon from "@heroicons/react/24/solid/ChevronDownIcon";
44

55
import { style as navlinkStyle } from "./NavLink";
6-
import { style as linkStyle } from "./Link";
6+
import { style as linkStyle } from "../controls/Link";
77
import useOutsideClick from "@/hooks/useOutsideClick";
88
import useHover from "@/hooks/useHover";
99

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { cva } from "class-variance-authority";
22
import { ReactNode } from "react";
3-
import Link from "./Link";
3+
import Link from "../controls/Link";
44

55
export interface NavLinkProps {
66
href: string,

src/components/pages/about/Project.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export interface ProjectProps extends IProject {
1010
const Project = ({ title, description, thumbnail, thumbnailAlt, href, linkText, linkRel }: ProjectProps) => {
1111

1212
const onImageClick = useCallback(async () => {
13-
const { modal } = await import("@/utils/swal");
13+
const { default: modal } = await import("@/utils/alerts/modal");
1414

1515
modal.fire({
1616
title: thumbnailAlt,

src/components/pages/blog/ArticleBrief.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import BookIcon from "@heroicons/react/24/outline/BookOpenIcon";
44
import { motion, Variants } from "framer-motion";
55

66
import LinkButton from "@/components/controls/LinkButton";
7-
import Link from "@/components/navigation/Link";
7+
import Link from "@/components/controls/Link";
88

99
import useSSGSafe from "@/hooks/useSSGSafe";
1010

0 commit comments

Comments
 (0)