Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved "learn more" link fragment spans to be above subject header #729

Merged
merged 2 commits into from
Jul 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions src/app/(content-pages)/methodology/MethodologyPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ export default function MethodologyPage() {
residents, CDCs, City government offices, academic researchers, and
more.
</p>
{/* Offset for clicking on learn more from filter, scrolls to section below */}
<span id="priority-method"></span>
<p className="body-md">
Although we aim to simplify the decision-making process for users of
Clean & Green Philly, we value transparency. Below, we lay out key
Expand All @@ -40,7 +38,7 @@ export default function MethodologyPage() {
</p>

<div className="container mx-auto md:my-12">
<h2 className="heading-2xl font-semibold mb-4">
<h2 id="priority-method" className="heading-2xl font-semibold mb-4">
How did we determine &ldquo;priority&rdquo;?
</h2>

Expand Down Expand Up @@ -104,8 +102,6 @@ export default function MethodologyPage() {
</li>
</ol>
<br />
{/* Offset for clicking on learn more from filter, scrolls to section below */}
<span id="access-method"></span>
<p className="body-md mb-4">
These specific datasets were chosen based on the original research
and extensive stakeholder engagement. The decision tree below
Expand All @@ -114,7 +110,7 @@ export default function MethodologyPage() {
</div>

<div className="container mx-auto md:my-12">
<h2 className="heading-2xl font-semibold mb-4">
<h2 id="access-method" className="heading-2xl font-semibold mb-4">
How did we determine &ldquo;access process&rdquo;?
</h2>

Expand Down