diff --git a/public/img/blobs.png b/public/img/blobs.png new file mode 100644 index 0000000..31a5d78 Binary files /dev/null and b/public/img/blobs.png differ diff --git a/src/components/footer.jsx b/src/components/footer.jsx deleted file mode 100644 index 8a973dd..0000000 --- a/src/components/footer.jsx +++ /dev/null @@ -1,46 +0,0 @@ -import React from "react"; - -const data = [ - { - link: "Mission statement", - goto: "/mission/" - }, - { - link: "Team", - goto: "/team/" - }, - { - link: "Open Source", - goto: "https://github.com/rhino-linux" - }, - { - link: "Branding", - goto: "/brand/" - } -] - - -function GetYear() { - return new Date().getFullYear(); -} - -function Footer() { - return ( -
-
-

© {GetYear()} Rhino Linux

-
- -
- {data.map((item) => ( -

- {item.link} -

- ))} -
-
-
- ) -} - -export default Footer; \ No newline at end of file diff --git a/src/components/hero.jsx b/src/components/hero.jsx new file mode 100644 index 0000000..8204163 --- /dev/null +++ b/src/components/hero.jsx @@ -0,0 +1,29 @@ +import React from 'react'; +import NavBar from './navbar'; + +function Hero() { + return( +
+
+ +
+

Ubuntu based, rolling release.

+

Rhino Linux is a rolling release Ubuntu-based distribution with Pacstall & XFCE at its core. +

+ +
+
+
+ ); +} + +export default Hero; \ No newline at end of file diff --git a/src/components/home/desktop.jsx b/src/components/home/desktop.jsx deleted file mode 100644 index 1c4601f..0000000 --- a/src/components/home/desktop.jsx +++ /dev/null @@ -1,36 +0,0 @@ -import React from "react"; - -const data = [ - { - 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: "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" - }, - -] - -function Desktop() { - return ( -
-

Enjoy an adaptive desktop.

-

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.

-
- {data.map((item, index) => ( -
- {item.title} -

{item.title}

-

{item.description}

-
- ))} -
-

Learn more about the Unicorn Desktop →

-
- ); -} - -export default Desktop; \ No newline at end of file diff --git a/src/components/home/developers.jsx b/src/components/home/developers.jsx deleted file mode 100644 index fc0bdc7..0000000 --- a/src/components/home/developers.jsx +++ /dev/null @@ -1,44 +0,0 @@ -import React from "react"; - -const data = [ - { - title: "Perfect for developers", - paragraphs: [ - "Developers will fall in love with our vast software repositories which are always up-to-date. User-repositories such as Pacstall can help provide development libraries that are critical for your project. With codium preinstalled on your system you can begin doing what you do best, instantly.", - - "Developers will fall in love with our vast software repositories which are always up-to-date. User-repositories such as Pacstall can help provide development libraries that are critical for your project. With codium preinstalled on your system you can begin doing what you do best, instantly." - ], - image: "/img/home/developers.webp", - link: { - text: "Learn more about how Rhino Linux can help you develop →", - url: "/developers/" - } - } -] - -function Developers() { - return ( -
- {data.map((post, index) => ( -
-
-

{post.title}

- {post.paragraphs.map((paragraph, index) => ( -

- {paragraph} -

- ))} -
-
- Image -
-
- ))} -

- {data[0].link.text} -

-
- ); -} - -export default Developers; \ No newline at end of file diff --git a/src/components/home/hero.jsx b/src/components/home/hero.jsx deleted file mode 100644 index d4c1ca7..0000000 --- a/src/components/home/hero.jsx +++ /dev/null @@ -1,32 +0,0 @@ -import React from "react"; -import Link from "next/link"; - -function Hero() { - return ( -
-
-

- Rhino Linux -

-

- The rolling release, Ubuntu-based distribution made by developers, for developers. -

-
- -
- - - Learn More - - - - - Download - - -
-
- ); -} - -export default Hero; diff --git a/src/components/home/latest.jsx b/src/components/home/latest.jsx deleted file mode 100644 index 98c7aa1..0000000 --- a/src/components/home/latest.jsx +++ /dev/null @@ -1,27 +0,0 @@ -import React from "react"; -import posts from "../../items/posts"; - -function Latest() { - const latestPost = posts && posts.length > 0 ? posts[0] : null; - const latestPostTitle = latestPost ? latestPost.title : "No posts available"; - const latestPostContent = latestPost && latestPost.content.length > 0 ? latestPost.content[0] : "No content available"; - - return ( -
-
-

- Latest news -

-

{latestPostTitle}

-

{latestPostContent}

-

- - Read the announcement → - -

-
-
- ); -} - -export default Latest; diff --git a/src/components/home/packages.jsx b/src/components/home/packages.jsx deleted file mode 100644 index 1e1d260..0000000 --- a/src/components/home/packages.jsx +++ /dev/null @@ -1,44 +0,0 @@ -import React from "react"; - -const data = [ - { - title: "Control your packages", - paragraphs: [ - "Our flagship package management wrapper, rhino-pkg, makes life easy by allowing for you to install, remove and update applications across all package managers and repositories. With easy to understand syntax, and our handy guide, you will have all of your favourite apps in seconds.", - - "Our flagship package management wrapper, rhino-pkg, makes life easy by allows for you to install, remove and update applications across all package managers and repositories. With easy to understand syntax, and our handy guide, you will have all of your favourite apps in seconds.", // Add paragraph about Pacstall here - ], - image: "/img/home/rhino-pkg.webp", - link: { - text: "Learn more about rhino-pkg →", - url: "#" - }, - } -] - -function Packages() { - return ( -
- {data.map((post, index) => ( -
-
-

{post.title}

- {post.paragraphs.map((paragraph, index) => ( -

- {paragraph} -

- ))} -
-
- Image -
-
- ))} -

- {data[0].link.text} -

-
- ); -} - -export default Packages; \ No newline at end of file diff --git a/src/components/navbar.jsx b/src/components/navbar.jsx index ef08a98..f0bece2 100644 --- a/src/components/navbar.jsx +++ b/src/components/navbar.jsx @@ -42,10 +42,10 @@ const baritems = [ function NavBar() { return (
-