Skip to content

Commit

Permalink
Upd:
Browse files Browse the repository at this point in the history
  • Loading branch information
ajstrongdev committed Aug 24, 2024
1 parent 24b8c46 commit bcf1376
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 18 deletions.
4 changes: 2 additions & 2 deletions src/components/navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const baritems = [
goto: "News"
},
{
link: "https://docs.rhinolinux.org",
goto: "Documentation"
link: "https://wiki.rhinolinux.org",
goto: "Wiki"
},
{
link: "/community/",
Expand Down
18 changes: 18 additions & 0 deletions src/components/unicorn/hero.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import React from "react";

function Hero() {
return(
<div className="w-full p-4 lg:p-8">
<div className="lg:grid lg:grid-cols-2 lg:gap-4">
<div className="flex items-center justify-center">
<h1 className="text-6xl text-center">A desktop perfect for the power user.</h1>
</div>
<div className="relative overflow-hidden">
<img src="/img/home/image.png" className="w-[150%] lg:w-[200%] object-cover lg:object-left rounded-[0.65em] shadow-lg" />
</div>
</div>
</div>
)
}

export default Hero;
16 changes: 0 additions & 16 deletions src/pages/news.jsx

This file was deleted.

11 changes: 11 additions & 0 deletions src/pages/unicorn.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from "react";
import Menu from "../components/navbar";
import Hero from "../components/unicorn/hero";

export default function Home() {
return(
<main>
<Menu />
<Hero />
);
};

0 comments on commit bcf1376

Please sign in to comment.