Skip to content

Commit

Permalink
Add redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
emestabillo committed Aug 6, 2021
1 parent e3b430b commit 1f89611
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/PlanetImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function PlanetImage({ name, images, activeTab }) {
animate={{
opacity: 1,
y: 0,
transition: { duration: 0.4 },
transition: { duration: 0.5 },
}}
exit={{ opacity: 0 }}
>
Expand Down
9 changes: 9 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,13 @@ module.exports = withImages();

module.exports = {
reactStrictMode: true,
async redirects() {
return [
{
source: "/",
destination: "/Earth",
permanent: true,
},
];
},
};

0 comments on commit 1f89611

Please sign in to comment.