Skip to content

Commit

Permalink
Merge pull request #21 from kohta9521/develop
Browse files Browse the repository at this point in the history
addmap
  • Loading branch information
kohta9521 authored Nov 19, 2023
2 parents 741bab3 + b581d7c commit 6c1fadb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions src/app/map/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ import React from 'react'

// scss import
import styles from './Map.module.scss'
import SubPageHero from '@/components/templates/SubPageHero'
import MainLayout from '@/components/templates/MainLayout'


// components import
import SubPageHero from '@/components/templates/SubPageHero'
import MainLayout from '@/components/templates/MainLayout'

// sample
import Maps from '../../components/Map.jsx'


const Map = () => {
Expand All @@ -24,8 +25,8 @@ const Map = () => {
subTitle='このサービスのメインとも言えるマップ機能。このページでは皆さんが作り上げていくマップについてより詳しくご覧いただけます。'
pageName='MAP'
>
<h1>this space is map children space</h1>
</SubPageHero>
<Maps />
</MainLayout>

</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Map.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const center = {

const zoom = 18;

const Map = () => {
const Maps = () => {
return (
<LoadScript googleMapsApiKey={process.env.NEXT_PUBLIC_GOOGLE_MAPS_API_KEY}>
<GoogleMap
Expand All @@ -26,4 +26,4 @@ const Map = () => {
);
};

export default Map;
export default Maps;

0 comments on commit 6c1fadb

Please sign in to comment.