Skip to content

Commit a22b15d

Browse files
committed
fix: replace Twitter link in footer with LinkedIn
1 parent 16e3722 commit a22b15d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

footer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@
112112
</ul>
113113
</div>
114114
<div class="footer__pressbooks__social">
115-
<a class="facebook" href="https://www.youtube.com/user/pressbooks" title="<?php _e( 'Pressbooks on YouTube', 'pressbooks-aldine' ); ?>">
115+
<a class="youtube" href="https://www.youtube.com/user/pressbooks" title="<?php _e( 'Pressbooks on YouTube', 'pressbooks-aldine' ); ?>">
116116
<img class="youtube-link" src="<?php bloginfo( 'template_directory' ); ?>/assets/images/yt_icon_mono_dark.png" alt="YouTube">
117117
<span class="screen-reader-text"><?php _e( 'Pressbooks on YouTube', 'pressbooks-aldine' ); ?></span>
118118
</a>
119-
<a class="twitter" href="https://twitter.com/intent/follow?screen_name=pressbooks" title="<?php _e( 'Pressbooks on Twitter', 'pressbooks-aldine' ); ?>">
119+
<a class="linkedin" href="https://www.linkedin.com/company/pressbooks/?originalSubdomain=ca" title="<?php _e( 'Pressbooks on LinkedIn', 'pressbooks-aldine' ); ?>">
120120
<svg class="icon--svg">
121-
<use href="#twitter" />
121+
<use href="#linkedin" />
122122
</svg>
123-
<span class="screen-reader-text"><?php _e( 'Pressbooks on Twitter', 'pressbooks-aldine' ); ?></span></a>
123+
<span class="screen-reader-text"><?php _e( 'Pressbooks on LinkedIn', 'pressbooks-aldine' ); ?></span></a>
124124
</div>
125125
</section>
126126
</div><!-- .container -->

header.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
<symbol id="facebook" fill="currentColor" viewbox="0 0 512 512"><path d="M451 5c7 0 13 2 17 7 5 4 7 10 7 17v390c0 7-2 13-7 17-4 5-10 7-17 7H339V273h57l9-66h-66v-42c0-11 3-19 7-24 5-5 13-8 26-8h35V73c-12-1-29-2-51-2-26 0-46 7-62 23-15 15-23 36-23 64v49h-57v66h57v170H61c-7 0-13-2-17-7-5-4-7-10-7-17V29c0-7 2-13 7-17 4-5 10-7 17-7z"/></symbol>
3737
<symbol id="twitter" fill="currentColor" viewbox="0 0 300 300"><path d="M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59H300M36.01 19.54h40.65l187.13 262.13h-40.66"/></symbol>
3838
<symbol id="instagram" fill="currentColor" viewbox="0 0 512 512"><path d="M341.33,256A85.33,85.33,0,1,0,256,341.33,85.49,85.49,0,0,0,341.33,256Zm46,0A131.32,131.32,0,1,1,256,124.68,131.15,131.15,0,0,1,387.32,256Zm36-136.66a30.67,30.67,0,1,1-30.66-30.66A30.59,30.59,0,0,1,423.32,119.34ZM256,46c-37.33,0-117.32-3-151,10.33A81.93,81.93,0,0,0,75.68,75.68,81.93,81.93,0,0,0,56.35,105C43,138.68,46,218.67,46,256S43,373.32,56.35,407a81.93,81.93,0,0,0,19.33,29.33A81.93,81.93,0,0,0,105,455.65C138.68,469,218.67,466,256,466s117.32,3,151-10.33A87.25,87.25,0,0,0,455.65,407C469,373.32,466,293.33,466,256s3-117.32-10.33-151a81.93,81.93,0,0,0-19.33-29.33A81.93,81.93,0,0,0,407,56.35C373.32,43,293.33,46,256,46ZM512,256c0,35.33.33,70.33-1.67,105.66C508.31,402.65,499,439,469,469s-66.33,39.33-107.32,41.33c-35.33,2-70.33,1.67-105.66,1.67s-70.33.33-105.66-1.67C109.35,508.31,73,499,43,469S3.69,402.65,1.69,361.66C-.31,326.33,0,291.33,0,256s-.33-70.33,1.67-105.66C3.69,109.35,13,73,43,43S109.35,3.69,150.34,1.69C185.67-.31,220.67,0,256,0s70.33-.33,105.66,1.67C402.65,3.69,439,13,469,43s39.33,66.33,41.33,107.32C512.31,185.67,512,220.67,512,256Z"/></symbol>
39+
<symbol id="linkedin" fill="currentColor" viewBox="0 0 1792 1792"><path d="M365 1414h231v-694h-231v694zm246-908q-1-52-36-86t-93-34-94.5 34-36.5 86q0 51 35.5 85.5t92.5 34.5h1q59 0 95-34.5t36-85.5zm585 908h231v-398q0-154-73-233t-193-79q-136 0-209 117h2v-101h-231q3 66 0 694h231v-388q0-38 7-56 15-35 45-59.5t74-24.5q116 0 116 157v371zm468-998v960q0 119-84.5 203.5t-203.5 84.5h-960q-119 0-203.5-84.5t-84.5-203.5v-960q0-119 84.5-203.5t203.5-84.5h960q119 0 203.5 84.5t84.5 203.5z"/></symbol>
3940
<symbol id="arrow-right" fill="currentColor" viewBox="0 0 512 512"><path d="M291 32c0 6 3 12 7 17l133 135H23c-13 0-23 11-23 24s10 24 23 24h408L298 367c-4 4-7 10-7 16s3 12 7 17c10 9 24 9 33 0l173-176c9-9 9-23 0-33L331 15c-9-10-23-10-33 0-4 4-7 10-7 17"/></symbol>
4041
<symbol id="arrow-left" fill="currentColor" viewBox="0 0 512 512"><path d="M220 45c0 6-3 12-7 17L79 200h410c12 0 23 11 23 25 0 13-11 24-23 24H79l134 138c4 5 7 11 7 17 0 7-3 13-7 18-10 9-24 9-33 0L7 242c-9-10-9-25 0-34L180 26c9-9 23-9 33 0 4 5 7 11 7 19"/></symbol>
4142
<symbol id="checkmark" viewBox="0 0 20 16">

0 commit comments

Comments
 (0)