Skip to content

Commit

Permalink
💫 Removed initial animation for featured events
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario-SO committed Aug 2, 2024
1 parent d923adc commit 8baee69
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/app/app/explore/components/FeaturedEvents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
CardHeader,
CardTitle,
} from '@/components/ui/card'

import { useState, useEffect } from 'react'

interface Event {
Expand Down Expand Up @@ -96,7 +97,7 @@ const FeaturedEvents = () => {
<div className="grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4">
{events.map((event, index) => {
const org = organizations[event.organizationId]
const eventUrl = `https://streameth.org/${org?.slug || event.slug}`
const eventUrl = `https://streameth.org/${org.slug}`

return (
<Link
Expand All @@ -105,7 +106,7 @@ const FeaturedEvents = () => {
target="_blank"
rel="noopener noreferrer">
<Card
className="flex h-full flex-col overflow-hidden transition-all duration-300 ease-out animate-in fade-in zoom-in hover:scale-105"
className="flex h-full flex-col overflow-hidden duration-300 ease-out hover:scale-105"
style={{ animationDelay: `${index * 150}ms` }}>
<CardHeader className="flex-shrink-0 p-0">
<img
Expand Down

0 comments on commit 8baee69

Please sign in to comment.