Skip to content

Commit

Permalink
Merge pull request #6 from Koreawide-Developer-Conference/dev
Browse files Browse the repository at this point in the history
Fix : Image
  • Loading branch information
ChanghyeonYoon authored Aug 15, 2024
2 parents 8def7da + 6fc4a59 commit fad7687
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion components/2024/ui/infiniteMovingCards/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use client";

import Image from "next/image";
import React, { useEffect, useState } from "react";

import { Speaker } from "@/constants";
Expand Down Expand Up @@ -94,7 +95,13 @@ export const InfiniteMovingCards = ({
className='user-select-none -z-1 pointer-events-none absolute -left-0.5 -top-0.5 h-[calc(100%_+_4px)] w-[calc(100%_+_4px)]'
></div>

<img src={item.img} alt='' className='rounded-2xl w-[280px] h-[210px] object-cover mb-3' />
<Image
width={280}
height={210}
src={item.img}
alt={item.name}
className='rounded-2xl w-[280px] h-[210px] object-cover mb-3'
/>
<span className='relative z-20 text-deepGreen-100 text-xl font-bold'>{item.name}</span>
<span className='text-lg text-deepGreen-100 font-normal'>{item.affiliation}</span>
<div className='w-[21px] h-[14px] my-3'>
Expand Down
2 changes: 1 addition & 1 deletion constants/speaker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const SPEAKERS: Speaker[] = [
name: "Cristian Díaz",
affiliation: "ㅤ",
quote: "Exploring Accessible Spatial Interactions",
img: `${prefix}/assets/2024/images/speaker/Díaz.jpg`,
img: `${prefix}/assets/2024/images/speaker/Diaz.jpg`,
},
{
name: "Pavel Zak",
Expand Down
File renamed without changes

0 comments on commit fad7687

Please sign in to comment.