diff --git a/pages/stonewall.jsx b/pages/stonewall.jsx index af59d01..f278da4 100644 --- a/pages/stonewall.jsx +++ b/pages/stonewall.jsx @@ -10,6 +10,7 @@ import * as globals from "../components/globals"; const Stonewall = () => { const [stones, setStones] = useState([]); + const [activeStone, setActiveStone] = useState(null); useEffect(() => { fetch("https://docs.google.com/spreadsheets/d/e/2PACX-1vS_pSjFbLe53S0TbEI_7BL_X9TqdTTB2AHRib0pu1FzP20QG6J6D6jOevX7A0-uld9V62hdPEUU2E6J/pub?output=tsv") @@ -29,6 +30,10 @@ const Stonewall = () => { setStones(result); }) }, []) + + const handleStoneClick = (index) => { + setActiveStone(activeStone === index ? null : index); + }; return ( <> @@ -98,8 +103,13 @@ const Stonewall = () => { grid-gap: 1rem; } + .stone-front { + font-size: 1.3rem; + padding-top: 8px; + } + .stone-title { - font-size: 1.5rem; + padding-top: 20px; } #blurb { @@ -119,7 +129,14 @@ const Stonewall = () => { margin-bottom: 1rem; background-size: 50%; padding: 10px; - background-color: #D9D9D9; + text-align: center; + background-color: #d9d9d9; + height: 275px; + overflow: scroll; + } + + .stone:hover{ + background-color: #fafafa; } .s1 { @@ -196,16 +213,24 @@ const Stonewall = () => {