File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11'use client'
22
3- import { alumni , team } from '@/data/members'
3+ import { alumni , team , socialIcons } from '@/data/members'
44import { Container } from '@/components'
55import { Member as MemberType } from '@/components/Member/type'
66import { IconUsers , IconHeart , IconStar } from '@tabler/icons-react'
@@ -89,7 +89,7 @@ export default function Team() {
8989 className = "flex h-8 w-8 items-center justify-center rounded-lg bg-neutral-3/20 transition-all duration-300 hover:scale-110 hover:bg-base-6/20"
9090 >
9191 < Image
92- src = { `./assets/icons/socials/ ${ social . name } .svg` }
92+ src = { socialIcons ( social . name ) }
9393 alt = { social . name }
9494 width = { 16 }
9595 height = { 16 }
@@ -163,7 +163,7 @@ export default function Team() {
163163 className = "flex h-8 w-8 items-center justify-center rounded-lg bg-neutral-3/20 transition-all duration-300 hover:scale-110 hover:bg-base-6/20"
164164 >
165165 < Image
166- src = { `./assets/icons/socials/ ${ social . name } .svg` }
166+ src = { socialIcons ( social . name ) }
167167 alt = { social . name }
168168 width = { 16 }
169169 height = { 16 }
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ export const Header = () => {
4343
4444 < div className = "flex items-center gap-6 max-lg:hidden" >
4545 < ul className = "flex items-center justify-end gap-6" >
46- < MenuLi href = "#playground" > Playground</ MenuLi >
47- < MenuLi href = "#ecosystem" > Ecosystem</ MenuLi >
46+ < MenuLi href = "/ #playground" > Playground</ MenuLi >
47+ < MenuLi href = "/ #ecosystem" > Ecosystem</ MenuLi >
4848 < MenuLi href = "/team" > Team</ MenuLi >
4949 </ ul >
5050 < div className = "flex items-center gap-3" >
Original file line number Diff line number Diff line change 11import { Member , SocialIcons } from '@/components/Member/type'
22
33const socialIconsMap : SocialIcons = {
4- github : '. /assets/icons/socials/github.svg' ,
5- linkedin : '. /assets/icons/socials/linkedin.svg' ,
4+ github : '/assets/icons/socials/github.svg' ,
5+ linkedin : '/assets/icons/socials/linkedin.svg' ,
66}
77
88const socialIcons = ( name : string ) : string => {
You can’t perform that action at this time.
0 commit comments