Skip to content

Commit

Permalink
Fix external link icon (#531)
Browse files Browse the repository at this point in the history
* update about page external link icon

* update external link icon on about page

* update external icon on home page

* Update home.html

* Update process.html

* update process page external link
  • Loading branch information
jaredbain authored Sep 25, 2024
1 parent bfdf39a commit 964677f
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 8 deletions.
31 changes: 31 additions & 0 deletions _sass/base/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,34 @@ li {
@include u-text("primary-vivid");
}
}
.usa-link--icon{
text-decoration: underline;
}
.usa-link--icon::after {
background-image: url($baseurl + "/assets/images/icons/launch.svg");
background-repeat: no-repeat;
background-size: contain;
color: #1b2b85;
width: 1.75ex;
/* background-position: center; */
content: "";
display: inline-block;
height: 1.75ex;
margin-left: 2px;
margin-top: 0.7ex;
position: relative;
}

.usa-link-icon-alt::after {
background-image: url($baseurl + "/assets/images/icons/launch-white.svg");
background-repeat: no-repeat;
background-size: contain;
width: 1.75ex;
/* background-position: center; */
content: "";
display: inline-block;
height: 1.75ex;
margin-left: 2px;
margin-top: 0.7ex;
position: relative;
}
1 change: 1 addition & 0 deletions assets/images/icons/launch-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/images/icons/launch.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions pages/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h2>Diversity, Equity, Inclusion, & Accessibility</h2>
</p>
<p>
U.S. Digital Corps is proud to be an equal opportunity employer. Read our full EEO Statement
<a class="usa-link usa-link--alt usa-link--external" target="_blank" rel="noopener"
<a class="usa-link usa-link-icon-alt" target="_blank" rel="noopener"
href="https://www.gsa.gov/reference/civil-rights-programs/equal-employment-opportunity">here</a>.
</p>
</div>
Expand All @@ -153,9 +153,9 @@ <h2 class="text-ink padding-top-4">
The U.S. Digital Corps was launched in August 2021 by the Biden administration, in a collaboration between the
General Services Administration (GSA), the White House Office of Management and Budget, the Office of Personnel
Management, the Cybersecurity and Infrastructure Security Agency, and the White House Office of Science and
Technology Policy. It is a cross&#8209;government fellowship opportunity operated by the GSA’s <a class="usa-link usa-link--external"
Technology Policy. It is a cross&#8209;government fellowship opportunity operated by the GSA’s <a class="usa-link usa-link--icon"
href="https://www.gsa.gov/about-us/organization/federal-acquisition-service/technology-transformation-services">
Technology Transformation Services</a> (TTS).
Technology Transformation Services </a> (TTS).
</p>
<p class="text-left margin-bottom-0 padding-bottom-2">
The idea for a Digital Corps was sparked by technologists across government who identified a gap in the federal
Expand Down
8 changes: 4 additions & 4 deletions pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h3 class="twoline">Mentorship and <br class="display-none tablet:display-inline
<a class="usa-button" href="{{site.baseurl}}/fellows/">
<div class="box-pane">
<h2>Our Fellows</h2>
<p class="usa-link--alt usa-link--external">
<p>
Read more about our USDC Fellows
</p>
</div>
Expand All @@ -109,7 +109,7 @@ <h2>Our Fellows</h2>
<a class="usa-button" href="{{site.baseurl}}/projects/">
<div class="box-pane">
<h2>Agency Impact</h2>
<p class="usa-link--alt usa-link--external">
<p>
Make a difference for the American public
</p>
</div>
Expand All @@ -127,7 +127,7 @@ <h2>Agency Impact</h2>
<a class="usa-button" href="{{site.baseurl}}/opportunity/">
<div class="box-pane">
<h2>The Opportunity</h2>
<p class="usa-link--alt usa-link--external">
<p>
Work on meaningful innovation
</p>
</div>
Expand All @@ -141,7 +141,7 @@ <h2>The Opportunity</h2>
<a class="usa-button" href="{{site.baseurl}}/about/">
<div class="box-pane">
<h2>Who we are</h2>
<p class="usa-link--alt usa-link--external">
<p>
Learn about our mission and values
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion pages/process.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ <h3 class="usa-process-list__heading">Understand your eligibility</h3>
<li>
You meet the eligibility requirements for the Pathways Recent Graduates program <strong>(currently enrolled students must graduate by July 14, 2024 to be eligible)</strong>:
<ul>
<li>You are a recent graduate who has received an associates, bachelors, masters, professional, doctorate degree or certificate from a <a target="_blank" href="https://ope.ed.gov/dapip/" data-proofer-ignore>qualifying educational institution</a> within the past two years (November 2021 or after), <strong>OR</strong></li>
<li>You are a recent graduate who has received an associates, bachelors, masters, professional, doctorate degree or certificate from a <a class="usa-link usa-link--icon" target="_blank" href="https://ope.ed.gov/dapip/" data-proofer-ignore>qualifying educational institution</a> within the past two years (November 2021 or after), <strong>OR</strong></li>
<li>You are a preference-eligible Veteran who was precluded from applying within two years of meeting the above educational requirements due to a military service obligation. You have been discharged/released from active duty within the last two years, and it has not been more than six years from the date you originally met the educational requirements.</li>
</ul>
</li>
Expand Down

0 comments on commit 964677f

Please sign in to comment.