EverydayTech Platform - Developer Reference
Complete Source Code Documentation - All Applications
Loading...
Searching...
No Matches
page.tsx
Go to the documentation of this file.
1"use client";
2import Link from "next/link";
3import Image from "next/image";
4
5export default function LandingPage() {
6 return (
7 <div className="relative min-h-screen w-full flex items-center justify-center overflow-hidden">
8 {/* Background Image */}
9 <div className="absolute inset-0 w-full h-full z-0">
10 <Image
11 src="/images/landing-page-background.jpg"
12 alt="Landing Background"
13 fill
14 className="object-cover"
15 priority
16 quality={85}
17 />
18
19 {/* Animated floating elements overlay */}
20 <div className="absolute inset-0 overflow-hidden">
21 {/* Colorful floating elements to add movement */}
22 <div className="floating-element large absolute top-20 left-10 w-24 h-16 bg-brand/15 rounded-full animate-float-slow blur-sm"></div>
23 <div className="floating-element large absolute top-40 right-20 w-20 h-20 bg-green-500/15 rounded-lg animate-float-medium rotate-12 blur-sm"></div>
24 <div className="floating-element large absolute bottom-32 left-1/4 w-28 h-12 bg-purple-500/15 rounded-full animate-float-slow blur-sm"></div>
25 <div className="floating-element large absolute bottom-20 right-1/3 w-16 h-16 bg-cyan-500/15 rounded-lg animate-float-fast rotate-45 blur-sm"></div>
26
27 {/* Medium floating elements */}
28 <div className="floating-element medium absolute top-60 left-1/3 w-14 h-10 bg-yellow-500/20 rounded-lg animate-float-medium blur-sm"></div>
29 <div className="floating-element medium absolute top-80 right-1/4 w-12 h-12 bg-red-500/20 rounded-full animate-float-slow blur-sm"></div>
30 <div className="floating-element medium absolute bottom-60 left-1/2 w-16 h-8 bg-indigo-500/20 rounded-lg animate-float-fast rotate-12 blur-sm"></div>
31
32 {/* Small floating elements */}
33 <div className="floating-element small absolute top-32 left-2/3 w-8 h-8 bg-orange-500/25 rounded-full animate-float-medium blur-sm"></div>
34 <div className="floating-element small absolute top-72 left-1/6 w-6 h-6 bg-pink-500/25 rounded-full animate-float-fast blur-sm"></div>
35 <div className="floating-element small absolute bottom-48 right-1/6 w-10 h-6 bg-teal-500/25 rounded-lg animate-float-slow rotate-45 blur-sm"></div>
36 </div>
37 </div>
38
39 {/* Very light overlay for text readability */}
40 <div className="absolute inset-0 bg-black/10" />
41
42 {/* Main content */}
43 <main className="relative z-20 flex flex-col items-center justify-center w-full h-full text-center px-4 max-w-6xl mx-auto">
44 {/* Everyday POS Logo */}
45 <div className="mb-8">
46 <Image
47 src="/images/everyday-pos-logo.png"
48 alt="Everyday POS"
49 width={400}
50 height={120}
51 className="logo-glow"
52 priority
53 />
54 </div>
55
56 {/* Hero Text */}
57 <h1 className="text-5xl lg:text-6xl font-extrabold text-white mb-6 drop-shadow-2xl leading-tight">
58 <span className="bg-gradient-to-r from-white to-blue-100 bg-clip-text text-transparent">
59 Power Your Print Business
60 </span>
61 </h1>
62
63 <p className="text-xl lg:text-2xl text-white mb-8 max-w-3xl mx-auto drop-shadow-lg leading-relaxed font-light">
64 Professional POS system designed for cartridge retailers, print shops, and office supply stores.
65 Streamline sales, manage inventory, and grow your business.
66 </p>
67
68 {/* Feature highlights */}
69 <div className="flex flex-wrap justify-center gap-6 mb-8 text-white/90">
70 <div className="flex items-center gap-2">
71 <div className="w-8 h-8 bg-green-500/80 rounded-full flex items-center justify-center">
72 <svg className="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">
73 <path fillRule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clipRule="evenodd" />
74 </svg>
75 </div>
76 <span>Inventory Management</span>
77 </div>
78 <div className="flex items-center gap-2">
79 <div className="w-8 h-8 bg-brand/80 rounded-full flex items-center justify-center">
80 <svg className="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">
81 <path fillRule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clipRule="evenodd" />
82 </svg>
83 </div>
84 <span>Fast Sales Processing</span>
85 </div>
86 <div className="flex items-center gap-2">
87 <div className="w-8 h-8 bg-purple-500/80 rounded-full flex items-center justify-center">
88 <svg className="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">
89 <path fillRule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clipRule="evenodd" />
90 </svg>
91 </div>
92 <span>Customer Management</span>
93 </div>
94 </div>
95
96 {/* CTA Button */}
97 <Link href="/pages/login">
98 <button className="group relative px-8 py-4 bg-gradient-to-r from-blue-600 to-blue-700 hover:from-blue-700 hover:to-blue-800 text-white font-bold rounded-full text-lg shadow-2xl transition-all duration-300 transform hover:scale-105 hover:shadow-blue-500/25">
99 <span className="relative z-10">Get Started Now</span>
100 {/* Button glow effect */}
101 <div className="absolute inset-0 rounded-full bg-gradient-to-r from-blue-400 to-blue-600 opacity-0 group-hover:opacity-50 blur transition-opacity duration-300"></div>
102 </button>
103 </Link>
104
105 <p className="text-white/70 text-sm mt-4">No setup fees • 30-day free trial</p>
106 </main>
107
108 {/* Custom CSS for animations */}
109 <style jsx>{`
110 @keyframes float-slow {
111 0%, 100% { transform: translateY(0px) rotate(0deg); }
112 50% { transform: translateY(-20px) rotate(5deg); }
113 }
114
115 @keyframes float-medium {
116 0%, 100% { transform: translateY(0px) rotate(0deg); }
117 33% { transform: translateY(-15px) rotate(3deg); }
118 66% { transform: translateY(-5px) rotate(-2deg); }
119 }
120
121 @keyframes float-fast {
122 0%, 100% { transform: translateY(0px) rotate(0deg); }
123 25% { transform: translateY(-10px) rotate(2deg); }
124 50% { transform: translateY(-5px) rotate(-1deg); }
125 75% { transform: translateY(-15px) rotate(3deg); }
126 }
127
128 .animate-float-slow {
129 animation: float-slow 8s ease-in-out infinite;
130 }
131
132 .animate-float-medium {
133 animation: float-medium 6s ease-in-out infinite;
134 }
135
136 .animate-float-fast {
137 animation: float-fast 4s ease-in-out infinite;
138 }
139
140 .logo-glow {
141 filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
142 }
143
144 .floating-element {
145 backdrop-filter: blur(1px);
146 }
147
148 .floating-element.large {
149 animation-delay: 0s;
150 }
151
152 .floating-element.medium {
153 animation-delay: 1s;
154 }
155
156 .floating-element.small {
157 animation-delay: 2s;
158 }
159
160 /* Responsive adjustments */}
161 `}</style>
162 </div>
163 );
164}