-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: new ui #44
feature: new ui #44
Conversation
✅ Deploy Preview for cosmos-proposal-builder ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
src/components/BundleForm.tsx
Outdated
<div className="space-y-12 sm:space-y-16"> | ||
<div> | ||
<h2 className="text-base font-semibold leading-7 text-gray-900"> | ||
<h2 className="text-[28px] font-semibold text-[#0F3941]"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Can we add the new colors to tailwind.config.js, and refer to them by names?
Also seems you may need to -
- run
yarn lint:fix
, and make sureyarn lint
passes (CI is failing) - rebase against
main
- it seems your build does not include chore: bump ses #42 for some reason, as i seeTypeError#1: Accessor not expected at intrinsics.%IteratorPrototype%.constructor
when visiting the netlify preview url
src/components/Tabs.tsx
Outdated
<div className="w-full max-w-4xl px-2 py-2 sm:px-0 m-auto"> | ||
<Tab.Group selectedIndex={selectedIdx} onChange={handleChange}> | ||
<Tab.List className="flex space-x-1 rounded-xl bg-teal-900/20 p-1"> | ||
{tabs.map(({ title }) => ( | ||
<Tab | ||
key={title} | ||
className={({ selected }) => | ||
classNames( | ||
"w-full rounded-lg py-2.5 text-sm font-medium leading-5 text-teal-700", | ||
"ring-white ring-opacity-60 ring-offset-2 ring-offset-teal-400 focus:outline-none focus:ring-2", | ||
selected | ||
? "bg-white shadow" | ||
: "text-teal-100 hover:bg-white/[0.12] hover:text-white", | ||
) | ||
} | ||
> | ||
{title} | ||
</Tab> | ||
))} | ||
</Tab.List> | ||
<Tab.Panels className="mt-6"> | ||
{tabs.map(({ content }, idx) => ( | ||
<Tab.Panel | ||
key={idx} | ||
unmount={false} | ||
className="flex flex-col min-w-full rounded-xl bg-white p-3" | ||
> | ||
{content} | ||
</Tab.Panel> | ||
))} | ||
</Tab.Panels> | ||
<div className={"flex flex-wrap rounded-xl bg-white"}> | ||
<div className={"basis-full md:basis-5/12 md:p-[40px]"}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.