seas-computing / mark-one

A UI component library for building React Apps (in development)
https://seas-computing.github.io/mark-one/
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Create ExternalLink component #76

Closed jonseitz closed 3 years ago

jonseitz commented 3 years ago

Our existing Link component is a wrapper around ReactRouter's Link, so we can only use it for navigation within the app. This ExternalLink is just a styled.a with CSS to match the Link, so that we can create links to external pages that look similar.

The specific use case for this is the "log out" link from #246

codecov[bot] commented 3 years ago

Codecov Report

Merging #76 into develop will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop      #76   +/-   ##
========================================
  Coverage    98.12%   98.12%           
========================================
  Files           41       41           
  Lines          480      480           
  Branches        87       87           
========================================
  Hits           471      471           
  Misses           5        5           
  Partials         4        4           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4d8867b...0213e27. Read the comment docs.