0
0
mirror of https://github.com/yude-jp/yude.jp synced 2025-10-13 03:38:36 +09:00

Modularize banners

This commit is contained in:
2021-08-09 11:04:26 +09:00
parent ba2a8a365c
commit 859aa2bbab
3 changed files with 36 additions and 27 deletions

View File

@@ -0,0 +1,19 @@
// Next.js
import Link from 'next/link'
import Image from 'next/image'
const happybusy = (props) => {
return (
<Link href="https://www.eff.org/pages/blue-ribbon-campaign">
<a>
<Image
src="/images/brstrip.gif"
width={150}
height={41}
/>
</a>
</Link>
)
}
export default happybusy

View File

@@ -1,18 +1,19 @@
// Next.js
import Link from 'next/link'
import Image from 'next/image'
const happybusy = (props) => {
const HappyBusy = (props) => {
return (
<Link href="https://sites.google.com/site/happybusy/">
<a>
<Image
src="/images/busy_banner.png"
width={200}
height={42}
/>
</a>
<a>
<Image
src="/images/busy_banner.png"
width={200}
height={42}
/>
</a>
</Link>
)
}
export default happybusy
export default HappyBusy