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components/menuButtonIcon.tsx","webpack://5z6p-site/./src/components/mainMenu.tsx","webpack://5z6p-site/./src/components/mainMenu.module.scss","webpack://5z6p-site/./src/layouts/layoutBase.tsx","webpack://5z6p-site/./src/layouts/layoutBase.module.scss","webpack://5z6p-site/./src/pages/404.module.scss","webpack://5z6p-site/./src/pages/404.tsx","webpack://5z6p-site/./src/utils/useSiteMetaData.tsx"],"sourcesContent":["import * as React from \"react\";\n\nconst Title = ({\n children,\n className,\n path,\n}: {\n children: React.ReactNode;\n className: string;\n path: string;\n}) => {\n if (path === \"/\") {\n return

{children}

;\n } else {\n return
{children}
;\n }\n};\n\nexport default Title;\n","import * as React from \"react\";\n\nconst MenuButtonIcon = ({ size }: { size: string }) => {\n return (\n \n menu\n \n \n );\n};\n\n// from https://www.svgrepo.com/svg/514172/menu\n\nexport default MenuButtonIcon;\n","import * as React from \"react\";\nimport { Link, graphql, useStaticQuery } from \"gatsby\";\n\nimport * as styles from \"./mainMenu.module.scss\";\n\ntype MainMenuItem = {\n title: string;\n path: string;\n children?: Array;\n};\n\ntype MainMenuQuery = {\n products: {\n nodes: Array<{\n category: string;\n slug: string;\n productName: string;\n }>;\n };\n};\n\nconst MainMenu: React.FC<{\n currentPath: string;\n}> = ({ currentPath }) => {\n const data = useStaticQuery(graphql`\n query MainMenu {\n products: allContentfulProduct {\n nodes {\n category\n slug\n productName\n }\n }\n }\n `);\n\n const menuItems: Record> = {};\n data.products.nodes.forEach((node) => {\n const { slug, productName } = node;\n const category = node.category.toUpperCase();\n if (!menuItems[category]) {\n menuItems[category] = [];\n }\n menuItems[category].push({\n title: productName,\n path: `/products/${slug}`,\n });\n });\n\n const productsData = Object.entries(menuItems).map(\n ([category, menuItems]) => ({\n title: category,\n children: menuItems,\n })\n );\n\n return (\n \n );\n};\n\nexport default MainMenu;\n","// extracted by mini-css-extract-plugin\nexport var mainMenu = \"mainMenu-module--mainMenu--a8b7a\";\nexport var subMenu = \"mainMenu-module--subMenu--e01d0\";\nexport var subMenuTitle = \"mainMenu-module--subMenuTitle--78619\";","import * as React from \"react\";\nimport { Link, graphql, useStaticQuery } from \"gatsby\";\n\nimport * as styles from \"./layoutBase.module.scss\";\n\nimport Title from \"../components/title\";\nimport MenuButtonIcon from \"../components/menuButtonIcon\";\nimport MainMenu from \"../components/mainMenu\";\n\nimport { useSiteMetadata } from \"../utils/useSiteMetaData\";\n\ntype LayoutProps = {\n path: string;\n children?: React.ReactNode;\n className?: string;\n};\n\nconst LayoutBase: React.FC = ({ path, children, className }) => {\n const [isMenuOpen, setIsMenuOpen] = React.useState(false);\n\n const siteMetaData = useSiteMetadata();\n\n const toggleMenu = () => {\n setIsMenuOpen(!isMenuOpen);\n };\n\n return (\n
\n
\n \n \n <Link to=\"/\">{siteMetaData.title}</Link>\n \n
\n
\n \n
\n
{children}
\n
\n );\n};\n\nexport default LayoutBase;\n","// extracted by mini-css-extract-plugin\nexport var container = \"layoutBase-module--container--b7a51\";\nexport var header = \"layoutBase-module--header--c4a94\";\nexport var main = \"layoutBase-module--main--b1565\";\nexport var menu = \"layoutBase-module--menu--725f4\";\nexport var menuButton = \"layoutBase-module--menuButton--f3910\";\nexport var title = \"layoutBase-module--title--43d5e\";","// extracted by mini-css-extract-plugin\nexport var container = \"_404-module--container--b557a\";\nexport var description = \"_404-module--description--bab08\";\nexport var title = \"_404-module--title--99db8\";","import * as React from \"react\";\nimport { Link, HeadFC, PageProps } from \"gatsby\";\nimport LayoutBase from \"../layouts/layoutBase\";\n\nimport * as styles from \"./404.module.scss\";\n\nconst NotFoundPage: React.FC = () => {\n return (\n \n
\n

404

\n

\n Page Not Found\n
\n お探しのページは見つかりません\n

\n

\n 古いサイトにあるかもしれません。{\" \"}\n old.5z6p.com\n
\n You might find it on an older website.{\" \"}\n old.5z6p.com\n Home\n

\n
\n
\n );\n};\n\nexport default NotFoundPage;\n","import { graphql, useStaticQuery } from \"gatsby\";\n\ntype SiteMetadata = {\n title: string;\n siteUrl: string;\n image: string;\n description: string;\n twitterUsername: string;\n defaultImageSrc: string;\n};\n\nexport const useSiteMetadata = () => {\n const data = useStaticQuery(graphql`\n query SiteMetadata {\n site {\n siteMetadata {\n title\n siteUrl\n description\n twitterUsername\n }\n }\n allImageSharp(filter: { fixed: { originalName: { eq: \"5z6p.jpg\" } } }) {\n nodes {\n gatsbyImageData\n }\n }\n }\n `);\n const ret = {\n title: data.site?.siteMetadata?.title ?? \"default title\",\n siteUrl: data.site?.siteMetadata?.siteUrl ?? \"default siteUrl\",\n description: data.site?.siteMetadata?.description ?? \"default description\",\n twitterUsername:\n data.site?.siteMetadata?.twitterUsername ?? \"default twitterUsername\",\n defaultImageData: data.allImageSharp.nodes[0].gatsbyImageData,\n };\n return ret;\n};\n"],"names":["_ref","children","className","path","React","size","fill","width","height","viewBox","version","xmlns","d","currentPath","data","useStaticQuery","menuItems","products","nodes","forEach","node","slug","productName","category","toUpperCase","push","title","productsData","Object","entries","map","_ref2","Link","to","item","key","child","isMenuOpen","setIsMenuOpen","siteMetaData","useSiteMetadata","onClick","toggleMenu","MenuButtonIcon","Title","MainMenu","styles","description","NotFoundPage","LayoutBase","href","site","_data$site","siteMetadata","_data$site$siteMetada2","siteUrl","_data$site2","_data$site2$siteMetad","_data$site3","_data$site3$siteMetad","twitterUsername","_data$site4","_data$site4$siteMetad","defaultImageData","allImageSharp","gatsbyImageData"],"sourceRoot":""}