{isUnderConstruction && (
diff --git a/src/components/omikuji.tsx b/src/components/omikuji.tsx
new file mode 100644
index 0000000..4532576
--- /dev/null
+++ b/src/components/omikuji.tsx
@@ -0,0 +1,70 @@
+import React from 'react';
+import { useStaticQuery, graphql } from 'gatsby';
+import Img from 'gatsby-image';
+import styled from 'styled-components';
+
+const OmikujiStyle = styled.div`
+ display: inline-block !important;
+ margin: auto;
+`;
+
+const Omikuji = () => {
+ const data = useStaticQuery(
+ graphql`
+ query {
+ nenga1: file(relativePath: { eq: "nenga1.png" }) {
+ childImageSharp {
+ fluid {
+ ...GatsbyImageSharpFluid
+ }
+ }
+ }
+ nenga2: file(relativePath: { eq: "nenga2.png" }) {
+ childImageSharp {
+ fluid {
+ ...GatsbyImageSharpFluid
+ }
+ }
+ }
+ nenga3: file(relativePath: { eq: "nenga3.png" }) {
+ childImageSharp {
+ fluid {
+ ...GatsbyImageSharpFluid
+ }
+ }
+ }
+ nenga4: file(relativePath: { eq: "nenga4.png" }) {
+ childImageSharp {
+ fluid {
+ ...GatsbyImageSharpFluid
+ }
+ }
+ }
+ nenga5: file(relativePath: { eq: "nenga5.png" }) {
+ childImageSharp {
+ fluid {
+ ...GatsbyImageSharpFluid
+ }
+ }
+ }
+ }
+ `,
+ );
+ const omikujiList = [
+ data.nenga1.childImageSharp.fluid,
+ data.nenga2.childImageSharp.fluid,
+ data.nenga3.childImageSharp.fluid,
+ data.nenga4.childImageSharp.fluid,
+ data.nenga5.childImageSharp.fluid,
+ ];
+ const selectList = () => {
+ return Math.floor(Math.random() * omikujiList.length);
+ };
+ return (
+
+
+
+ );
+};
+
+export default Omikuji;
diff --git a/src/components/useWindowDimensions.tsx b/src/components/useWindowDimensions.tsx
new file mode 100644
index 0000000..a516830
--- /dev/null
+++ b/src/components/useWindowDimensions.tsx
@@ -0,0 +1,28 @@
+import { useState, useEffect } from 'react';
+
+const UseWindowDimensions = () => {
+ const getWindowDimensions = () => {
+ const {
+ innerWidth: width,
+ innerHeight: height,
+ } = window;
+ return {
+ width,
+ height,
+ };
+ };
+ const [windowDimensions, setWindowDimensions] = useState(
+ getWindowDimensions(),
+ );
+ useEffect(() => {
+ const onResize = () => {
+ setWindowDimensions(getWindowDimensions());
+ };
+ window.addEventListener('resize', onResize);
+ return () =>
+ window.removeEventListener('resize', onResize);
+ }, []);
+ return windowDimensions;
+};
+
+export default UseWindowDimensions;
diff --git a/src/contents/images/big_bell.png b/src/contents/images/big_bell.png
new file mode 100644
index 0000000..92e600c
Binary files /dev/null and b/src/contents/images/big_bell.png differ
diff --git a/src/contents/images/kanetukibou_1.png b/src/contents/images/kanetukibou_1.png
new file mode 100644
index 0000000..05de530
Binary files /dev/null and b/src/contents/images/kanetukibou_1.png differ
diff --git a/src/contents/images/kanetukibou_2.png b/src/contents/images/kanetukibou_2.png
new file mode 100644
index 0000000..58c3edf
Binary files /dev/null and b/src/contents/images/kanetukibou_2.png differ
diff --git a/static/mp3/bell03.mp3 b/static/mp3/bell03.mp3
new file mode 100644
index 0000000..4000038
Binary files /dev/null and b/static/mp3/bell03.mp3 differ
diff --git a/static/mp3/bonnou_taisan.mp3 b/static/mp3/bonnou_taisan.mp3
new file mode 100644
index 0000000..36ed277
Binary files /dev/null and b/static/mp3/bonnou_taisan.mp3 differ
diff --git a/types/graphql-types.d.ts b/types/graphql-types.d.ts
index 9a607b3..49e79e5 100644
--- a/types/graphql-types.d.ts
+++ b/types/graphql-types.d.ts
@@ -3986,52 +3986,62 @@ export type Unnamed_1_Query = { orin?: Maybe<{ childImageSharp?: Maybe<{ fixed?:
export type Unnamed_2_QueryVariables = Exact<{ [key: string]: never; }>;
-export type Unnamed_2_Query = { bgImg?: Maybe
> };
+export type Unnamed_2_Query = { bigBell?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }>, stick1?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }>, stick2?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }> };
export type Unnamed_3_QueryVariables = Exact<{ [key: string]: never; }>;
-export type Unnamed_3_Query = { red?: Maybe>, white?: Maybe> };
+export type Unnamed_3_Query = { bgImg?: Maybe> };
export type Unnamed_4_QueryVariables = Exact<{ [key: string]: never; }>;
-export type Unnamed_4_Query = { temple?: Maybe<{ childImageSharp?: Maybe<{ fixed?: Maybe }> }>, wordart?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }> };
+export type Unnamed_4_Query = { red?: Maybe>, white?: Maybe> };
-export type HeadQueryVariables = Exact<{ [key: string]: never; }>;
+export type Unnamed_5_QueryVariables = Exact<{ [key: string]: never; }>;
-export type HeadQuery = { site?: Maybe<{ siteMetadata?: Maybe> }>, file?: Maybe<{ childImageSharp?: Maybe<{ resize?: Maybe> }> }> };
+export type Unnamed_5_Query = { temple?: Maybe<{ childImageSharp?: Maybe<{ fixed?: Maybe }> }>, wordart?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }> };
-export type Unnamed_5_QueryVariables = Exact<{ [key: string]: never; }>;
+export type HeadQueryVariables = Exact<{ [key: string]: never; }>;
-export type Unnamed_5_Query = { site?: Maybe<{ siteMetadata?: Maybe> }>, github?: Maybe> };
+export type HeadQuery = { site?: Maybe<{ siteMetadata?: Maybe> }>, file?: Maybe<{ childImageSharp?: Maybe<{ resize?: Maybe> }> }> };
export type Unnamed_6_QueryVariables = Exact<{ [key: string]: never; }>;
-export type Unnamed_6_Query = { logo?: Maybe>, scaffold?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }>, backgroundNight?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }>, backgroundDay?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }>, templedDay?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }>, templedNight?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }> };
+export type Unnamed_6_Query = { site?: Maybe<{ siteMetadata?: Maybe> }>, github?: Maybe> };
export type Unnamed_7_QueryVariables = Exact<{ [key: string]: never; }>;
-export type Unnamed_7_Query = { allInformationCsv: { nodes: Array> } };
+export type Unnamed_7_Query = { logo?: Maybe>, scaffold?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }>, backgroundNight?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }>, backgroundDay?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }>, templedDay?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }>, templedNight?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }> };
export type Unnamed_8_QueryVariables = Exact<{ [key: string]: never; }>;
-export type Unnamed_8_Query = { mochi_red?: Maybe>, mochi_white?: Maybe> };
+export type Unnamed_8_Query = { allInformationCsv: { nodes: Array> } };
export type Unnamed_9_QueryVariables = Exact<{ [key: string]: never; }>;
-export type Unnamed_9_Query = { jushoku?: Maybe> };
+export type Unnamed_9_Query = { mochi_red?: Maybe>, mochi_white?: Maybe> };
export type Unnamed_10_QueryVariables = Exact<{ [key: string]: never; }>;
-export type Unnamed_10_Query = { allHitokotoCsv: { nodes: Array> }, file?: Maybe> };
+export type Unnamed_10_Query = { jushoku?: Maybe> };
+
+export type Unnamed_11_QueryVariables = Exact<{ [key: string]: never; }>;
+
+
+export type Unnamed_11_Query = { nenga1?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }>, nenga2?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }>, nenga3?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }>, nenga4?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }>, nenga5?: Maybe<{ childImageSharp?: Maybe<{ fluid?: Maybe }> }> };
+
+export type Unnamed_12_QueryVariables = Exact<{ [key: string]: never; }>;
+
+
+export type Unnamed_12_Query = { allHitokotoCsv: { nodes: Array> }, file?: Maybe> };
export type ListOfContentsQueryQueryVariables = Exact<{ [key: string]: never; }>;
diff --git a/yarn.lock b/yarn.lock
index de41d17..b34e89b 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4006,7 +4006,7 @@ class-utils@^0.3.5:
isobject "^3.0.0"
static-extend "^0.1.1"
-classnames@^2.2.6:
+classnames@^2.2.5, classnames@^2.2.6:
version "2.2.6"
resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.2.6.tgz#43935bffdd291f326dad0a205309b38d00f650ce"
integrity sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==
@@ -6365,6 +6365,11 @@ fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6:
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=
+fast-memoize@^2.5.1:
+ version "2.5.2"
+ resolved "https://registry.yarnpkg.com/fast-memoize/-/fast-memoize-2.5.2.tgz#79e3bb6a4ec867ea40ba0e7146816f6cdce9b57e"
+ integrity sha512-Ue0LwpDYErFbmNnZSF0UH6eImUwDmogUO1jyE+JbN2gsQz/jICm1Ve7t9QT0rNSsfJt+Hs4/S3GnsDVjL4HVrw==
+
fastest-levenshtein@^1.0.12:
version "1.0.12"
resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz#9990f7d3a88cc5a9ffd1f1745745251700d497e2"
@@ -12064,7 +12069,7 @@ prompts@^2.3.2:
kleur "^3.0.3"
sisteransi "^1.0.5"
-prop-types@^15.5.4, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2:
+prop-types@^15.5.4, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2:
version "15.7.2"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==
@@ -12304,6 +12309,13 @@ rc@^1.2.7, rc@^1.2.8:
minimist "^1.2.0"
strip-json-comments "~2.0.1"
+re-resizable@6.9.0:
+ version "6.9.0"
+ resolved "https://registry.yarnpkg.com/re-resizable/-/re-resizable-6.9.0.tgz#9c3059b389ced6ade602234cc5bb1e12d231cd47"
+ integrity sha512-3cUDG81ylyqI0Pdgle/RHwwRYq0ORZzsUaySOCO8IbEtNyaRtrIHYm/jMQ5pjcNiKCxR3vsSymIQZHwJq4gg2Q==
+ dependencies:
+ fast-memoize "^2.5.1"
+
react-dev-utils@^4.2.3:
version "4.2.3"
resolved "https://registry.yarnpkg.com/react-dev-utils/-/react-dev-utils-4.2.3.tgz#5b42d9ea58d5e9e017a2f57a40a8af408a3a46fb"
@@ -12338,6 +12350,14 @@ react-dom@^16.11.0:
prop-types "^15.6.2"
scheduler "^0.19.1"
+react-draggable@4.4.3:
+ version "4.4.3"
+ resolved "https://registry.yarnpkg.com/react-draggable/-/react-draggable-4.4.3.tgz#0727f2cae5813e36b0e4962bf11b2f9ef2b406f3"
+ integrity sha512-jV4TE59MBuWm7gb6Ns3Q1mxX8Azffb7oTtDtBgFkxRvhDp38YAARmRplrj0+XGkhOJB5XziArX+4HUUABtyZ0w==
+ dependencies:
+ classnames "^2.2.5"
+ prop-types "^15.6.0"
+
react-error-overlay@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-3.0.0.tgz#c2bc8f4d91f1375b3dad6d75265d51cd5eeaf655"
@@ -12396,6 +12416,15 @@ react-refresh@^0.8.3:
resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.8.3.tgz#721d4657672d400c5e3c75d063c4a85fb2d5d68f"
integrity sha512-X8jZHc7nCMjaCqoU+V2I0cOhNW+QMBwSUkeXnTi8IPe6zaRWfn60ZzvFDZqWPfmSJfjub7dDW1SP0jaHWLu/hg==
+react-rnd@^10.2.4:
+ version "10.2.4"
+ resolved "https://registry.yarnpkg.com/react-rnd/-/react-rnd-10.2.4.tgz#542c28fa9cfcb3ad1521694dfa2799217832818f"
+ integrity sha512-wseACIsxa1wuZz9XatO3/JAZR748Sddehh0NtJz1Yj3X5BQm5pwRShiadfnWrUajJATurHbN0NVTUn+jEkHkPw==
+ dependencies:
+ re-resizable "6.9.0"
+ react-draggable "4.4.3"
+ tslib "2.0.3"
+
react-side-effect@^1.1.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/react-side-effect/-/react-side-effect-1.2.0.tgz#0e940c78faba0c73b9b0eba9cd3dda8dfb7e7dae"
@@ -14597,16 +14626,16 @@ tslib@1.11.2:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.2.tgz#9c79d83272c9a7aaf166f73915c9667ecdde3cc9"
integrity sha512-tTSkux6IGPnUGUd1XAZHcpu85MOkIl5zX49pO+jfsie3eP0B6pyhOlLXm3cAC6T7s+euSDDUUV+Acop5WmtkVg==
+tslib@2.0.3, tslib@^2, tslib@^2.0.0, tslib@~2.0.1:
+ version "2.0.3"
+ resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.3.tgz#8e0741ac45fc0c226e58a17bfc3e64b9bc6ca61c"
+ integrity sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==
+
tslib@^1.10.0, tslib@^1.11.1, tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.3:
version "1.14.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
-tslib@^2, tslib@^2.0.0, tslib@~2.0.1:
- version "2.0.3"
- resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.3.tgz#8e0741ac45fc0c226e58a17bfc3e64b9bc6ca61c"
- integrity sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==
-
tsutils@^3.17.1:
version "3.17.1"
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759"