Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Sauer, Felix committed Dec 1, 2024
1 parent 613674b commit c3d52d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Reviews.astro
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const renderStars = (rating: number): string => {
<div class="container">
{reviews.map((review, index) => (
<div class={`item ${index === 0 ? "active" : ""}`}>
<div class="review">
<div class="review fade">
<a href={review.author_url} target="_blank">
<h3>{review.author_name}</h3>
</a>
Expand Down Expand Up @@ -134,7 +134,7 @@ const renderStars = (rating: number): string => {
right: 0;
}

.ac tive {
.active {
display: block;
}

Expand All @@ -145,7 +145,7 @@ const renderStars = (rating: number): string => {

@keyframes fade {
from {
opacity: .4
opacity: 0
}
to {
opacity: 1
Expand Down

0 comments on commit c3d52d2

Please sign in to comment.