Skip to content

Commit

Permalink
replaced missing regular icons with solid
Browse files Browse the repository at this point in the history
  • Loading branch information
djanelle-mit committed Nov 21, 2024
1 parent e853ae5 commit d5b31f2
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
10 changes: 5 additions & 5 deletions web/app/themes/mitlib-parent/inc/content-location-2021.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<?php if ( $email ) : ?>
<a href="mailto:<?php echo esc_url( $email ); ?>" class="email"><?php echo esc_html( $email ); ?></a> |
<?php endif; ?>
<a href="<?php echo esc_url( $mapPage . $slug ); ?>">Room: <?php echo esc_html( $building ); ?> <i class="fa-regular fa-arrow-right"></i></a>
<a href="<?php echo esc_url( $mapPage . $slug ); ?>">Room: <?php echo esc_html( $building ); ?> <i class="fa fa-arrow-right"></i></a>
</div>
</div><!-- end div.libraryContent -->

Expand All @@ -98,15 +98,15 @@
<?php if ( true === $study24 ) : ?>
<a class="study-24-7" href="<?php echo esc_url( $gStudy24Url ); ?>" alt="This location contains one or more study spaces available 24 hours a day, seven days a week. Click the link for more info." title="Study 24/7">Study 24/7</a>
<?php endif; ?>
<a href="/hours" class="link-hours-all">See all hours <i class="fa-regular fa-arrow-right"></i></a>
<a href="/hours" class="link-hours-all">See all hours <i class="fa fa-arrow-right"></i></a>
</div>
<?php } else { ?>
<div class="hours-today">
<span>Today's hours: <strong data-location-hours="<?php the_title(); ?>"></strong></span>
<?php if ( true === $study24 ) : ?>
| <a class="study-24-7" href="<?php echo esc_url( $gStudy24Url ); ?>" alt="This location contains one or more study spaces available 24 hours a day, seven days a week. Click the link for more info." title="Study 24/7">Study 24/7</a>
<?php endif; ?>
<a href="/hours" class="link-hours-all">See all hours <i class="fa-regular fa-arrow-right"></i></a>
<a href="/hours" class="link-hours-all">See all hours <i class="fa fa-arrow-right"></i></a>
</div><!-- end div.hours-today -->
<?php } ?>
</div><!-- end div.topLeft -->
Expand Down Expand Up @@ -170,8 +170,8 @@
<span class="bio"><?php echo esc_html( $bio ); ?></span>
</h3>
<div class="links">
<a class="primary" href="<?php echo esc_url( $url ); ?>" target="_blank">How can I help? <i class="fa-regular fa-arrow-right"></i></a>
<a href="/experts">See all our experts <i class="fa-regular fa-arrow-right"></i></a>
<a class="primary" href="<?php echo esc_url( $url ); ?>" target="_blank">How can I help? <i class="fa fa-arrow-right"></i></a>
<a href="/experts">See all our experts <i class="fa fa-arrow-right"></i></a>
</div>

</div>
Expand Down
10 changes: 5 additions & 5 deletions web/app/themes/mitlib-parent/inc/content-location.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<?php if ( $email ) : ?>
<a href="mailto:<?php echo esc_url( $email ); ?>" class="email"><?php echo esc_html( $email ); ?></a> |
<?php endif; ?>
<a href="<?php echo esc_url( $mapPage . $slug ); ?>">Room: <?php echo esc_html( $building ); ?> <i class="fa-regular fa-arrow-right"></i></a>
<a href="<?php echo esc_url( $mapPage . $slug ); ?>">Room: <?php echo esc_html( $building ); ?> <i class="fa fa-arrow-right"></i></a>
</div>
</div><!-- end div.libraryContent -->

Expand All @@ -124,15 +124,15 @@
<?php if ( true === $study24 ) : ?>
<a class="study-24-7" href="<?php echo esc_url( $gStudy24Url ); ?>" alt="This location contains one or more study spaces available 24 hours a day, seven days a week. Click the link for more info." title="Study 24/7">Study 24/7</a>
<?php endif; ?>
<a href="/hours" class="link-hours-all">See all hours <i class="fa-regular fa-arrow-right"></i></a>
<a href="/hours" class="link-hours-all">See all hours <i class="fa fa-arrow-right"></i></a>
</div>
<?php } else { ?>
<div class="hours-today">
<span>Today's hours: <strong data-location-hours="<?php the_title(); ?>"></strong></span>
<?php if ( true === $study24 ) : ?>
| <a class="study-24-7" href="<?php echo esc_url( $gStudy24Url ); ?>" alt="This location contains one or more study spaces available 24 hours a day, seven days a week. Click the link for more info." title="Study 24/7">Study 24/7</a>
<?php endif; ?>
<a href="/hours" class="link-hours-all">See all hours <i class="fa-regular fa-arrow-right"></i></a>
<a href="/hours" class="link-hours-all">See all hours <i class="fa fa-arrow-right"></i></a>
</div><!-- end div.hours-today -->
<?php } ?>
</div><!-- end div.topLeft -->
Expand Down Expand Up @@ -219,8 +219,8 @@
<span class="bio"><?php echo esc_html( $bio ); ?></span>
</h3>
<div class="links">
<a class="primary" href="<?php echo esc_url( $url ); ?>" target="_blank">How can I help? <i class="fa-regular fa-arrow-right"></i></a>
<a href="/experts">See all our experts <i class="fa-regular fa-arrow-right"></i></a>
<a class="primary" href="<?php echo esc_url( $url ); ?>" target="_blank">How can I help? <i class="fa fa-arrow-right"></i></a>
<a href="/experts">See all our experts <i class="fa fa-arrow-right"></i></a>
</div>

</div>
Expand Down
4 changes: 2 additions & 2 deletions web/app/themes/mitlib-parent/js/make.datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ $("#hourCalendar").glDatePicker({
showAlways: true,
selectedDate: todayDate,

prevArrow: '<i class="fa-regular fa-arrow-left"></i>',
nextArrow: '<i class="fa-regular fa-arrow-right"></i>',
prevArrow: '<i class="fa fa-arrow-left"></i>',
nextArrow: '<i class="fa fa-arrow-right"></i>',
dowNames: "SMTWTFS",
dowOffset: 1,
onClick: function(target, cell, date, date2) {
Expand Down
8 changes: 4 additions & 4 deletions web/app/themes/mitlib-parent/templates/page-hours.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@
cssName: "default",
showAlways: true,
selectedDate: todayDate,
prevArrow: '<i class="fa-regular fa-arrow-left"></i>',
nextArrow: '<i class="fa-regular fa-arrow-right"></i>',
prevArrow: '<i class="fa fa-arrow-left"></i>',
nextArrow: '<i class="fa fa-arrow-right"></i>',
dowNames: "SMTWTFS",
dowOffset: 1,
onClick: function(target, cell, date, date2) {
Expand All @@ -146,9 +146,9 @@
<div id="hourContent" class="content-page">
<div id="hourNav-sticky-wrapper" class="sticky-wrapper" style="height: 0px;">
<div id="hourNav" style="width: 1008px;">
<div id="prevWeek"> <i class="fa-regular fa-arrow-left"></i> <a href="<?php echo esc_url( $path . '?d=' . $prevWeek ); ?>">Previous week</a> </div>
<div id="prevWeek"> <i class="fa fa-arrow-left"></i> <a href="<?php echo esc_url( $path . '?d=' . $prevWeek ); ?>">Previous week</a> </div>
<div id="thisWeek"> <a href="<?php echo esc_url( $path . '?d=' . $thisWeek ); ?>">This week</a> </div>
<div id="nextWeek"> <a href="<?php echo esc_url( $path . '?d=' . $nextWeek ); ?>">Next week</a> <i class="fa-regular fa-arrow-right"></i> </div>
<div id="nextWeek"> <a href="<?php echo esc_url( $path . '?d=' . $nextWeek ); ?>">Next week</a> <i class="fa fa-arrow-right"></i> </div>
</div>
</div>
<style type="text/css">
Expand Down
6 changes: 3 additions & 3 deletions web/app/themes/mitlib-parent/templates/page-map-locations.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<div id="stage" role="main">
<div class="title-page flex-container">
<h1><?php the_title(); ?></h1>
<a href="/hours/">See all library hours <i class="fa-regular fa-arrow-right"></i></a>
<a href="/hours/">See all library hours <i class="fa fa-arrow-right"></i></a>
</div>

<div id="locationsHome">
Expand Down Expand Up @@ -104,9 +104,9 @@
<div class="infoImage" style="background-image: url(<?php echo esc_url( $val ); ?>); background-repeat: no-repeat;"></div>
<?php endif; ?>
<div class="content">
<h3><a href="<?php echo esc_url( $pageLink ); ?>"><?php echo esc_html( $name ); ?></a> <i class="fa-regular fa-arrow-right"></i></h3>
<h3><a href="<?php echo esc_url( $pageLink ); ?>"><?php echo esc_html( $name ); ?></a> <i class="fa fa-arrow-right"></i></h3>
<span class="building"><?php echo esc_html( $building ); ?></span><br/>
<span class="directions"><a href="<?php echo esc_url( $directionsUrl ); ?>" target="_blank" >Find on Google maps</a> <i class="fa-regular fa-arrow-right"></i></span>
<span class="directions"><a href="<?php echo esc_url( $directionsUrl ); ?>" target="_blank" >Find on Google maps</a> <i class="fa fa-arrow-right"></i></span>
</div>
<br clear="all" />
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<div class="title-page flex-container">
<h1><?php the_title(); ?></h1>
<div class="extraInfo">
<a href="/hours/">See all library hours <i class="fa-regular fa-arrow-right"></i></a>
<a href="/hours/">See all library hours <i class="fa fa-arrow-right"></i></a>
</div>
</div>

Expand Down

0 comments on commit d5b31f2

Please sign in to comment.