Skip to content

Commit 92a2e0c

Browse files
remove comments and spaces
1 parent 7eafcc7 commit 92a2e0c

4 files changed

Lines changed: 5 additions & 8 deletions

File tree

src/components/header/header.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ html.theme-dark .chh__header-content p {
133133
z-index: 1;
134134
}
135135

136+
.chh__header-content__input button > .chh__header-content__input--link {
137+
display: flex;
138+
justify-content: center;
139+
}
140+
136141
.chh__header-content__input button::after {
137142
content: "";
138143
position: absolute;

src/pages/podcasts/details.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ export default function PodcastDetails(): ReactElement {
212212
<span className="action-icon">{isFavorited ? "❤️" : "🤍"}</span>
213213
</button>
214214
</div>
215-
216215
</div>
217216

218217
{/* Main Content */}

src/pages/podcasts/index.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,6 @@ html[data-theme='light'] {
364364
animation: fadeInUp 0.6s ease-out both;
365365
}
366366

367-
368367
.enhanced-podcast-card::before {
369368
content: '';
370369
position: absolute;
@@ -411,7 +410,6 @@ html[data-theme='light'] {
411410
pointer-events: auto;
412411
}
413412

414-
415413
.enhanced-podcast-card:hover .card-actions {
416414
opacity: 1;
417415
}
@@ -441,7 +439,6 @@ html[data-theme='light'] {
441439
transform: scale(0.95);
442440
}
443441

444-
445442
.action-btn {
446443
width: 36px;
447444
height: 36px;
@@ -457,7 +454,6 @@ html[data-theme='light'] {
457454
user-select: none;
458455
}
459456

460-
461457
.action-btn:hover {
462458
background: var(--podcast-bg-card-hover);
463459
transform: scale(1.1);

src/pages/podcasts/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ export default function Podcasts(): ReactElement {
103103
const [selectedFilter, setSelectedFilter] = useState<
104104
"all" | "episode" | "show" | "playlist"
105105
>("all");
106-
// ADD THIS NEW STATE FOR FAVORITES
107106
const [favorites, setFavorites] = useState<string[]>(() => {
108107
// Load favorites from localStorage on component mount
109108
if (typeof window !== "undefined") {
@@ -147,7 +146,6 @@ export default function Podcasts(): ReactElement {
147146
}
148147
};
149148

150-
// ADD THIS NEW FUNCTION FOR FAVORITES
151149
const handleFavorite = (podcast: PodcastData, event: React.MouseEvent) => {
152150
// Prevent card click when clicking favorite button
153151
event.stopPropagation();
@@ -319,7 +317,6 @@ export default function Podcasts(): ReactElement {
319317
}}
320318
>
321319
{favorites.includes(podcast.id) ? '❤️' : '🤍'}
322-
323320
</button>
324321
<button className="action-btn share" title="Share podcast" onClick={(e) => {
325322
e.stopPropagation();

0 commit comments

Comments
 (0)