-
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.
Add the ecosystem banner, keyframe animations Tweak navbar further
- Loading branch information
1 parent
d0910a0
commit cc4c102
Showing
12 changed files
with
126 additions
and
2 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -34,3 +34,4 @@ yarn-error.log* | |
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts | ||
*.Identifier |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,24 @@ | ||
import React from 'react'; | ||
|
||
function Banner({ title, imageSrc, description, onBackClick }) { | ||
return ( | ||
<div className="md:w-[85%] py-12 text-off-white m-auto text-center animate-slide-in"> | ||
<h1 className="text-6xl font-bold text-rhino-purple">{title}</h1> | ||
<div className="md:grid md:grid-cols-2 m-auto text-center md:p-8"> | ||
<div> | ||
<img src={imageSrc} alt={title} className="w-full md:w-[60%] m-auto my-8 md:my-0" /> | ||
</div> | ||
<div> | ||
<p className="text-left text-2xl text-white">{description}</p> | ||
{onBackClick && ( | ||
<p className="underline hover:cursor-pointer text-left" onClick={onBackClick}> | ||
⟵ Go back | ||
</p> | ||
)} | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default Banner; |
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,83 @@ | ||
import { useState } from 'react'; | ||
import Banner from './banner'; | ||
|
||
function Ecosystem() { | ||
const [activeSection, setActiveSection] = useState('main'); | ||
|
||
const appshide = () => setActiveSection('main'); | ||
const wizardshow = () => setActiveSection('wizard'); | ||
const systemshow = () => setActiveSection('system'); | ||
const rpkshow = () => setActiveSection('rpk'); | ||
const dropshow = () => setActiveSection('rhinodrop'); | ||
|
||
return ( | ||
<div className="w-full px-8 md:px-16 lg:px-24"> | ||
{activeSection === 'main' && ( | ||
<div className="extended h-auto lg:w-[85%] py-12 rounded-[0.65em] m-auto animate-slide-in"> | ||
<div className="text-off-white m-auto text-left pt-4 pb-4 px-2"> | ||
<h1 className="text-6xl font-bold text-rhino-purple md:text-center">Your experience matters.</h1> | ||
<p className="text-2xl py-4"> | ||
Rhino Linux is dedicated to providing the best desktop experience possible. We have carefully created a set of graphical applications and command-line utilities to cater to your everyday needs. | ||
</p> | ||
<div className="grid grid-cols-3 gap-8 text-center mt-4"> | ||
<div> | ||
<img src="/img/ecosystem/icons/setup-wizard.webp" alt="Setup Wizard" className="md:w-[25%] w-full mx-auto" /> | ||
<a onClick={wizardshow} className="hover:cursor-pointer hover:text-rhino-purple transition-all text-2xl">Setup Wizard →</a> | ||
</div> | ||
<div> | ||
<img src="/img/ecosystem/icons/your-os.webp" alt="Your System" className="md:w-[25%] w-full mx-auto" /> | ||
<a onClick={systemshow} className="hover:cursor-pointer hover:text-rhino-purple transition-all text-2xl">Your System →</a> | ||
</div> | ||
<div> | ||
<img src="/img/ecosystem/icons/rpk-logo.webp" alt="rhino-pkg" className="md:w-[25%] w-full mx-auto" /> | ||
<a onClick={rpkshow} className="hover:cursor-pointer hover:text-rhino-purple transition-all text-2xl">rhino-pkg →</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
)} | ||
|
||
{/* Setup Wizard Section */} | ||
{activeSection === 'wizard' && ( | ||
<Banner | ||
title="Setup Wizard" | ||
imageSrc="/img/ecosystem/applications/setup-wizard.webp" | ||
description="When you first boot your system, you will be greeted by our elegant setup wizard, giving you the ability to select your theme, install additional package managers, and install additional software to optimize your experience." | ||
onBackClick={appshide} | ||
/> | ||
)} | ||
|
||
{/* Your System Section */} | ||
{activeSection === 'system' && ( | ||
<Banner | ||
title="Your System" | ||
imageSrc="/img/ecosystem/applications/your-os.webp" | ||
description="Your System is a handy graphical application that allows you to view system information at a glance. It also provides a graphical method for updating all of your software packages." | ||
onBackClick={appshide} | ||
/> | ||
)} | ||
|
||
{/* Rhino-pkg Section */} | ||
{activeSection === 'rpk' && ( | ||
<Banner | ||
title="rhino-pkg" | ||
imageSrc="/img/ecosystem/applications/rhino-pkg.webp" | ||
description="Our flagship package management wrapper, rhino-pkg, makes life easy by allowing you to install, remove, and update applications across all package managers and repositories. With easy-to-understand syntax and our handy guide, you’ll have all of your favorite apps in seconds." | ||
onBackClick={appshide} | ||
/> | ||
)} | ||
|
||
{/* RhinoDrop Section */} | ||
{activeSection === 'rhinodrop' && ( | ||
<Banner | ||
title="RhinoDrop" | ||
imageSrc="/img/apps/rhinodrop.webp" | ||
description="RhinoDrop allows easy file sharing across devices." | ||
onBackClick={appshide} | ||
/> | ||
)} | ||
</div> | ||
); | ||
} | ||
|
||
export default Ecosystem; |
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