Skip to content

Commit

Permalink
refactor(import): update import from mirrorful
Browse files Browse the repository at this point in the history
  • Loading branch information
Ikram-Maulana committed Jan 25, 2024
1 parent 844c8b1 commit 5c528fd
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import "@/styles/globals.css";
import { RootLayoutProps } from "@/types";
import "@total-typescript/ts-reset";
import { Metadata, Viewport } from "next";
import { Tokens } from "../../mirrorful/.mirrorful/theme";
import { Tokens } from "mirrorful/.mirrorful/theme";

export const metadata: Metadata = {
title: "Ikram Maulana",
Expand Down
2 changes: 1 addition & 1 deletion src/components/button-accent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { ButtonAccentProps } from "@/types";
import { useHover } from "@mantine/hooks";
import Link from "next/link";
import { Tokens } from "../../mirrorful/.mirrorful/theme";
import { Tokens } from "mirrorful/.mirrorful/theme";
import { buttonVariants } from "./ui/button";

export default function ButtonAccent({
Expand Down
2 changes: 1 addition & 1 deletion src/components/contact-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useHover, useMouse } from "@mantine/hooks";
import Image from "next/image";
import Link from "next/link";
import { useEffect } from "react";
import { Tokens } from "../../mirrorful/.mirrorful/theme";
import { Tokens } from "mirrorful/.mirrorful/theme";
import SectionHeader from "./section-header";

export default function ContactSection() {
Expand Down
2 changes: 1 addition & 1 deletion src/components/main-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Image from "next/image";
import Link from "next/link";
import { useSelectedLayoutSegment } from "next/navigation";
import { useEffect, useState } from "react";
import { Tokens } from "../../mirrorful/.mirrorful/theme";
import { Tokens } from "mirrorful/.mirrorful/theme";
import ButtonAccent from "./button-accent";
import MobileNav from "./mobile-nav";
import { Button } from "./ui/button";
Expand Down
2 changes: 1 addition & 1 deletion src/components/mobile-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useLockBody } from "@/hooks/use-lock-body";
import { cn } from "@/lib/utils";
import { MobileNavProps } from "@/types";
import Link from "next/link";
import { Tokens } from "../../mirrorful/.mirrorful/theme";
import { Tokens } from "mirrorful/.mirrorful/theme";
import { Separator } from "./ui/separator";

export default function MobileNav({ items, children }: MobileNavProps) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/project-card.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ProjectCardProps } from "@/types";
import { ExternalLink, Github } from "lucide-react";
import { Tokens } from "../../mirrorful/.mirrorful/theme";
import { Tokens } from "mirrorful/.mirrorful/theme";
import ButtonAccent from "./button-accent";
import ImageScroll from "./image-scroll";

Expand Down
2 changes: 1 addition & 1 deletion src/components/scroll-top.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";

import ScrollToTop from "react-scroll-to-top";
import { Tokens } from "../../mirrorful/.mirrorful/theme";
import { Tokens } from "mirrorful/.mirrorful/theme";

export default function ScrollTop() {
return (
Expand Down
4 changes: 2 additions & 2 deletions src/components/section-header.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SectionHeaderProps } from "@/types";
import { Tokens } from "../../mirrorful/.mirrorful/theme";
import { Tokens } from "mirrorful/.mirrorful/theme";

export default function SectionHeader({
title,
Expand All @@ -13,7 +13,7 @@ export default function SectionHeader({
>
{title}
</p>
<h2 className="scroll-m-20 text-2xl font-extrabold tracking-tight transition-colors first:mt-0 text-tprimary font-montserrat">
<h2 className="text-2xl font-extrabold tracking-tight transition-colors scroll-m-20 first:mt-0 text-tprimary font-montserrat">
{description}
</h2>
</div>
Expand Down
10 changes: 5 additions & 5 deletions src/components/tech-list.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import { TechListProps } from "@/types";
import Image from "next/image";
import { Tokens } from "../../mirrorful/.mirrorful/theme";
import {
Tooltip,
TooltipContent,
TooltipProvider,
TooltipTrigger,
} from "../components/ui/tooltip";
} from "@/components/ui/tooltip";
import { TechListProps } from "@/types";
import Image from "next/image";
import { Tokens } from "../../mirrorful/.mirrorful/theme";

export default function TechList({ items }: TechListProps) {
return (
<>
{items?.length ? (
<div className="flex justify-center items-center flex-wrap gap-6">
<div className="flex flex-wrap items-center justify-center gap-6">
{items.map((item, index) => (
<TooltipProvider key={index}>
<Tooltip>
Expand Down

0 comments on commit 5c528fd

Please sign in to comment.