Skip to content

Commit

Permalink
fix: 🐛 Remove existing link from footer navigation block
Browse files Browse the repository at this point in the history
WP needs an empty nav block or else it modifies the theme template part locally, which we do not want.
  • Loading branch information
knice committed Apr 22, 2022
1 parent 3ee7f13 commit ccd0cfe
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions parts/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"center","width":"87.5%","style":{"spacing":{"padding":{"top":"0px"}}},"className":"address"} -->
<div class="wp-block-column is-vertically-aligned-center address"
style="padding-top: 0px; flex-basis: 87.5%">
<div class="wp-block-column is-vertically-aligned-center address" style="padding-top: 0px; flex-basis: 87.5%">
<!-- wp:paragraph {"style":{"typography":{"fontSize":"0.95rem","fontStyle":"normal","fontWeight":"700","textTransform":"uppercase"}},"textColor":"white","className":"location"} -->
<p class="location has-white-color has-text-color"
id="uc-santa-cruz-1156-high-street-santa-cruz-ca-95060" style="
<p class="location has-white-color has-text-color" id="uc-santa-cruz-1156-high-street-santa-cruz-ca-95060"
style="
font-size: 0.95rem;
font-style: normal;
font-weight: 700;
Expand All @@ -28,8 +27,7 @@
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"typography":{"fontSize":"0.8rem","textTransform":"uppercase"}},"textColor":"white","className":"copyright"} -->
<p class="copyright has-white-color has-text-color"
style="font-size: 0.8rem; text-transform: uppercase">
<p class="copyright has-white-color has-text-color" style="font-size: 0.8rem; text-transform: uppercase">
[copyright] Regents of the University of California. All
Rights Reserved.
</p>
Expand Down Expand Up @@ -67,14 +65,7 @@
</div>
<!-- /wp:columns -->

<!-- wp:navigation {"textColor":"white","showSubmenuIcon":false,"overlayMenu":"never","className":"legal","layout":{"type":"flex","justifyContent":"center","flexWrap":"wrap"},"style":{"typography":{"textTransform":"capitalize","fontSize":"0.8em"}}} -->
<!-- wp:navigation-link {"label":"Accreditation", "url":"https://academicaffairs.ucsc.edu/accreditation/"} /-->
<!-- wp:navigation-link {"label":"Non-Discrimination Policy", "url":"https://diversity.ucsc.edu/eeo-aa/images/non-discrimination-policy.pdf'"} /-->
<!-- wp:navigation-link {"label":"Land Acknowledgment", "url":"https://www.ucsc.edu/land-acknowledgement/index.html"} /-->
<!-- wp:navigation-link {"label":"Employment", "url":"https://www.ucsc.edu/about/employment.html"} /-->
<!-- wp:navigation-link {"label":"Privacy Policy & Terms of Use", "url":"https://its.ucsc.edu/terms/"} /-->
<!-- wp:navigation-link {"label":"Sexual Violence Prevention & Response (Title IX)", "url":"https://titleix.ucsc.edu/index.html"} /-->
<!-- /wp:navigation -->
<!-- wp:navigation {"textColor":"white","showSubmenuIcon":false,"overlayMenu":"never","className":"legal","layout":{"type":"flex","justifyContent":"right","flexWrap":"wrap"},"style":{"typography":{"textTransform":"capitalize","fontSize":"0.8em"}}} /-->

<!-- wp:group {"layout":{"inherit":true}} -->
<div id="page-meta" class="wp-block-group">
Expand Down

0 comments on commit ccd0cfe

Please sign in to comment.