Skip to content

Commit 6af6ba7

Browse files
include images in bundle
1 parent 5f46bef commit 6af6ba7

File tree

12 files changed

+24
-12
lines changed

12 files changed

+24
-12
lines changed

lib/composite/footer/logo-banner.jsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
const base = import.meta.env.BASE_URL;
2+
import armyLogo from "../../img/armystar-logo-rb.svg";
3+
import usaceLogo from "../../img/usace-logo-color.svg";
4+
import rsgisLogo from "../../img/rsgis-logo.png";
5+
import cwbiLogo from "../../img/cwbi-logo.png";
26

37
function LogoBanner({ army, usace, rsgis, cwbi }) {
48
return (
59
<div className="flex flex-row justify-center align-middle gap-6 mb-4">
610
{army && (
711
<a href="https://www.army.mil" target="_blank" rel="noopener">
8-
<img
9-
src={`${base}armystar-logo-rb.svg`}
10-
alt="U.S. Army"
11-
className="max-h-[75px]"
12-
/>
12+
<img src={armyLogo} alt="U.S. Army" className="max-h-[75px]" />
1313
</a>
1414
)}
1515
{usace && (
1616
<a href="https://www.usace.army.mil" target="_blank" rel="noopener">
1717
<img
18-
src={`${base}usace-logo-color.svg`}
18+
src={usaceLogo}
1919
alt="U.S. Army Corps of Engineers"
2020
className="max-h-[75px] h-[75px] w-auto"
2121
/>
@@ -28,7 +28,7 @@ function LogoBanner({ army, usace, rsgis, cwbi }) {
2828
rel="noopener"
2929
>
3030
<img
31-
src={`${base}rsgis-logo.png`}
31+
src={rsgisLogo}
3232
alt="Remote Sensing - GIS Center of Expertise"
3333
className="max-h-[75px]"
3434
/>
@@ -41,7 +41,7 @@ function LogoBanner({ army, usace, rsgis, cwbi }) {
4141
rel="noopener"
4242
>
4343
<img
44-
src={`${base}cwbi-logo.png`}
44+
src={cwbiLogo}
4545
alt="Civil Works Business Intelligence"
4646
className="max-h-[75px]"
4747
/>

lib/composite/header/index.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NavbarLinks } from "./navbar-links";
2-
3-
const base = import.meta.env.BASE_URL;
2+
import usaceLogo from "../../img/usace-logo-color.svg";
3+
import magnifyingGlass from "../../img/Magnifying_glass_icon.svg";
44

55
function classNames(...classes) {
66
return classes.filter(Boolean).join(" ");
@@ -33,7 +33,7 @@ function Logo() {
3333
return (
3434
<div className="absolute left-[15px] bottom-[-15px] w-[82px] z-10">
3535
<a href="/">
36-
<img className="h-[50px] w-auto" src={`${base}usace-logo-color.svg`} />
36+
<img className="h-[50px] w-auto" src={usaceLogo} />
3737
</a>
3838
<div className="absolute left-[65px] bottom-[-9px] text-sm text-black">
3939
®
@@ -47,7 +47,7 @@ function Search() {
4747
<input
4848
style={{
4949
order: 2,
50-
backgroundImage: `url("${base}Magnifying_glass_icon.svg")`,
50+
backgroundImage: `url("${magnifyingGlass}")`,
5151
backgroundSize: "13px",
5252
backgroundRepeat: "no-repeat",
5353
backgroundPosition: "10px center",

lib/img/Magnifying_glass_icon.svg

Lines changed: 5 additions & 0 deletions
Loading

lib/img/armystar-logo-rb.svg

Lines changed: 4 additions & 0 deletions
Loading

lib/img/cwbi-logo.png

35.6 KB
Loading

lib/img/essayonscrest.png

7.08 KB
Loading

lib/img/icon-dot-gov.svg

Lines changed: 1 addition & 0 deletions
Loading

lib/img/icon-https.svg

Lines changed: 1 addition & 0 deletions
Loading

lib/img/nww-lucky-peak-dam.jpg

192 KB
Loading

lib/img/rsgis-logo.png

11.3 KB
Loading

0 commit comments

Comments
 (0)