Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated dashboard to enhance it #18

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
8 changes: 8 additions & 0 deletions Contributing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,11 @@ Welcome to the FarmRuler project! We appreciate your contributions. Please add y
- **LinkedIn:** [LinkedIn Profile](https://linkedin.com/in/janesmith)
- **Portfolio:** [Portfolio](https://janesmith.com)
- **Info:** Enthusiastic about coding and open-source contributions.


### <img src="https://avatars.githubusercontent.com/u/142049145?v=4" width="100" height="100" style="border-radius: 50%;">
**Name:** [Partishta Pargal]

- **GitHub:** [GitHub Profile](https://github.com/PartishtaP)
- **LinkedIn:** [LinkedIn Profile](https://www.linkedin.com/in/partishta-pargal-a43854292?utm_source=share&utm_campaign=share_via&utm_content=profile&utm_medium=android_app)
- **Info:** A passionate it engineer.
85 changes: 46 additions & 39 deletions app/dashboard/page.js
Original file line number Diff line number Diff line change
@@ -1,80 +1,87 @@
"use client"


import { useState } from 'react';
import { SunIcon, CloudIcon, UserIcon, ChatIcon, BookOpenIcon } from '@heroicons/react/outline';
import Navbar from '../components/Navbar';
import Footer from '../components/Footer';


export default function Dashboard() {
const [weather, setWeather] = useState(null);

return (
<div className="min-h-screen flex flex-col">
<div className="min-h-screen flex flex-col bg-gradient-to-br from-blue-50 to-indigo-100 font-poppins">
<Navbar />
<main className="flex-grow container mx-auto p-4">
<h1 className="text-3xl font-bold mb-4">Welcome to FarmRuler Dashboard</h1>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
<div className="bg-white shadow-md rounded-lg p-4 flex items-center">
<SunIcon className="h-6 w-6 text-yellow-500 mr-2" />
<main className="flex-grow container mx-auto p-6">
<h1 className="text-4xl font-extrabold mb-6 text-indigo-700 text-center">Welcome to FarmRuler Dashboard</h1>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">

<div className="bg-white shadow-lg rounded-lg p-6 flex items-center transform hover:scale-105 transition-transform duration-300">
<SunIcon className="h-8 w-8 text-yellow-500 mr-4" />
<div>
<h2 className="text-xl font-semibold">Weather Dashboard</h2>
<p>Check the weather conditions in specific regions.</p>
<h2 className="text-2xl font-semibold text-gray-800">Weather Dashboard</h2>
<p className="text-gray-600">Check the weather conditions in specific regions.</p>
</div>
</div>
<div className="bg-white shadow-md rounded-lg p-4 flex items-center">
<CloudIcon className="h-6 w-6 text-blue-500 mr-2" />

<div className="bg-white shadow-lg rounded-lg p-6 flex items-center transform hover:scale-105 transition-transform duration-300">
<CloudIcon className="h-8 w-8 text-blue-500 mr-4" />
<div>
<h2 className="text-xl font-semibold">Season Dashboard</h2>
<p>Get insights on different seasons and their impact on crops.</p>
<h2 className="text-2xl font-semibold text-gray-800">Season Dashboard</h2>
<p className="text-gray-600">Get insights on different seasons and their impact on crops.</p>
</div>
</div>
<div className="bg-white shadow-md rounded-lg p-4 flex items-center">
<UserIcon className="h-6 w-6 text-green-500 mr-2" />

<div className="bg-white shadow-lg rounded-lg p-6 flex items-center transform hover:scale-105 transition-transform duration-300">
<UserIcon className="h-8 w-8 text-green-500 mr-4" />
<div>
<h2 className="text-xl font-semibold">Inquire About Crops</h2>
<p>Ask questions and get answers about various crops.</p>
<h2 className="text-2xl font-semibold text-gray-800">Inquire About Crops</h2>
<p className="text-gray-600">Ask questions and get answers about various crops.</p>
</div>
</div>
<div className="bg-white shadow-md rounded-lg p-4 flex items-center">
<ChatIcon className="h-6 w-6 text-purple-500 mr-2" />

<div className="bg-white shadow-lg rounded-lg p-6 flex items-center transform hover:scale-105 transition-transform duration-300">
<ChatIcon className="h-8 w-8 text-purple-500 mr-4" />
<div>
<h2 className="text-xl font-semibold">Personal AI Support Bot</h2>
<p>Get personalized support from our AI bot.</p>
<h2 className="text-2xl font-semibold text-gray-800">Personal AI Support Bot</h2>
<p className="text-gray-600">Get personalized support from our AI bot.</p>
</div>
</div>
<div className="bg-white shadow-md rounded-lg p-4 flex items-center">
<UserIcon className="h-6 w-6 text-red-500 mr-2" />

<div className="bg-white shadow-lg rounded-lg p-6 flex items-center transform hover:scale-105 transition-transform duration-300">
<UserIcon className="h-8 w-8 text-red-500 mr-4" />
<div>
<h2 className="text-xl font-semibold">User Profiles</h2>
<p>Manage your profile and settings.</p>
<h2 className="text-2xl font-semibold text-gray-800">User Profiles</h2>
<p className="text-gray-600">Manage your profile and settings.</p>
</div>
</div>
<div className="bg-white shadow-md rounded-lg p-4 flex items-center">
<ChatIcon className="h-6 w-6 text-indigo-500 mr-2" />

<div className="bg-white shadow-lg rounded-lg p-6 flex items-center transform hover:scale-105 transition-transform duration-300">
<ChatIcon className="h-8 w-8 text-indigo-500 mr-4" />
<div>
<h2 className="text-xl font-semibold">Discussions</h2>
<p>Join discussions with other farmers and experts.</p>
<h2 className="text-2xl font-semibold text-gray-800">Discussions</h2>
<p className="text-gray-600">Join discussions with other farmers and experts.</p>
</div>
</div>
<div className="bg-white shadow-md rounded-lg p-4 flex items-center">
<BookOpenIcon className="h-6 w-6 text-teal-500 mr-2" />

<div className="bg-white shadow-lg rounded-lg p-6 flex items-center transform hover:scale-105 transition-transform duration-300">
<BookOpenIcon className="h-8 w-8 text-teal-500 mr-4" />
<div>
<h2 className="text-xl font-semibold">Content Sharing</h2>
<p>Share and access valuable content.</p>
<h2 className="text-2xl font-semibold text-gray-800">Content Sharing</h2>
<p className="text-gray-600">Share and access valuable content.</p>
</div>
</div>
<div className="bg-white shadow-md rounded-lg p-4 flex items-center">
<BookOpenIcon className="h-6 w-6 text-orange-500 mr-2" />

<div className="bg-white shadow-lg rounded-lg p-6 flex items-center transform hover:scale-105 transition-transform duration-300">
<BookOpenIcon className="h-8 w-8 text-orange-500 mr-4" />
<div>
<h2 className="text-xl font-semibold">Learning and Resources</h2>
<p>Access learning materials and resources.</p>
<h2 className="text-2xl font-semibold text-gray-800">Learning and Resources</h2>
<p className="text-gray-600">Access learning materials and resources.</p>
</div>
</div>

</div>
</main>
<Footer />
</div>
);
}
}
Loading