Skip to content

Commit

Permalink
chore: Update npm packages
Browse files Browse the repository at this point in the history
Signed-off-by: Souptik Datta <[email protected]>
  • Loading branch information
Souptik2001 committed Nov 25, 2023
1 parent e629eeb commit 78245c1
Show file tree
Hide file tree
Showing 6 changed files with 1,863 additions and 8,307 deletions.
2 changes: 1 addition & 1 deletion components/Button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Button = ({children, isExternal=false, ...props}) => {
const { link="#", ...rest } = props;

return(
<Link href={link}>
<Link href={link} legacyBehavior>
<ChakraLink style={{ textDecoration: 'none' }} isExternal={isExternal}>
<Box
as='button'
Expand Down
2 changes: 1 addition & 1 deletion components/Home/Blogcard.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function Blogcard({ data, styles, ...rest }) {

return (

<Link href={`/blog/${slug}`}>
<Link href={`/blog/${slug}`} legacyBehavior>
<ChakraLink style={{textDecoration: 'none'}}>
<Box className={styles.blog} {...rest}>
<Heading fontWeight="300" className={styles.b_head}>
Expand Down
2 changes: 2 additions & 0 deletions components/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ const MenuItem = ({ children, isLast, to = "/", ...rest }) => {
return (
<Link
href={to}
passHref
legacyBehavior
>
<ChakraLink
fontWeight="600"
Expand Down
2 changes: 1 addition & 1 deletion components/User/Blogcard.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function Blogcard({ data, styles, ...rest }) {
return (

<Flex width="100%" flexDirection="column" justifyContent="center" alignItems="center">
<Link href={`/blog/${slug}`}>
<Link href={`/blog/${slug}`} legacyBehavior>
<ChakraLink width={["100%", null, null, "50%"]} style={{textDecoration: 'none'}}>
<Box className={styles.blog} {...rest}>
<Heading fontWeight="300" fontSize="20px" className={styles.b_head}>
Expand Down
Loading

1 comment on commit 78245c1

@vercel
Copy link

@vercel vercel bot commented on 78245c1 Nov 25, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.