Skip to content

Commit

Permalink
Moved to CDN and downgraded next
Browse files Browse the repository at this point in the history
Downgraded next to 10.0.6 because of a mem leak introduced in 10.0.7
 - vercel/next.js#23189
  • Loading branch information
timcole committed Mar 21, 2021
1 parent bf1baab commit 7d383f4
Show file tree
Hide file tree
Showing 4 changed files with 829 additions and 123 deletions.
17 changes: 11 additions & 6 deletions components/landing/landing.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import Image from 'next/image';
import Countdown from './countdown'
import LaunchInfo from './launchinfo'
import Image from "next/image";
import Countdown from "./countdown";
import LaunchInfo from "./launchinfo";

export default function Landing() {
return (
<div className="bg-black min-h-screen min-w-screen">
<Image className="opacity-50 z-0" src="/soyuz.jpg" alt="" layout="fill" />
<Image
className="opacity-50 z-0"
src="https://constellation.spaceflight.live/soyuz.jpg"
alt=""
layout="fill"
/>
<div className="flex">
<div className="flex-1 z-10 content-center text-center">
<LaunchInfo />
Expand All @@ -15,5 +20,5 @@ export default function Landing() {
</div>
</div>
</div>
)
}
);
}
5 changes: 5 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
images: {
domains: ["constellation.spaceflight.live"],
},
};
Loading

0 comments on commit 7d383f4

Please sign in to comment.