diff --git a/src/components/molecules/HeaderMenu/index.tsx b/src/components/molecules/HeaderMenu/index.tsx index bf33d7cf..5e176a29 100644 --- a/src/components/molecules/HeaderMenu/index.tsx +++ b/src/components/molecules/HeaderMenu/index.tsx @@ -2,7 +2,7 @@ import React from 'react' import { Typography, Box } from '@mui/material' import { useRouter } from 'next/router' import { HeaderItemColor, HeaderMenuItem, HeaderItemBehaviorStyles } from 'src/components/organisms/Header' -import Link from 'next/link' +// import Link from 'next/link' export interface HeaderMenuProps { menuList: HeaderMenuItem[] @@ -17,6 +17,8 @@ export const HeaderMenu = ({ menuList, itemColor, itemBehaviorStyles }: HeaderMe {menuList.map((list, i) => { return list.href ? ( + // TODO(maito1201): Enable this conditional branch when screen transition is implemented. + /* list.href === '/' ? ( @@ -33,21 +35,22 @@ export const HeaderMenu = ({ menuList, itemColor, itemBehaviorStyles }: HeaderMe ) : ( - // TODO(taigakiyokawa): Revert using `next/link` when pages have implemented. - - - {list.label} - - - ) + */ + // TODO(taigakiyokawa): Revert using `next/link` when pages have implemented. + + + {list.label} + + ) : ( + // ) {list.label} diff --git a/src/components/organisms/Header/index.tsx b/src/components/organisms/Header/index.tsx index 70879c48..65a2e118 100644 --- a/src/components/organisms/Header/index.tsx +++ b/src/components/organisms/Header/index.tsx @@ -54,7 +54,8 @@ export const Header = () => { const menuList: HeaderMenuItem[] = useMemo(() => { return [ - { href: '/', label: 'Home' }, + // TODO(maito1201): Display Home label when screen transition is implemented + // { href: '/', label: 'Home' }, // TODO(taigakiyokawa): Revert to `/sessions` when the page has implemented. { href: 'https://sessionize.com/api/v2/jmtn42ls/view/Sessions', label: 'Sessions' }, // TODO(taigakiyokawa): Revert to `/timetable` when the page has implemented. diff --git a/src/components/pages/PageTop/index.tsx b/src/components/pages/PageTop/index.tsx index 27811937..a8721ef5 100644 --- a/src/components/pages/PageTop/index.tsx +++ b/src/components/pages/PageTop/index.tsx @@ -1,15 +1,15 @@ import type { NextPage } from 'next' import { Layout } from 'src/components/commons' import { useTranslation } from 'react-i18next' -import { useSessionize } from 'src/modules/sessionize/hooks' +// import { useSessionize } from 'src/modules/sessionize/hooks' import { MainVisual, TopDescription, SponsorsSection, CommunityBoothSection } from 'src/components/organisms' export const PageTop: NextPage = () => { const { t } = useTranslation() // TODO(@maito1201): 取得したデータを基にセッションデータを表示する - const { data } = useSessionize() - console.log('session data', data) + // const { data } = useSessionize() + // console.log('session data', data) return (