Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 12 additions & 17 deletions src/pages/get-started/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,11 @@ function GetStartedHeader() {

return (
<header className={styles.heroBanner}>
<div className={styles.heroOverlay}></div>
<div className="container">
<div className={styles.heroContent}>
<motion.h1
className="hero__title"
className={`hero__title ${styles.heroTitle}`}
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.8, ease: "easeOut" }}
Expand All @@ -137,7 +138,7 @@ function GetStartedHeader() {
</motion.h1>

<motion.p
className="hero__subtitle"
className={`hero__subtitle ${styles.heroSubtitle}`}
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.8, delay: 0.2, ease: "easeOut" }}
Expand All @@ -152,21 +153,15 @@ function GetStartedHeader() {
animate={{ opacity: 1 }}
transition={{ delay: 0.4 }}
>
<div className={styles.typingText}>
<span className={styles.staticText}>Start</span>
<div className={styles.typingAnimation}>
{texts.map((text, i) => (
<span
key={i}
className={`${styles.typingWord} ${
i === textIndex ? styles.visible : ""
}`}
>
{text}
</span>
))}
</div>
<span className={styles.staticText}>Today</span>
<div className={styles.staticText}>
Copy link

Copilot AI Aug 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The outer div has the same CSS class (staticText) as its first child span element. This creates redundant class application and could lead to unintended styling conflicts.

Suggested change
<div className={styles.staticText}>
<div>

Copilot uses AI. Check for mistakes.

<span className={styles.staticText}>Start&nbsp;</span>
<span className={styles.dynamicText}>
<span className={styles.typingWord}>Code</span>
<span className={styles.typingWord}>Build</span>
<span className={styles.typingWord}>Deploy</span>
<span className={styles.typingWord}>Learn</span>
</span>
<span className={styles.staticText}>&nbsp;Today</span>
</div>
</motion.div>

Expand Down
Loading
Loading