Skip to content
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.

Commit

Permalink
fix: 🚑️ /privacy bad rendering fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dalechyn committed Feb 10, 2023
1 parent 7100e5d commit 7a0eaac
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 14 deletions.
7 changes: 2 additions & 5 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ const withMDX = require('@next/mdx')({
// as the package is ESM only
// https://github.com/remarkjs/remark-gfm#install
remarkPlugins: [],
rehypePlugins: []
rehypePlugins: [],
// If you use `MDXProvider`, uncomment the following line.
// providerImportSource: "@mdx-js/react",
providerImportSource: '@mdx-js/react'
}
})

Expand Down Expand Up @@ -45,8 +45,5 @@ module.exports = withMDX({
})

return config
},
options: {
providerImportSource: '@mdx-js/react'
}
})
2 changes: 1 addition & 1 deletion pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default function MyApp(props: MyAppProps) {
return (
<>
<Head>
<link rel="shortcut icon" href="/favicon.svg" />
<link rel="shortcut icon" href="/favicon.ico" />
<title>Spilnota - Synergising ideas & communities</title>
<meta
name="title"
Expand Down
7 changes: 1 addition & 6 deletions pages/privacy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,8 @@ We may share your personal data with third parties to help us provide the Servic

We do not sell, license, lease or otherwise disclose your information except as described in this Privacy Policy.

We share your personal data with the following third parties:

NFTport: may log your wallet address

Alchemy: may log your wallet address

## **Online Privacy Policy Only**>
## **Online Privacy Policy Only**

This Privacy Policy applies only to our online activities and is valid for visitors to our website with regards to the information that they shared and/or collect in Spilnota. This policy is not applicable to any information collected offline or via channels other than this website.

Expand Down
2 changes: 1 addition & 1 deletion ui/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export type LinkProps = Partial<TextProps> & {
}

export const Link = ({ href, ...rest }: LinkProps) => {
const startsWithHash = href.startsWith('#')
const startsWithHash = href.startsWith('#') || href.startsWith('/')
return (
<NextLink
href={href}
Expand Down
2 changes: 1 addition & 1 deletion views/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const Header = (props: HeaderProps) => {
}
{...props}
>
<Link href="#products">Products</Link>
<Link href="/#products">Products</Link>
<Link href="https://spilnota.notion.site/Introduction-to-Spilnota-4108c9f28b3741ebb46fc1308f3fcb87">
About Us
</Link>
Expand Down

2 comments on commit 7a0eaac

@vercel
Copy link

@vercel vercel bot commented on 7a0eaac Feb 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 7a0eaac Feb 10, 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.