Skip to content

Commit

Permalink
upd: desktop component
Browse files Browse the repository at this point in the history
Update the desktop component, write TODO List.
  • Loading branch information
ajstrongdev committed Aug 19, 2024
1 parent a9c14a6 commit 11ef737
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
9 changes: 9 additions & 0 deletions TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- [x] Home page
- [x] Download page
- [ ] Porting (will be outdated by site release)
- [x] News page
- [ ] Porting
- [ ] *New* developers page, about why RL is great for development
- [ ] Unicorn Page redesign.
- [ ] Mission statement
- [ ] Links
19 changes: 7 additions & 12 deletions src/components/home/desktop.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,15 @@ import React from "react";

const data = [
{
title: "Title 1",
description: "Description 1",
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.",
image: "../img/home/unicorn/tiling.webp"
},
{
title: "Title 2",
description: "Description 2",
title: "A brand new dashboard.",
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.",
image: "../img/home/unicorn/xfdashboard.webp"
},
{
title: "Title 3",
description: "Description 3",
image: "../img/home/unicorn/appgrid.webp"
}

]

Expand All @@ -24,11 +19,11 @@ function Desktop() {
<div className="w-full bg-site-300 lg:p-8 p-4">
<h1 className="text-white text-5xl text-center">Enjoy an adaptive desktop.</h1>
<p className="lg:w-[70%] m-auto text-white text-xl pb-4 text-center pt-4">Rhino Linux comes preinstalled with its own in-house desktop experience, Unicorn, a custom built XFCE desktop experience combining the best of the traditional and modern takes on the Desktop.</p>
<div className="lg:w-[75%] m-auto w-[95%] lg:grid lg:grid-cols-3 gap-8">
<div className="lg:w-[75%] m-auto w-[95%] lg:grid lg:grid-cols-2 gap-8">
{data.map((item, index) => (
<div key={index} className="">
<img src={item.image ? item.image : "https://via.placeholder.com/150.png"} alt={item.title} className="w-full h-48 object-cover rounded-lg" />
<h1 className="text-white text-xl font-bold mt-4">{item.title}</h1>
<img src={item.image ? item.image : "https://via.placeholder.com/150.png"} alt={item.title} className="w-full h-auto object-cover rounded-lg" />
<h1 className="text-white text-2xl mt-4">{item.title}</h1>
<p className="text-white mt-2">{item.description}</p>
</div>
))}
Expand Down

0 comments on commit 11ef737

Please sign in to comment.