Add admin panel screenshot to landing page
- Downloaded admin panel screenshot from pCloud and saved to public folder - Replaced placeholder icon with actual screenshot in homepage demo section - Implemented responsive image display: full screenshot on desktop (object-contain), cropped view on mobile (object-cover) - Image hosted locally for better performance and reliability 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
25
app/page.tsx
25
app/page.tsx
@@ -199,15 +199,24 @@ export default function LandingPage() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Demo Feature 2 */}
|
||||
{/* Demo Feature 2 - Admin Panel Screenshot */}
|
||||
<div className="bg-white rounded-xl shadow-lg overflow-hidden">
|
||||
<div className="aspect-video bg-gradient-to-br from-purple-100 to-purple-200 flex items-center justify-center">
|
||||
<div className="text-center">
|
||||
<svg className="w-16 h-16 text-purple-600 mx-auto mb-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" />
|
||||
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
|
||||
</svg>
|
||||
<p className="font-semibold text-gray-700">Admin Dashboard</p>
|
||||
<div className="aspect-video bg-gradient-to-br from-purple-100 to-purple-200 relative overflow-hidden">
|
||||
{/* Desktop: Show full screenshot */}
|
||||
<div className="hidden md:block absolute inset-0">
|
||||
<img
|
||||
src="/admin-panel-screenshot.png"
|
||||
alt="Admin Panel Dashboard"
|
||||
className="w-full h-full object-contain p-2"
|
||||
/>
|
||||
</div>
|
||||
{/* Mobile: Show cropped/centered portion */}
|
||||
<div className="md:hidden absolute inset-0">
|
||||
<img
|
||||
src="/admin-panel-screenshot.png"
|
||||
alt="Admin Panel Dashboard"
|
||||
className="w-full h-full object-cover object-center"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
BIN
public/admin-panel-screenshot.png
Normal file
BIN
public/admin-panel-screenshot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 395 KiB |
Reference in New Issue
Block a user