File tree Expand file tree Collapse file tree 6 files changed +22
-2
lines changed Expand file tree Collapse file tree 6 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 11'use client'
22
3- import { People } from '@/_shared'
3+ import { BannerBox , People } from '@/_shared'
44import '@hamsurang/ui/globals.css'
55import { postMessageToParent } from '@hamsurang/utils'
6+ import Image from 'next/image'
67import { usePathname , useSearchParams } from 'next/navigation'
78import { type PropsWithChildren , useEffect } from 'react'
89
@@ -34,6 +35,14 @@ export default function PeopleLayout({
3435 </ aside >
3536
3637 < section className = "flex flex-col gap-4 flex-grow" >
38+ < div className = "flex gap-2 mobile:flex-col" >
39+ < BannerBox href = "https://hamsurang.notion.site/7bf061d6b6f14e80803ad00388299c81?pvs=4" >
40+ < Image fill src = "/clean-ping.png" alt = "" />
41+ </ BannerBox >
42+ < BannerBox href = "https://hamsurang.notion.site/856b66d7d9824521acfc529e8e6b2f86?pvs=4" >
43+ < Image fill src = "/under-ping.png" alt = "" />
44+ </ BannerBox >
45+ </ div >
3746 { readme }
3847 { children }
3948 </ section >
Original file line number Diff line number Diff line change 1+ import type { PropsWithChildren } from 'react'
2+
3+ export const BannerBox = ( { children, href } : PropsWithChildren < { href : string } > ) => {
4+ return (
5+ < a href = { href } className = "relative aspect-[4] flex-grow rounded-lg overflow-hidden" >
6+ { children }
7+ </ a >
8+ )
9+ }
Original file line number Diff line number Diff line change 1+ export { BannerBox } from './BannerBox'
Original file line number Diff line number Diff line change 11export * from './ActivityLog'
2+ export { BannerBox } from './BannerBox'
23export * from './MBTIOverview'
34export { People } from './People'
45export { Profile } from './Profile'
5- export * from './Repository'
66export * from './Readme'
7+ export * from './Repository'
You can’t perform that action at this time.
0 commit comments