Skip to content

Commit

Permalink
Add: landing redirect
Browse files Browse the repository at this point in the history
Redirect landing page to Rhino Linux news, similar to Fedora launching firefox on fedoramagazine.
  • Loading branch information
ajstrongdev committed Oct 23, 2024
1 parent f7f3a86 commit 5b2993d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 12 additions & 0 deletions src/pages/landing.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { useEffect } from 'react';
import { useRouter } from 'next/router';

export default function Home() {
const router = useRouter();

useEffect(() => {
router.push('https://blog.rhinolinux.org');
}, [router]);

return null; // Don't render anything.
}
4 changes: 0 additions & 4 deletions src/styles/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -915,10 +915,6 @@ video {
padding: 1rem;
}

.p-8 {
padding: 2rem;
}

.p-6 {
padding: 1.5rem;
}
Expand Down

0 comments on commit 5b2993d

Please sign in to comment.