Temporary fixed link; Added flag

This commit is contained in:
Andrew Lee 2023-05-18 18:00:25 -04:00
parent b12ffd27f3
commit 38dbc1b212
Signed by: andrew
GPG key ID: 4DCE67C47836D125
3 changed files with 105 additions and 7 deletions

View file

@ -1,4 +1,5 @@
import Link from 'next/link'
import Image from 'next/image'
export default function Header() {
return (
@ -8,7 +9,7 @@ export default function Header() {
<div className="bg-green-800 py-3 px-2 text-white font-semibold text-right"><a href="https://aircs.racing/"><i className="fa fa-arrow-left mr-2"></i> aircs.racing</a></div>
<div className="flex items-center justify-between flex-wrap p-6 bg-slate-950">
<div className="flex items-center flex-shrink-0 text-white mr-6">
<p className="font-semibold text-xl tracking-tight">SEI.GOV</p>
<p className="font-semibold text-xl tracking-tight"><Image src="/sei_flag.svg" width={100} height={50} alt="SEI Flag"/></p>
</div>
<div className="flex items-center w-auto">
<div className="text-sm flex-grow">
@ -19,8 +20,8 @@ export default function Header() {
['fas fa-note-sticky', 'Reports', '/reports'],
].map(([icon, title, url]) => (
// eslint-disable-next-line react/jsx-key
<Link href={url} className="transition duration-150 ease-out hover:ease-in inline-block mt-0 text-base text-slate-300 hover:text-white mr-4 hover:bg-green-800 rounded-lg p-2">
<div>
<Link href={url}>
<div className="transition duration-150 ease-out hover:ease-in inline-block mt-0 text-base text-slate-300 hover:text-white mr-4 hover:bg-green-800 rounded-lg p-2">
<span className="mr-1">
<i className={icon}></i>
</span>

101
public/sei_flag.svg Executable file
View file

@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="211.211mm"
height="105.605mm"
viewBox="0 0 211.211 105.605"
version="1.1"
id="svg342"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
sodipodi:docname="sei_flag.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview344"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="0.33896955"
inkscape:cx="541.34655"
inkscape:cy="653.45102"
inkscape:window-width="1333"
inkscape:window-height="928"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs339" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<rect
style="fill:#ffffff;fill-opacity:1;stroke:#006604;stroke-width:4.62448;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect13508"
width="100.98102"
height="206.58652"
x="2.3122399"
y="-208.89876"
transform="rotate(90)" />
<rect
style="fill:#008080;fill-opacity:1;stroke:none;stroke-width:4.3203;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect13756"
width="201.93918"
height="12.663021"
x="4.650104"
y="46.471218" />
<rect
style="fill:#008080;fill-opacity:1;stroke:none;stroke-width:4.92458;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect13964"
width="96.361511"
height="12.663099"
x="4.6259756"
y="-111.93714"
transform="rotate(90)" />
<rect
style="fill:#4db2ff;fill-opacity:1;stroke:none;stroke-width:5.3683"
id="rect1469"
width="8.9559889"
height="222.76393"
x="-8.5152035"
y="5.8591862"
transform="matrix(0.38292131,-0.92378096,0.90933235,0.41607052,0,0)" />
<rect
style="fill:#4db2ff;fill-opacity:1;stroke:none;stroke-width:5.40211"
id="rect2146"
width="9.0114565"
height="224.19124"
x="-8.5621338"
y="5.8795133"
transform="matrix(0.38302341,-0.92373864,0.90938152,0.41596304,0,0)" />
<rect
style="fill:#4db2ff;fill-opacity:1;stroke:none;stroke-width:5.40211"
id="rect2148"
width="9.0114565"
height="224.19124"
x="87.567619"
y="-34.609497"
transform="matrix(0.38302341,0.92373864,0.90938152,-0.41596304,0,0)" />
<rect
style="fill:none;fill-opacity:1;stroke:#006604;stroke-width:4.62448;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3470"
width="100.98102"
height="206.58652"
x="2.3122399"
y="-208.89876"
transform="rotate(90)"
inkscape:export-filename="sei_flag.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

@ -1,4 +0,0 @@
<svg width="283" height="64" viewBox="0 0 283 64" fill="none"
xmlns="http://www.w3.org/2000/svg">
<path d="M141.04 16c-11.04 0-19 7.2-19 18s8.96 18 20 18c6.67 0 12.55-2.64 16.19-7.09l-7.65-4.42c-2.02 2.21-5.09 3.5-8.54 3.5-4.79 0-8.86-2.5-10.37-6.5h28.02c.22-1.12.35-2.28.35-3.5 0-10.79-7.96-17.99-19-17.99zm-9.46 14.5c1.25-3.99 4.67-6.5 9.45-6.5 4.79 0 8.21 2.51 9.45 6.5h-18.9zM248.72 16c-11.04 0-19 7.2-19 18s8.96 18 20 18c6.67 0 12.55-2.64 16.19-7.09l-7.65-4.42c-2.02 2.21-5.09 3.5-8.54 3.5-4.79 0-8.86-2.5-10.37-6.5h28.02c.22-1.12.35-2.28.35-3.5 0-10.79-7.96-17.99-19-17.99zm-9.45 14.5c1.25-3.99 4.67-6.5 9.45-6.5 4.79 0 8.21 2.51 9.45 6.5h-18.9zM200.24 34c0 6 3.92 10 10 10 4.12 0 7.21-1.87 8.8-4.92l7.68 4.43c-3.18 5.3-9.14 8.49-16.48 8.49-11.05 0-19-7.2-19-18s7.96-18 19-18c7.34 0 13.29 3.19 16.48 8.49l-7.68 4.43c-1.59-3.05-4.68-4.92-8.8-4.92-6.07 0-10 4-10 10zm82.48-29v46h-9V5h9zM36.95 0L73.9 64H0L36.95 0zm92.38 5l-27.71 48L73.91 5H84.3l17.32 30 17.32-30h10.39zm58.91 12v9.69c-1-.29-2.06-.49-3.2-.49-5.81 0-10 4-10 10V51h-9V17h9v9.2c0-5.08 5.91-9.2 13.2-9.2z" fill="#000"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB