Skip to content

Commit cf2b102

Browse files
committed
added images to card
1 parent 158da47 commit cf2b102

7 files changed

+34
-10
lines changed

components/LoginHomePage.tsx

+19-9
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ import Image from "next/image";
1515
import investmentCardImg1 from "@/public/investment/investment_image1.png";
1616
import investmentCardImg2 from "@/public/investment/investment_image2.jpeg";
1717
import investmentCardImg3 from "@/public/investment/investment_image3.jpeg";
18+
import governmentCardImg1 from "@/public/government/crypto.png";
19+
import governmentCardImg2 from "@/public/government/farm.png";
20+
import governmentCardImg3 from "@/public/government/military-family.jpg";
21+
import governmentCardImg4 from "@/public/government/rocket.jpg";
1822
import airlineLoginHeroBackground from "@/assets/img/airways/airline-login-hero-background.jpeg";
1923

2024
interface LoginHomePageProps {
@@ -183,23 +187,29 @@ export default function LoginHomePage({ variant, name, ...props }: LoginHomePage
183187
{variant === "government" && (
184188
<HomePageCardWrapper>
185189
<HomePageInfoCard
186-
imgSrc={investmentCardImg1.src}
187-
headerTitleText="Are returns worth the risk in investing in the market?"
188-
subtitleText="Emerging-market local-currency bonds have rallied sharply since last October, along with other risky segments of the global bond market. "
190+
imgSrc={governmentCardImg1.src}
191+
headerTitleText="Cybersecurity"
192+
subtitleText="FedRAMP Authorized"
189193
key={1}
190194
/>
191195
<HomePageInfoCard
192-
imgSrc={investmentCardImg2.src}
193-
headerTitleText="Fed to consumers: Inflation trending lower daily."
194-
subtitleText="Inflation looks to still be trending lower, but a relatively stubborn decline will likely inspire the Fed to start cutting rates later (and slower) than expected."
196+
imgSrc={governmentCardImg2.src}
197+
headerTitleText="Resiliency"
198+
subtitleText="Scalable architecture with 99.99% SLA"
195199
key={2}
196200
/>
197201
<HomePageInfoCard
198-
imgSrc={investmentCardImg3.src}
199-
headerTitleText="Here’s how markets are moving this week."
200-
subtitleText="With thematic investing, you can choose from 40+ customizable themes, each with up to 25 research-backed stocks."
202+
imgSrc={governmentCardImg3.src}
203+
headerTitleText="Trust"
204+
subtitleText="Optimized citizen services"
201205
key={3}
202206
/>
207+
<HomePageInfoCard
208+
imgSrc={governmentCardImg4.src}
209+
headerTitleText="Quality"
210+
subtitleText="Dark launches reduce risk"
211+
key={4}
212+
/>
203213
</HomePageCardWrapper>
204214
)}
205215

components/ui/logincomponent.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import toggleBankVerticalLogo from '@/public/banking/toggleBank_logo_vertical.sv
1717
import frontierCapitalVerticalLogo from '@/public/investment/frontier_capital_logo_vertical.svg'
1818
import launchAirwaysVerticalLogo from '@/public/airline/launch_airways_logo_vertical.svg'
1919
import galaxyMarketplaceVerticalLogo from '@/public/marketplace/galaxy_marketplace_logo_vertical.svg'
20-
import bureauOfRiskReductionHorizontalLogo from "@/public/government/Bureau_of_Risk_Reduction_Logo_White_Horizontal.svg";
20+
import bureauOfRiskReductionHorizontalLogo from "@/public/government/Bureau_of_Risk_Reduction_Logo_Black_Vertical.svg";
2121

2222
const variantToImageMap = {
2323
bank: toggleBankVerticalLogo.src,

public/government/Bureau_of_Risk_Reduction_Logo_Black_Vertical.svg

+14
Loading

public/government/crypto.png

2.5 MB
Loading

public/government/farm.png

1.72 MB
Loading

public/government/military-family.jpg

10.5 MB
Loading

public/government/rocket.jpg

117 KB
Loading

0 commit comments

Comments
 (0)