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

feat: Migrate SideNav to Shadcn/Tailwind #14508

Open
wants to merge 13 commits into
base: dev
Choose a base branch
from

Conversation

ashiskumar-1999
Copy link
Contributor

@ashiskumar-1999 ashiskumar-1999 commented Dec 14, 2024

Description

Migrated the necessary chakra-UI imports to Shadcn/TailwindCSS.
#13946

Copy link

netlify bot commented Dec 14, 2024

Deploy Preview for ethereumorg failed.

Name Link
🔨 Latest commit c105780
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/677e18b62d4fcb0008f29092

@ashiskumar-1999 ashiskumar-1999 changed the title Migrated the Chakra-UI imports to Shadcn/Tailwind feat: Migrate SideNav to Shadcn/Tailwind Dec 14, 2024
@pettinarip pettinarip mentioned this pull request Dec 26, 2024
39 tasks
Copy link

gitguardian bot commented Dec 30, 2024

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@@ -2,7 +2,7 @@ import { useEffect, useState } from "react"
import { motion } from "framer-motion"
import { useTranslation } from "next-i18next"
import { MdChevronRight } from "react-icons/md"
import { Box, HStack, Icon } from "@chakra-ui/react"
import { Box } from "@chakra-ui/react"
Copy link
Member

Choose a reason for hiding this comment

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

This needs to be migrated too.

ps={8}
_hover={{ bgColor: "ednBackground" }}
>
<HStack className="w-full justify-between py-2 pe-4 ps-8 hover:bg-[ednBackground]">
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<HStack className="w-full justify-between py-2 pe-4 ps-8 hover:bg-[ednBackground]">
<HStack className="w-full justify-between py-2 pe-4 ps-8 hover:bg-background-highlight">

>
<Icon as={MdChevronRight} boxSize={6} color="secondary" />
</Box>
<MdChevronRight className="h-6 w-6" color="secondary" />
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<MdChevronRight className="h-6 w-6" color="secondary" />
<MdChevronRight className="h-6 w-6" color="secondary" />
Suggested change
<MdChevronRight className="h-6 w-6" color="secondary" />
<MdChevronRight className="h-6 w-6 text-body-medium" />

borderInlineEndColor="border"
display={{ base: "none", lg: "block" }}
<nav
className="sticky top-[4.75rem] pt-8 pb-16 h-[calc(100vh - 80px)] w-[calc((100% - 1448px) / 2 + 256px)] min-w-256 overflow-y-auto transition-transform duration-200 ease bg-[background.base] shadow-[1px_0px_0px_rgba(0,0,0,0.1)] border-e border-e-border lg:block"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
className="sticky top-[4.75rem] pt-8 pb-16 h-[calc(100vh - 80px)] w-[calc((100% - 1448px) / 2 + 256px)] min-w-256 overflow-y-auto transition-transform duration-200 ease bg-[background.base] shadow-[1px_0px_0px_rgba(0,0,0,0.1)] border-e border-e-border lg:block"
className="sticky top-[4.75rem] pt-8 pb-16 h-[calc(100vh - 80px)] w-[calc((100% - 1448px) / 2 + 256px)] min-w-256 overflow-y-auto transition-transform duration-200 ease bg-background shadow-[1px_0px_0px_rgba(0,0,0,0.1)] border-e border-e-border lg:block"

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.

2 participants