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

Bump next-mdx-remote from 4.1.0 to 4.3.0 #3

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/ArticleCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface ArticleCardProps {

export default function ArticleCard({ title, slug, imageUrl, description }: ArticleCardProps) {
return (
<NextLink href={'/blog/' + slug} passHref>
<NextLink href={'/blog/' + slug} passHref legacyBehavior>
<ArticleCardWrapper className="article-card-wrapper">
<HoverEffectContainer>
<ImageContainer>
Expand Down
20 changes: 10 additions & 10 deletions components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,21 @@ export default function Footer() {
<BottomBar>
<ShareBar>
<NextLink href="https://www.twitter.com/my-saas-startup" passHref>
<a>
<TwitterIcon size={50} round={true} />
</a>

<TwitterIcon size={50} round={true} />

</NextLink>

<NextLink href="https://www.facebook.com/my-saas-startup" passHref>
<a>
<FacebookIcon size={50} round={true} />
</a>

<FacebookIcon size={50} round={true} />

</NextLink>

<NextLink href="https://www.linkedin.com/my-saas-startup" passHref>
<a>
<LinkedinIcon size={50} round={true} />
</a>

<LinkedinIcon size={50} round={true} />

</NextLink>
</ShareBar>
<Copyright>&copy; Copyright 2019 Mediajel.io</Copyright>
Expand All @@ -99,7 +99,7 @@ function ListItem({ title, href }: SingleFooterListItem) {
return (
<ListItemWrapper>
<NextLink href={href} passHref>
<a>{title}</a>
{title}
</NextLink>
</ListItemWrapper>
);
Expand Down
2 changes: 1 addition & 1 deletion components/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface LinkProps {

export default function Link({ href, children }: PropsWithChildren<LinkProps>) {
return (
<NextLink href={href} passHref>
<NextLink href={href} passHref legacyBehavior>
<Anchor>{children}</Anchor>
</NextLink>
);
Expand Down
4 changes: 2 additions & 2 deletions components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default function Navbar({ items }: NavbarProps) {
return (
<NavbarContainer hidden={isNavbarHidden} transparent={isTransparent}>
<Content>
<NextLink href="/" passHref>
<NextLink href="/" passHref legacyBehavior>
<LogoWrapper>
<Logo />
</LogoWrapper>
Expand Down Expand Up @@ -102,7 +102,7 @@ function NavItem({ href, title, outlined }: SingleNavItem) {
return (
<NavItemWrapper outlined={outlined}>
<NextLink href={href} passHref>
<a>{title}</a>
{title}
</NextLink>
</NavItemWrapper>
);
Expand Down
6 changes: 3 additions & 3 deletions components/NavigationDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ function NavItemsList({ items }: NavigationDrawerProps) {
{items.map((singleItem, idx) => {
return (
<NavItem key={idx}>
<NextLink href={singleItem.href}>{singleItem.title}</NextLink>
<NextLink href={singleItem.href} legacyBehavior>{singleItem.title}</NextLink>
</NavItem>
)
);
})}
</ul>
)
);
}

function DrawerCloseButton() {
Expand Down
50 changes: 24 additions & 26 deletions components/WaveCta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,30 @@ import { media } from 'utils/media';
export default function WaveCta() {
const { setIsModalOpened } = useNewsletterModalContext();

return (
<>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none">
<path
fill="#0A121E"
fillOpacity="1"
d="M0,64L80,58.7C160,53,320,43,480,80C640,117,800,203,960,197.3C1120,192,1280,96,1360,48L1440,0L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"
></path>
</svg>
<CtaWrapper>
<Container>
<Title>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Temporibus delectus?</Title>
<CustomButtonGroup>
<Button onClick={() => setIsModalOpened(true)}>
Subscribe to the newsletter2 <span>&rarr;</span>
</Button>
<NextLink href="/features" passHref>
<OutlinedButton transparent>
Features <span>&rarr;</span>
</OutlinedButton>
</NextLink>
</CustomButtonGroup>
</Container>
</CtaWrapper>
</>
);
return <>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none">
<path
fill="#0A121E"
fillOpacity="1"
d="M0,64L80,58.7C160,53,320,43,480,80C640,117,800,203,960,197.3C1120,192,1280,96,1360,48L1440,0L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"
></path>
</svg>
<CtaWrapper>
<Container>
<Title>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Temporibus delectus?</Title>
<CustomButtonGroup>
<Button onClick={() => setIsModalOpened(true)}>
Subscribe to the newsletter2 <span>&rarr;</span>
</Button>
<NextLink href="/features" passHref legacyBehavior>
<OutlinedButton transparent>
Features <span>&rarr;</span>
</OutlinedButton>
</NextLink>
</CustomButtonGroup>
</Container>
</CtaWrapper>
</>;
}

const CtaWrapper = styled.div`
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
"date-fns": "^2.24.0",
"gray-matter": "^4.0.3",
"lodash": "^4.17.21",
"next": "12.0.11-canary.15",
"next": "^13.1.6",
"nextjs-color-mode": "^1.0.5",
"polished": "^4.1.3",
"prism-react-renderer": "^1.3.5",
"react": "17.0.2",
"react": "^18.2.0",
"react-animate-height": "^2.0.23",
"react-dom": "17.0.2",
"react-dom": "^18.2.0",
"react-hook-form": "^7.17.4",
"react-mailchimp-subscribe": "^2.1.3",
"react-schemaorg": "^2.0.0",
Expand Down Expand Up @@ -52,15 +52,15 @@
"babel-eslint": "^10.1.0",
"copy-webpack-plugin": "^11.0.0",
"eslint": "^7.32.0",
"eslint-config-next": "^11.1.2",
"eslint-config-next": "^13.1.6",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.9.2",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react-hooks": "^4.6.0",
"next-mdx-remote": "^4.1.0",
"next-mdx-remote": "^4.3.0",
"remark-breaks": "^3.0.1",
"remark-external-links": "^9.0.1",
"remark-footnotes": "^4.0.1",
Expand Down
4 changes: 2 additions & 2 deletions views/HomePage/Cta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ export default function Cta() {
now and start seeing real results.
</Description>
<ButtonGroup>
<NextLink href="#early-access" passHref>
<NextLink href="#early-access" passHref legacyBehavior>
<Button>
Subscribe to the newsletter <span>&rarr;</span>
</Button>
</NextLink>
<NextLink href="#whitepaper" passHref>
<NextLink href="#whitepaper" passHref legacyBehavior>
<OutlinedButton transparent>
Features <span>&rarr;</span>
</OutlinedButton>
Expand Down
2 changes: 1 addition & 1 deletion views/HomePage/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function Hero() {
<Button onClick={() => setIsModalOpened(true)}>
Let's Connect <span>&rarr;</span>
</Button>
<NextLink href="#whitepaper" passHref>
<NextLink href="#whitepaper" passHref legacyBehavior>
<Button transparent>
Features <span>&rarr;</span>
</Button>
Expand Down
Loading