Skip to content

Commit

Permalink
New page & misc changes
Browse files Browse the repository at this point in the history
New page: Issued assets overview
  • Loading branch information
grctest committed Sep 15, 2024
1 parent 7a34608 commit 03c18d0
Show file tree
Hide file tree
Showing 35 changed files with 693 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/components/CreditBorrow.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export default function CreditBorrow(properties) {
function CommonRow({ index, style, res, foundAsset }) {
return (
<div style={{ ...style }} key={`acard-${res.id}`}>
<Card className="ml-2 mr-2" onClick={() => {}}>
<Card className="ml-2 mr-2">
<CardHeader className="pb-1">
<CardTitle>
{t("CreditBorrow:common.title", {
Expand Down
2 changes: 1 addition & 1 deletion src/components/CreditDeals.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ export default function CreditDeals(properties) {

return (
<div style={{ ...style }} key={`acard-${res.id}`}>
<Card className="ml-2 mr-2 pb-3" onClick={() => {}}>
<Card className="ml-2 mr-2 pb-3">
<CardHeader className="pb-1">
<CardTitle>
{t("CreditDeals:dealNo")}
Expand Down
2 changes: 1 addition & 1 deletion src/components/CreditOffers.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default function CreditOffers(properties) {
function CommonRow({ index, style, res, foundAsset }) {
return (
<div style={{ ...style }} key={`acard-${res.id}`}>
<Card className="ml-2 mr-2" onClick={() => {}}>
<Card className="ml-2 mr-2">
<CardHeader className="pb-1">
<CardTitle>
{t("CreditBorrow:common.title", {
Expand Down
20 changes: 20 additions & 0 deletions src/components/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,26 @@ export default function Home(properties) {
</ul>
</HoverCardContent>
</HoverCard>

<HoverCard key="issued_assets">
<HoverCardTrigger asChild>
<a href="/issued_assets/index.html" style={{ textDecoration: "none" }}>
<Card className="h-full hover:shadow-md hover:shadow-black">
<CardHeader>
<CardTitle>{t("Home:issued_assets.title")}</CardTitle>
<CardDescription>{t("Home:issued_assets.subtitle")}</CardDescription>
</CardHeader>
</Card>
</a>
</HoverCardTrigger>
<HoverCardContent className="w-80 text-sm pt-1">
<ul className="ml-2 list-disc [&>li]:mt-2">
<li>{t("Home:issued_assets.hover1")}</li>
<li>{t("Home:issued_assets.hover2")}</li>
<li>{t("Home:issued_assets.hover3")}</li>
</ul>
</HoverCardContent>
</HoverCard>
</div>

<h4 className="mt-3 mb-2">
Expand Down
Loading

0 comments on commit 03c18d0

Please sign in to comment.