Skip to content

Commit

Permalink
Init Active Sale, #4953
Browse files Browse the repository at this point in the history
  • Loading branch information
leocs2417 committed Oct 28, 2024
1 parent 871a617 commit 61d545a
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion packages/next-common/components/coretime/sales/active/index.jsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
import { NeutralPanel } from "next-common/components/styled/containers/neutralPanel";
import { TitleContainer } from "next-common/components/styled/containers/titleContainer";
import Divider from "next-common/components/styled/layout/divider";
import CoretimeSaleSummary from "next-common/components/coretime/salePanel/summary";
import useCoretimeSale from "next-common/context/coretime/sale/provider";

function CoretimeSalePanel() {
const coretimeSale = useCoretimeSale();

return (
<NeutralPanel className="p-6 text-textPrimary">
<h3 className="text16Bold">Coretime Sale #{coretimeSale.id}</h3>
<Divider className="my-4" />
<CoretimeSaleSummary data={coretimeSale} />
</NeutralPanel>
);
}

export default function CoretimeSalesActiveSale() {
return (
<div>
<TitleContainer className="mb-4">Active Sale</TitleContainer>
<NeutralPanel className="p-6">Coretime Sale #2</NeutralPanel>
<CoretimeSalePanel />
</div>
);
}

0 comments on commit 61d545a

Please sign in to comment.