Skip to content

Commit

Permalink
Merge pull request #757 from kingbary/feat/create-inbuilt-email-template
Browse files Browse the repository at this point in the history
Feat/create inbuilt email template[team-kimiko]
  • Loading branch information
kleenpulse authored Jul 30, 2024
2 parents 406aac9 + 4446c35 commit cab403d
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ const PageHeader: FC<IProperties> = ({ title, description }) => {
>
{title}
</h1>
<p
data-testid="page-description"
className="text-base text-neutral-dark-2"
>
<p data-testid="page-description" className="text-base text-[#8E8E93]">
{description}
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import { EllipsisVertical, Eye, Redo, Undo } from "lucide-react";

import { Button } from "~/components/common/common-button";
import PageHeader from "../../_components/page-header";

export default function page() {
return (
<div>
<div className="flex flex-col items-center justify-between sm:flex-row sm:gap-6">
<PageHeader
title="Edit template"
description="Paste your HTML code below to generate your email template."
/>
<div className="w-full sm:max-w-[40%]">
<div className="flex w-full items-center justify-between">
<button title="Preview">
<Eye color="#141414" />
</button>
<button title="Undo">
<Undo color="#141414" />
</button>
<button title="Redo">
<Redo color="#141414" />
</button>
<Button className="bg-primary">Send</Button>
<button>
<EllipsisVertical color="#141414" />
</button>
</div>
</div>
</div>
<div className="mt-12 flex items-center sm:mt-20 md:ml-4 lg:mb-[213px] lg:ml-[89px] lg:mt-[156px]">
<div className="h-40 w-full">
{/* YOUR EDIT TEMPLATE COMPONENTS GOES HERE ACCORRDING */}
{/* CREATE A FLEX CONTAINER TO HOUSE THE TEMPLATE AREA AND THE SIDEBAR ICONS */}
</div>
</div>
</div>
);
}

0 comments on commit cab403d

Please sign in to comment.