animation broken thanks to GH pages

This commit is contained in:
micah rich 2019-08-29 19:26:22 -04:00
parent 37e8a45204
commit 7167e40825
3 changed files with 10 additions and 8 deletions

View File

@ -44,7 +44,7 @@ export default () => {
const [hoverRef, hovering] = useHover();
return (
<Logo hovering={hovering}>
<Logo>
<motion.a
href="#download"
ref={hoverRef}

View File

@ -1,9 +1,8 @@
const withMDX = require('@zeit/next-mdx')({
const withMDX = require("@zeit/next-mdx")({
extension: /\.mdx?$/
})
});
module.exports = withMDX({
pageExtensions: ['js', 'jsx', 'mdx'],
assetPrefix: process.env.NODE_ENV === 'production' ? '/lexend' : ''
})
pageExtensions: ["js", "jsx", "mdx"],
assetPrefix: process.env.NODE_ENV === "production" ? "/lexend" : ""
});

View File

@ -1,4 +1,7 @@
{
"version": 2,
"builds": [{ "src": "package.json", "use": "@now/static-build" }]
"builds": [{ "src": "package.json", "use": "@now/static-build" }],
"env": {
"ASSETPREFIX": ""
}
}