-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
87 additions
and
6 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
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,78 @@ | ||
import { ChartBarIcon, ChatBubbleLeftRightIcon, Cog6ToothIcon, FolderIcon } from "@heroicons/react/24/outline"; | ||
|
||
export const Home: React.FC = () => { | ||
return ( | ||
<div className="space-y-8"> | ||
<div className="pb-10"> | ||
<h1 className="text-5xl font-bold text-gray-800 dark:text-white mb-6">Welcome to Example App</h1> | ||
<p className="text-2xl text-gray-600 dark:text-gray-300"> | ||
A modern desktop application built with web technologies | ||
</p> | ||
</div> | ||
|
||
<div className="grid grid-cols-1 md:grid-cols-2 gap-8"> | ||
<FeatureCard | ||
title="Electron" | ||
description="Built on Electron framework, enabling cross-platform desktop applications using web technologies." | ||
icon="⚛️" | ||
/> | ||
<FeatureCard | ||
title="TypeScript" | ||
description="Strongly-typed programming with TypeScript for better development experience and fewer runtime errors." | ||
icon="📘" | ||
/> | ||
<FeatureCard | ||
title="React" | ||
description="Modern UI development with React, featuring component-based architecture and hooks." | ||
icon="⚛️" | ||
/> | ||
<FeatureCard | ||
title="Tailwind CSS" | ||
description="Utility-first CSS framework for rapid UI development with beautiful, responsive designs." | ||
icon="🎨" | ||
/> | ||
</div> | ||
|
||
<div className="mt-10 p-8 bg-white dark:bg-gray-800 rounded-xl shadow-lg transition-all duration-300 border border-gray-100 dark:border-gray-700"> | ||
<h2 className="text-3xl font-semibold text-gray-800 dark:text-white mb-6">Getting Started</h2> | ||
<p className="text-xl text-gray-600 dark:text-gray-300 mb-6"> | ||
Explore the application using the sidebar navigation. You'll find: | ||
</p> | ||
<ul className="space-y-4"> | ||
<li className="flex items-center space-x-3 text-lg text-gray-600 dark:text-gray-300"> | ||
<FolderIcon className="w-6 h-6 text-blue-500" /> | ||
<span>Project management tools</span> | ||
</li> | ||
<li className="flex items-center space-x-3 text-lg text-gray-600 dark:text-gray-300"> | ||
<ChartBarIcon className="w-6 h-6 text-blue-500" /> | ||
<span>Analytics dashboard</span> | ||
</li> | ||
<li className="flex items-center space-x-3 text-lg text-gray-600 dark:text-gray-300"> | ||
<ChatBubbleLeftRightIcon className="w-6 h-6 text-blue-500" /> | ||
<span>Messaging system</span> | ||
</li> | ||
<li className="flex items-center space-x-3 text-lg text-gray-600 dark:text-gray-300"> | ||
<Cog6ToothIcon className="w-6 h-6 text-blue-500" /> | ||
<span>Application settings</span> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
const FeatureCard: React.FC<{ | ||
title: string; | ||
description: string; | ||
icon: string; | ||
}> = ({ title, description, icon }) => ( | ||
<div className="p-8 bg-white dark:bg-gray-800 rounded-xl shadow-lg hover:shadow-2xl transition-all duration-300 border border-gray-100 dark:border-gray-700"> | ||
<div className="flex items-center gap-4 mb-6"> | ||
<div className="text-4xl">{icon}</div> | ||
<div> | ||
<h3 className="text-2xl font-bold text-gray-800 dark:text-white">{title}</h3> | ||
</div> | ||
</div> | ||
<p className="text-lg text-gray-600 dark:text-gray-300 leading-relaxed">{description}</p> | ||
</div> | ||
); |