Skip to content

Commit 7b277a1

Browse files
authored
Update TimelineCard.tsx
1 parent 4176af7 commit 7b277a1

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

components/sections/Experience/TimelineCard.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { ExternalLinkIcon } from "@/components/icons/externalLink";
55
import { CheckCircle2, Calendar, MapPin } from "lucide-react";
66
import type { Education, Experience, ExperienceTech } from "@/lib/types/portfolio-api";
77
import { getTranslations } from "@/hooks/getTranslations";
8-
import { SpecialText } from "@/components/ui/special-text";
98

109
type TimelineCardProps =
1110
| { kind: "experience"; data: Experience; locale: string; isHighlighted?: boolean }
@@ -103,16 +102,16 @@ export default async function TimelineCard({ kind, data, locale, isHighlighted }
103102
rel="noopener noreferrer"
104103
className="inline-flex items-start gap-1 text-[15px] font-semibold text-foreground hover:text-accent transition-colors"
105104
>
106-
<SpecialText inView once speed={18} delay={0.05}>
105+
<h1>
107106
{title}
108-
</SpecialText>
107+
</h1>
109108
<ExternalLinkIcon className="mt-1 size-3 shrink-0" />
110109
</Link>
111110
) : (
112111
<h3 className="text-[15px] font-semibold text-foreground leading-snug">
113-
<SpecialText inView once speed={18} delay={0.05}>
112+
<span>
114113
{title}
115-
</SpecialText>
114+
</span>
116115
</h3>
117116
)}
118117

@@ -159,4 +158,4 @@ export default async function TimelineCard({ kind, data, locale, isHighlighted }
159158
</div>
160159
</div>
161160
);
162-
}
161+
}

0 commit comments

Comments
 (0)