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:
19
pages/components/Footer/BlueRibbon.js
Normal file
19
pages/components/Footer/BlueRibbon.js
Normal 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
|
@@ -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
|
Reference in New Issue
Block a user