Skip to content
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

Merged
merged 12 commits into from
Mar 7, 2024
Merged

Conversation

norbert-berenyi
Copy link
Contributor

No description provided.

Copy link

netlify bot commented Feb 27, 2024

Deploy Preview for cosmos-proposal-builder ready!

Name Link
🔨 Latest commit c832f0b
🔍 Latest deploy log https://app.netlify.com/sites/cosmos-proposal-builder/deploys/65e054fef85b490008e33251
😎 Deploy Preview https://deploy-preview-44--cosmos-proposal-builder.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

<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]">
Copy link
Collaborator

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 sure yarn lint passes (CI is failing)
  • rebase against main - it seems your build does not include chore: bump ses #42 for some reason, as i see TypeError#1: Accessor not expected at intrinsics.%IteratorPrototype%.constructor when visiting the netlify preview url

Comment on lines 48 to 51
<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]"}>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we adjust this so more screen width is used? Currently seeing ~896px used on desktop where I'd expect to see ~1200px.

screenshot Screenshot 2024-02-28 at 3 06 19 PM

@FredRadford FredRadford merged commit c9491c4 into DCFoundation:main Mar 7, 2024
5 of 6 checks passed
@0xpatrickdev 0xpatrickdev mentioned this pull request Mar 7, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants