Skip to content

Commit

Permalink
Merge pull request #233 from codeforjapan/feat/add-jva-campaign-banner
Browse files Browse the repository at this point in the history
refactor: add jva campaigns
  • Loading branch information
ayuki-joto authored Sep 16, 2023
2 parents e1c0648 + 69cc4cd commit 1d7b6cc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
images: {
domains: ['jibungoto-planet-images.s3.ap-northeast-1.amazonaws.com']
},
}

module.exports = nextConfig
9 changes: 8 additions & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,14 @@ import QuestionContainer from 'components/organisms/questions/Container'
import { termOfServices } from 'constants/termOfService'
import styles from 'styles/Home.module.scss'

const campaigns: (CampaignItem | never)[] = []
const campaigns: (CampaignItem | never)[] = [
{
imgSrc: 'https://jibungoto-planet-images.s3.ap-northeast-1.amazonaws.com/Campaign/CP-jva.png',
description: '日本代表選手サイン入りタンブラーがもらえる!' + 'じぶんごとプラネットへの参加はコチラ',
alt: 'バレーワールドカップ',
url: 'https://jva-kankyo.jibungoto-planet.jp/?show_terms=true'
}
]

const Home: FC = () => {
const [isMobile] = useMediaQuery('(max-width: 480px)')
Expand Down

0 comments on commit 1d7b6cc

Please sign in to comment.