Skip to content

Commit

Permalink
Add MP info page to top of profile
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons committed Mar 21, 2024
1 parent 6b87344 commit 1866c2b
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php if ($this_page == "mp"): ?>
<div class="panel">
<h2>About your Member of Parliament</h2>
<p>
Your MP (<?= ucfirst($full_name) ?>) represents you, and all of the people who live in <?= $latest_membership['constituency'] ?>,
at the UK Parliament in Westminster.
</p>
<p>
MPs split their time between Parliament and their constituency.
In Parliament, they debate and vote on new laws, review existing laws, and question the Government.
In the constituency, their focus is on supporting local people and championing local issues.
They have a small staff team who help with casework, maintain their diaries, and monitor their inbox.
</p>
<h2>
What you can do
</h2>
<ul class="rep-actions" style="li: > list-style: default">
<li>Find out <a href="#profile">more about your MP</a>, including <a href="<?= $member_url ?>/votes">their voting summary</a> and <a href="#appearances">recent speeches</a>.</li>
<li><a href="https://www.writetothem.com/">Write to your MP</a>, or find out about your other local representatives <a href="https://www.writetothem.com">on WriteToThem.com</a>.</li>
<li>Find out more about <a href="https://www.localintelligencehub.com/area/WMC/<?= $latest_membership['constituency'] ?>"><?= $latest_membership['constituency'] ?></a> on the <a href="https://www.localintelligencehub.com/">Local Intelligence Hub</a>.</li>
</ul>
</div>
<?php endif; ?>

0 comments on commit 1866c2b

Please sign in to comment.