-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create and add the Unicorn page Fix quoteblock italics
- Loading branch information
1 parent
adb4d2f
commit ff5a43d
Showing
12 changed files
with
127 additions
and
13 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
import React from "react"; | ||
|
||
// Array holding the data for each section | ||
const contentData = [ | ||
{ | ||
title: "Adaptive, to any workflow.", | ||
description: | ||
" Whether you prefer the traditional floating windows, or are a fanatic of tiling window managers, Unicorn is perfect for you. With optional auto-tiling you can easily toggle between floating and tiling at the press of a button.", | ||
imgSrc: "img/unicorn/tiling.webp", | ||
buttonText: "Learn the keybinds", | ||
buttonLink: "https://wiki.rhinolinux.org/user/unicorn", | ||
}, | ||
{ | ||
title: "A beautiful app grid", | ||
description: | ||
"Our application grid, Lightpad, is a simple and powerful application launcher that is Wayland compatible. We have made modifications to the theming of Lightpad to integrate perfectly into Unicorn and Rhino Linux.", | ||
imgSrc: "img/unicorn/appgrid.webp", | ||
buttonText: null, | ||
buttonLink: null, | ||
}, | ||
{ | ||
title: "Modern desktop management", | ||
description: | ||
"You can switch between virtual desktops with ease. We have loaded in Xfdashboard, with many minor tweaks and improvements. Xfdashboard brings a gnome-shell like virtual desktop and èxpose built right into XFCE. ", | ||
imgSrc: "img/unicorn/xfdashboard.webp", | ||
buttonText: null, | ||
buttonLink: null, | ||
}, | ||
]; | ||
|
||
function Content() { | ||
return ( | ||
<div className="w-full px-8 md:px-16 lg:px-24" id="learn"> | ||
{contentData.map((item, index) => ( | ||
<div | ||
key={index} | ||
className="md:w-[85%] m-auto md:grid py-12 md:grid-cols-2 md:gap-8" | ||
> | ||
<div> | ||
<h1 className="text-5xl unicorn font-bold py-4 text-rhino-purple"> | ||
{item.title} | ||
</h1> | ||
<p className="text-white text-2xl py-4">{item.description}</p> | ||
|
||
{/* Only display the button for the first two items */} | ||
{item.buttonText && item.buttonLink && index < 2 && ( | ||
<a | ||
href={item.buttonLink} | ||
className="inline-flex justify-center items-center py-3 px-5 text-base text-center rounded-lg bg-rhino-purple hover:scale-105 text-white transition-all text-lg" | ||
> | ||
{item.buttonText} | ||
<svg | ||
className="ml-2 -mr-1 w-5 h-5" | ||
fill="currentColor" | ||
viewBox="0 0 20 20" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
fillRule="evenodd" | ||
d="M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z" | ||
clipRule="evenodd" | ||
></path> | ||
</svg> | ||
</a> | ||
)} | ||
</div> | ||
<div className="py-8 md:py-0"> | ||
<img | ||
src={item.imgSrc} | ||
className="w-full rounded-lg" | ||
alt={item.title} | ||
/> | ||
</div> | ||
</div> | ||
))} | ||
</div> | ||
); | ||
} | ||
|
||
export default Content; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from "react"; | ||
import NavBar from '../navbar'; | ||
|
||
function Hero() { | ||
return( | ||
<section className="bg-orb-pattern bg-no-repeat bg-center-x bg-center-y bg-cover"> | ||
<div className="bg-overlay w-full h-auto"> | ||
<NavBar /> | ||
<div className="py-8 px-4 mx-auto max-w-screen-xl text-center lg:py-16 lg:px-12"> | ||
<h3 className="mb-4 text-2xl tracking-tight leading-none text-white font-bold">Beautiful, Elegant, Adaptive.</h3> | ||
<h1 className="mb-4 text-4xl tracking-tight leading-none text-white font-bold md:text-5xl lg:text-6xl">The Unicorn Desktop.</h1> | ||
<p className="mb-8 text-lg font-normal lg:text-xl sm:px-16 xl:px-48 text-white">A desktop experienced designed to be both modern and fast. | ||
</p> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
} | ||
|
||
export default Hero; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from "react"; | ||
import Hero from "../components/unicorn/hero"; | ||
import Content from "../components/unicorn/content"; | ||
import Footer from "../components/footer"; | ||
|
||
export default function Home() { | ||
return ( | ||
<main> | ||
<Hero /> | ||
<Content /> | ||
<Footer /> | ||
</main> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters