Skip to content

Commit

Permalink
fix: removed unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenbupe committed Aug 13, 2024
1 parent 3375f88 commit 72fce62
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/components/Anchor.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import { cn } from "../lib/utils";
import { cva, type VariantProps } from "class-variance-authority";
import { type VariantProps } from "class-variance-authority";
import type { HTMLAttributes } from "astro/types";
import { buttonVariants } from "./Button.astro";
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/ExpandableHoloJobCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export function ExpandableHoloJobCard({
) : null}
</AnimatePresence>
<ul className={listClassName}>
{cards.map((card, index) => (
{cards.map((card) => (
<motion.li
layoutId={`card-${card.id}-${id}`}
key={card.title}
Expand Down
4 changes: 2 additions & 2 deletions src/components/FlipWords.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";
import React, { useCallback, useEffect, useRef, useState } from "react";
import { AnimatePresence, motion, LayoutGroup } from "framer-motion";
import { useCallback, useEffect, useState } from "react";
import { AnimatePresence, motion } from "framer-motion";
import { cn } from "../lib/utils";

export const FlipWords = ({
Expand Down
2 changes: 1 addition & 1 deletion src/components/MeteorAnimation.astro
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const meteors = [...new Array(number)].map(() => ({

<>
{
[...meteors].map((style, idx) => (
[...meteors].map((style) => (
<span
class={cn(
"pointer-events-none absolute left-1/2 top-1/2 size-0.5 rotate-[215deg] animate-meteor rounded-full bg-slate-500 shadow-[0_0_0_1px_#ffffff10]"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Particles.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use client";
import React, { useId, useMemo } from "react";
import { useId } from "react";
import { useEffect, useState } from "react";
import TsParticles, { initParticlesEngine } from "@tsparticles/react";
import type { Container, SingleOrMultiple } from "@tsparticles/engine";
Expand Down
2 changes: 1 addition & 1 deletion src/sections/About.astro
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ import profileImage from "../assets/profile.webp";
"Mobile development",
"Backend development",
"Machine learning",
].map((item, index) => (
].map((item) => (
<li class="text-primary mt-2 ml-2 flex items-center">
<Icon name="tabler:chevron-right" class="inline" />
<span class="ml-2">{item}</span>
Expand Down
4 changes: 2 additions & 2 deletions src/sections/Contact.astro
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
import Anchor from "../components/Anchor.astro";
import BackgroundChess from "../components/BackgroundChess.astro";
import BackgroundRetroGrid from "../components/BackgroundRetroGrid.astro";
import { FlipWords } from "../components/FlipWords";
import Section from "../components/Section.astro";
import { mailUrl } from "../constants/site";
---

<div class="relative w-full flex flex-col h-[80vh] overflow-hidden">
<BackgroundChess />
<BackgroundRetroGrid />

<Section
id="jobs"
Expand Down
1 change: 0 additions & 1 deletion src/sections/Hero.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
import Button from "../components/Button.astro";
import Section from "../components/Section.astro";
import HeroAnimation from "../components/MeteorAnimation.astro";
import { Icon } from "astro-icon/components";
Expand Down
2 changes: 0 additions & 2 deletions tailwind.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import plugin from 'tailwindcss';

/** @type {import('tailwindcss').Config} */
const {
default: flattenColorPalette,
Expand Down

0 comments on commit 72fce62

Please sign in to comment.