on master help sign in
grants count link scrolls to open grants
2945ec1Gavin Atkinson
pages/grants.js+3−1
@@ -188,7 +188,9 @@ export default function Grants({
188 // Find a Grant
188 // Find a Grant
189 }
189 }
190 <Section wide>
190 <Section wide>
191+ <h2 id="find-a-grant" className="pb-8">
191− <h2 className="pb-8">Find A Grant</h2>
192+ Find A Grant
193+ </h2>
192 <h5 className="text-black font-semibold my-2">Work Programs</h5>
194 <h5 className="text-black font-semibold my-2">Work Programs</h5>
193 <div className="flex flex-wrap items-center pb-2">
195 <div className="flex flex-wrap items-center pb-2">
194 <button
196 <button
pages/index.js+1−1
@@ -99,7 +99,7 @@ export default function Home({ posts, events, openGrantsCount, search }) {
99 <Section narrow>
99 <Section narrow>
100 <div className="flex items-center pb-12">
100 <div className="flex items-center pb-12">
101 <h2 className="m-0 p-0 mr-4">Grants</h2>
101 <h2 className="m-0 p-0 mr-4">Grants</h2>
102− <Link href="/grants">
102+ <Link href="/grants#find-a-grant">
103 <a className="bg-green text-white badge-lg">
103 <a className="bg-green text-white badge-lg">
104 {openGrantsCount} Open
104 {openGrantsCount} Open
105 </a>
105 </a>