'use client'
import days from '~/components/LaunchWeek/7/lw7_days'
import { motion } from 'framer-motion'
import Image from 'next/image'
import Link from 'next/link'
import React from 'react'
const BlogLinks = () => {
const activeDays = days.filter((day) => Date.parse(day.publishedAt) <= Date.now())
if (!activeDays.length) return null
return (
More Launch Week 7
{activeDays.map((day) =>
day.steps?.map((step, i) => {
return (
<>
{!step.hideInBlog && }
{step.steps?.map(
(nestedStep, i) => !nestedStep.hideInBlog &&
)}
>
)
})
)}
)
}
const StepCard = ({ step }: { step: any }) => (
{step.thumb && (
)}
)
const defaultEase = [0.5, 0, 0.35, 1]
const hoverVariant = {
default: { scale: 1, ease: defaultEase, duration: 0.2 },
hover: {
scale: 1.03,
transition: {
duration: 0.4,
ease: defaultEase,
},
},
}
export default BlogLinks