Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 117 additions & 3 deletions app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,127 @@

@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
--background: white;
--foreground: black;
}
}

* {
padding: 0px;
margin: 0px;
box-sizing: border-box;
}
body {
background: var(--background);
color: var(--foreground);
font-family: Arial, Helvetica, sans-serif;
}
.Eco-h1{
font-size: 3rem;
font-weight: 500;

}
.Eco-head {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-bottom: 2rem;

}
.f-img{
width: 20rem;
height: 25rem;
}
section {
padding-left: 7rem;
padding-right: 7rem;
}
.social-logo {
width: 14rem;
padding: 1rem 1rem 0px 1rem;
}
.social-text {
display: inline-block;
font-size: 1.5rem;
font-weight: 500;
text-align: left;
padding: 1rem 1rem 0px 1rem;
}
.c-1 {
border-radius: 12px;
width: 20rem;
height: 25rem;
}
.c-2 {
display: flex;
flex-direction: column;
width: 20rem;
height: 25rem;
background: #F7F8F9;
gap: 1rem;
border-radius: 12px;
}
.vector {
margin-top: auto;
width: 100%;
}
.Eco-container-1 {
display: grid;
grid-template-columns: repeat(3, 1fr);
align-items: center;
gap: 1rem;
}
.c-3 {
display: flex;
flex-direction: column;
background-color: #F7F8F9;
border-radius: 12px;
padding: 1rem;
width: 40rem;
height: 25rem;
}
.c3-text, .c4-text {
margin-top: auto;
}
.c-4 {
display: flex;
flex-direction: column;
background-color: #F7F8F9;
border-radius: 12px;
padding: 1rem;
width: 40rem;
height: 25rem;
}
.Eco-container-2 {
display: grid;
padding-top: 1rem;
grid-template-columns: repeat(3, 1fr);
align-items: center;
gap: 1rem;
}
.c5-img {
width: 20rem;
height: 25rem;
}
.c-5 {
border-radius: 12px;
width: 20rem;
height: 25rem;
}
.c-6 {
display: flex;
flex-direction: column;
background-color: #F7F8F9;
border-radius: 12px;
padding: 1rem;
width: 20rem;
height: 25rem;
}
.coming-soon {
background-color: #c8c8c8;
width: fit-content;
padding: 0.2rem 0.5rem 0.2rem 0.5rem;
border-radius: 12px;
margin-top: auto;
border: 1px solid #a4a4a4;
}
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const geistMono = Geist_Mono({
});

export const metadata: Metadata = {
title: "Create Next App",
title: "Nirvana",
description: "Generated by create next app",
};

Expand Down
12 changes: 4 additions & 8 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
import Navbar from "@/components/navbar";
import Footer from "@/components/footer";

import Ecosystem from "@/components/ecosystem";

export default function Home() {
return (
<div>
<Navbar />

<main className="container mx-auto px-4 py-8">
<h1 className="text-4xl font-bold mb-4">Welcome to My Next.js App</h1>
<p className="text-lg text-gray-700">
This is a simple Next.js application with a navbar and footer.
</p>
<Ecosystem />
</main>
<Footer />

</div>
);
}
52 changes: 52 additions & 0 deletions components/ecosystem.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// import { FaXTwitter } from "react-icons/fa6";
// import { FaInstagram } from "react-icons/fa";
// import { FaTelegram } from "react-icons/fa";
// import { FaYoutube } from "react-icons/fa";
// import { FaDiscord } from "react-icons/fa";
// import { FaLinkedin } from "react-icons/fa";
// import { FaFacebook } from "react-icons/fa";
const Ecosystem = () => {
return (
<>
<section>
<div className="Eco-head">
<h1 className="Eco-h1">Our Ecosystem</h1>
<p className="Eco-p">A comprehensive platform designed to support</p>
<p className="Eco-p">your Web3 journey from learning to building.</p>
</div>

<div className="Eco-container-1">
<div className="c-1">
<img src="/f-img.png" className="f-img" alt="Ecosystem"/>
</div>
<div className="c-2">
<p className="social-text">Follow us on all <br />platform.</p>
<img src="/social-logo.png"className="social-logo" alt="social-logo" />
<img src="/vector.png" className="vector" alt="" />
</div>
<div className="c-3">
<p className="c3-text">Nirvana Labs</p>
<p>Our innovation hub where cutting-edge <br />Web3 research meets practical application.</p>
</div>
</div>

<div className="Eco-container-2">
<div className="c-4">
<p className="c4-text">DAO Governance</p>
<p>Community-driven decision making. Shape <br />the future of Web3 education together.</p>
</div>
<div className="c-5">
<img src="/c5img.png" className="c5-img" alt="" />
</div>
<div className="c-6">
<p className="coming-soon">Coming Soon</p>
<p className="c6-head">Community Hub</p>
<p className="c6-p">Connect, collaborate, and grow with fellow Web3 enthusiasts worldwide.</p>
</div>
</div>
</section>
</>
)
}

export default Ecosystem
13 changes: 0 additions & 13 deletions components/footer.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions components/navbar.tsx

This file was deleted.

12 changes: 11 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"dependencies": {
"next": "16.1.6",
"react": "19.2.3",
"react-dom": "19.2.3"
"react-dom": "19.2.3",
"react-icons": "^5.5.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
Expand Down
Binary file added public/Vector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/c5img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/f-img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/social-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.