Skip to content

Commit

Permalink
Merge pull request #101 from Eche5/eche
Browse files Browse the repository at this point in the history
feat - Update footer, community links, and implement dark mode on landing page
  • Loading branch information
Solomonsolomonsolomon authored Oct 26, 2024
2 parents 46eb391 + e5687cd commit 7195b8a
Show file tree
Hide file tree
Showing 13 changed files with 487 additions and 87 deletions.
11 changes: 11 additions & 0 deletions landing_page/package-lock.json

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

1 change: 1 addition & 0 deletions landing_page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"dependencies": {
"lucide-react": "^0.453.0",
"next": "14.2.15",
"next-themes": "^0.3.0",
"react": "^18",
"react-dom": "^18",
"react-icons": "^5.3.0"
Expand Down
213 changes: 213 additions & 0 deletions landing_page/src/app/Guides/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,213 @@
"use client"
import Link from "next/link";
import { Home } from "lucide-react";
import Image from "next/image";
import ThemeSwitch from "../components/ThemeSwitcher";
import React, { useState } from "react";

const GuidesPage = () => {
const [openSection, setOpenSection] = useState<string | null>(null);
const [openFAQ, setOpenFAQ] = useState<number | null>(null);

const toggleFAQ = (index: number) => {
setOpenFAQ(openFAQ === index ? null : index);
};

const toggleSection = (section: string) => {
setOpenSection(openSection === section ? null : section);
};
return (
<div className="mx-auto p-8 bg-gradient-to-b from-green-100 to-white shadow-lg rounded-lg dark:from-gray-800 dark:to-black dark:bg-[#060304]">
<div className="flex justify-between items-center mb-6">
<div className=" flex items-center gap-3">
<Link href="/">
<Home className="text-3xl mr-2 bg-green-500 text-[#ffe] w-[50px] h-[50px] p-3 rounded-full" />
</Link>
<h1 className="text-4xl font-light text-gray-800 dark:text-white">
Guides
</h1>
</div>
<div className=" text-black">
<ThemeSwitch />
</div>
</div>
<Image
src="/images/LANDVER_LOGO_WHITE.jpg"
alt="Landver Logo"
width={100}
height={100}
className="mx-auto mb-6 rounded-md shadow-md"
/>
<h2 className="text-3xl text-gray-800 dark:text-white mb-4 text-center p-3 border-2 border-green-600 border-l-0 border-r-0">
Guide
</h2>
<header className="mb-8">
<p className="text-gray-700 mt-2 dark:text-white">
At Landver, we understand the complexities of land ownership and
management in today’s digital age. Our platform addresses these
challenges, providing you with the knowledge and tools to navigate
digital land management securely and efficiently.
</p>
</header>

<section className="mb-8">
<h2 className="text-xl text-gray-700 dark:text-white font-semibold">
Understanding Land Management in a Digital World
</h2>
<h3 className="text-lg text-gray-700 dark:text-white font-medium mt-4">
The Challenges of Land Ownership
</h3>
<ul className="list-disc list-inside mt-2 space-y-2 text-gray-700 dark:text-white">
<li>
<strong>Asset-Related Fraud:</strong> Landowners, inspectors, and
regulatory bodies face significant risks from fraudulent activities.
Protecting your assets is essential.
</li>
<li>
<strong>Complex Registration Processes:</strong> Traditional land
registration methods can be cumbersome, leading to delays and
confusion.
</li>
</ul>
</section>

<section className="mb-8">
<h2 className="text-xl font-semibold text-gray-700 dark:text-white">
Our Mission
</h2>
<p className="text-gray-700 mt-2 dark:text-white">
At Landver, we aim to:
</p>
<ul className="list-disc list-inside mt-2 space-y-2 text-gray-700 dark:text-white">
<li>
<strong>Enhance Transparency:</strong> Utilizing onchain technology
to ensure secure and accessible transactions and land records.
</li>
<li>
<strong>Simplify Land Registration:</strong> Streamlining the
registration process for a user-friendly experience.
</li>
<li>
<strong>Build Trust:</strong> Prioritizing integrity in land
transactions to foster a secure environment.
</li>
</ul>
</section>

<section className="mb-8">
<h2 className="text-xl font-semibold text-gray-700 dark:text-white">
How Landver Works
</h2>
<h3 className="text-lg font-medium text-gray-700 dark:text-white mt-4">
Leveraging Onchain Technology
</h3>
<ul className="list-disc list-inside mt-2 space-y-2 dark:text-white text-gray-700">
<li>
<strong>Secure Transactions:</strong> All land transactions are
recorded on a blockchain for an immutable and transparent record.
</li>
<li>
<strong>Smart Contracts:</strong> Automating processes to reduce
human error and increase efficiency.
</li>
</ul>

<h3 className="text-lg font-medium mt-4 text-gray-700 dark:text-white">
User-Friendly Platform
</h3>
<ul className="list-disc list-inside mt-2 dark:text-white space-y-2 text-gray-700">
<li>
<strong>Intuitive Interface:</strong> Designed for ease of use,
ensuring effortless navigation for all users.
</li>
<li>
<strong>Comprehensive Resources:</strong> Access tutorials, FAQs,
and support to understand the platform better.
</li>
</ul>
</section>

<section className="mb-8">
<h2 className="text-xl font-semibold text-gray-700 dark:text-white">
Getting Started
</h2>
<button
className="w-full text-left focus:outline-none"
onClick={() => toggleSection('gettingStarted')}
>
<h3 className="font-medium mt-2">{openSection === 'gettingStarted' ? '−' : '+'} Steps to Get Started</h3>
</button>
{openSection === 'gettingStarted' && (
<ol className="list-decimal list-inside mt-2 space-y-2 dark:text-white text-gray-700">
<li>
<strong>Create an Account:</strong> Sign up on the Landver platform to begin your journey in digital land management.
</li>
<li>
<strong>Learn the Basics:</strong> Familiarize yourself with our resources to protect your assets and manage land effectively.
</li>
<li>
<strong>Engage with the Community:</strong> Join our forums and discussions to connect with other users and share insights.
</li>
</ol>
)}
</section>

<section className="mb-8">
<h2 className="text-xl font-semibold text-gray-700 dark:text-white">
FAQs
</h2>
<div className="mt-2 text-gray-700 dark:text-white">
{[
{
question: "What is Landver?",
answer: "Landver is a cryptocurrency platform focused on enhancing land ownership and management through secure and transparent solutions."
},
{
question: "How does onchain technology work?",
answer: "Onchain technology records all transactions on a blockchain, ensuring they are secure, transparent, and immutable."
},
{
question: "What are the benefits of using Landver?",
answer: "Our platform simplifies the land registration process, enhances transparency, and builds trust among all stakeholders."
}
].map((faq, index) => (
<div key={index} className="mb-4">
<button
className="w-full text-left focus:outline-none font-medium mt-2"
onClick={() => toggleFAQ(index)}
>
<h3 className=" font-bold">{openFAQ === index ? '−' : '+'} {faq.question}</h3>
</button>
{openFAQ === index && (
<p className="mt-2">{faq.answer}</p>
)}
</div>
))}
</div>
</section>

<footer className="mt-10 border-t pt-4">
<h2 className="text-xl font-semibold text-gray-700 dark:text-white">
Conclusion
</h2>
<p className="text-gray-700 mt-2 dark:text-white">
At Landver, we are committed to transforming the landscape of land
management. With our innovative use of technology, we provide a secure
and efficient platform for landowners and inspectors alike. Explore
our resources, join our community, and take the first step toward a
more secure future in land ownership.
</p>
<p className="text-gray-700 mt-2 dark:text-white">
For more information, visit{" "}
<a href="your-website-url" className="text-blue-500 hover:underline">
Landver
</a>{" "}
or contact our support team. Together, let’s build a trustworthy and
transparent land management system!
</p>
</footer>
</div>
);
};

export default GuidesPage;
46 changes: 29 additions & 17 deletions landing_page/src/app/about/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,30 @@ import {
FileBadgeIcon as NFT,
CheckCircle,
User,
FileText as Document,
FileText as Document,
ShieldCheck,
Eye,
FileSearch,
Coins as CurrencyDollar,
} from "lucide-react";
import ThemeSwitch from "../components/ThemeSwitcher";

const AboutPage = () => {
return (
<div className="mx-auto p-8 bg-gradient-to-b from-green-100 to-white shadow-lg rounded-lg">
<div className="flex items-center mb-6">
<Link href="/">
<Home className="text-3xl mr-2 bg-green-500 text-[#ffe] w-[50px] h-[50px] p-3 rounded-full" />
</Link>
<h1 className="text-4xl font-light text-gray-800">About Landver</h1>
<div className="mx-auto p-8 bg-gradient-to-b from-green-100 to-white shadow-lg rounded-lg dark:from-gray-800 dark:to-black dark:bg-[#060304]">
<div className="flex justify-between items-center mb-6">
<div className=" flex items-center gap-3">
<Link href="/">
<Home className="text-3xl mr-2 bg-green-500 text-[#ffe] w-[50px] h-[50px] p-3 rounded-full" />
</Link>
<h1 className="text-4xl font-light text-gray-800 dark:text-white">
About Landver
</h1>
</div>
<div className=" text-black">
{" "}
<ThemeSwitch />
</div>
</div>
<Image
src="/images/LANDVER_LOGO_WHITE.jpg"
Expand All @@ -30,11 +39,11 @@ const AboutPage = () => {
height={100}
className="mx-auto mb-6 rounded-md shadow-md"
/>
<h2 className="text-3xl text-gray-800 mb-4 text-center p-3 border-2 border-green-600 border-l-0 border-r-0">
<h2 className="text-3xl text-gray-800 mb-4 dark:text-white text-center p-3 border-2 border-green-600 border-l-0 border-r-0">
How It Works
</h2>

<p className="text-lg text-gray-700 mb-4">
<p className="text-lg text-gray-700 mb-4 dark:text-white">
At Landver, we recognize the critical challenges associated with land
ownership and management in today’s digital landscape. Asset-related
fraud remains a significant concern for landowners, inspectors, and
Expand All @@ -46,15 +55,15 @@ const AboutPage = () => {
interaction between landowners and land inspectors.
</p>

<p className="text-lg text-gray-700 mb-4">
<p className="text-lg text-gray-700 mb-4 dark:text-white">
The Landver platform serves as a dynamic hub where landowners can
register their properties with confidence, while inspectors conduct
thorough reviews to ensure compliance and accuracy. Here’s a deeper dive
into how our process works, step by step:
</p>

<ul className="list-disc list-inside mb-4 space-y-2">
<li className="text-lg text-gray-700">
<li className="text-lg text-gray-700 dark:text-white">
<strong>
<User className="inline text-green-600" size={24} /> Land Owners:
</strong>{" "}
Expand All @@ -64,11 +73,14 @@ const AboutPage = () => {
<Document className="inline text-blue-500" size={24} />, land surveys,
and other relevant information. Once submitted, the registration
details are securely recorded on our blockchain{" "}
<ShieldCheck className="inline text-gray-700" size={24} />, creating a
permanent and tamper-proof record of ownership.
<ShieldCheck
className="inline text-gray-700 dark:text-blue-700"
size={24}
/>
, creating a permanent and tamper-proof record of ownership.
</li>

<li className="text-lg text-gray-700">
<li className="text-lg text-gray-700 dark:text-white">
<strong>
<Eye className="inline text-yellow-500" size={24} /> Land
Inspectors:
Expand All @@ -80,7 +92,7 @@ const AboutPage = () => {
essential for verifying the authenticity of the ownership claims.
</li>

<li className="text-lg text-gray-700">
<li className="text-lg text-gray-700 dark:text-white">
Once the inspection is successfully completed, the landowner receives
an NFT <NFT className="inline text-blue-900" size={30} />{" "}
(Non-Fungible Token) that serves as a digital proof of ownership. This
Expand All @@ -90,7 +102,7 @@ const AboutPage = () => {
</li>
</ul>

<p className="text-lg text-gray-700 mb-4">
<p className="text-lg text-gray-700 mb-4 dark:text-white">
Furthermore, the Landver platform integrates advanced technology to
ensure that every interaction is transparent and verifiable{" "}
<CheckCircle className="inline text-green-600" size={24} />. Users can
Expand All @@ -100,7 +112,7 @@ const AboutPage = () => {
mitigates the risks associated with traditional processes.
</p>

<p className="text-lg text-gray-700 mb-4">
<p className="text-lg text-gray-700 mb-4 dark:text-white">
Our use of NFTs revolutionizes how land ownership is perceived and
managed, creating new avenues for economic engagement and stability{" "}
<CurrencyDollar className="inline text-green-700" size={24} />.
Expand Down
Loading

0 comments on commit 7195b8a

Please sign in to comment.