|
|
|
|
@ -209,12 +209,12 @@ export default function Home() {
|
|
|
|
|
</button>
|
|
|
|
|
</DropdownMenuTrigger>
|
|
|
|
|
<DropdownMenuContent align="end" className="w-56">
|
|
|
|
|
<DropdownMenuItem asChild>
|
|
|
|
|
<DropdownMenuItem asChild className="md:hidden">
|
|
|
|
|
<a href="/contact" className="cursor-pointer">
|
|
|
|
|
Contact
|
|
|
|
|
</a>
|
|
|
|
|
</DropdownMenuItem>
|
|
|
|
|
<DropdownMenuItem asChild>
|
|
|
|
|
<DropdownMenuItem asChild className="md:hidden">
|
|
|
|
|
<a
|
|
|
|
|
href="#pricing"
|
|
|
|
|
onClick={(e) => {
|
|
|
|
|
@ -232,12 +232,12 @@ export default function Home() {
|
|
|
|
|
Pricing
|
|
|
|
|
</a>
|
|
|
|
|
</DropdownMenuItem>
|
|
|
|
|
<DropdownMenuItem asChild>
|
|
|
|
|
<DropdownMenuItem asChild className="md:hidden">
|
|
|
|
|
<a href="/upload" className="cursor-pointer">
|
|
|
|
|
Upload File
|
|
|
|
|
</a>
|
|
|
|
|
</DropdownMenuItem>
|
|
|
|
|
<div className="border-t border-gray-200 my-1" />
|
|
|
|
|
<div className="border-t border-gray-200 my-1 md:hidden" />
|
|
|
|
|
<DropdownMenuItem asChild>
|
|
|
|
|
<a href="/subscriptions" className="cursor-pointer">
|
|
|
|
|
My Subscriptions
|
|
|
|
|
@ -357,13 +357,14 @@ export default function Home() {
|
|
|
|
|
)}
|
|
|
|
|
|
|
|
|
|
{/* Main Content */}
|
|
|
|
|
<div className="flex items-center justify-center min-h-screen">
|
|
|
|
|
<div className="flex items-center justify-center min-h-screen -mt-4 md:mt-0">
|
|
|
|
|
<div
|
|
|
|
|
className="w-[90%] md:w-[90%] h-auto md:h-[600px] rounded-2xl flex flex-col md:flex-row justify-between items-start relative"
|
|
|
|
|
className="w-[90%] md:w-[90%] h-auto md:h-[600px] rounded-2xl flex flex-col md:flex-row justify-between items-start relative mt-2 md:mt-5"
|
|
|
|
|
style={{
|
|
|
|
|
backgroundColor: "#FF580F",
|
|
|
|
|
margin: "20px",
|
|
|
|
|
marginTop: "5px",
|
|
|
|
|
marginLeft: "20px",
|
|
|
|
|
marginRight: "20px",
|
|
|
|
|
marginBottom: "20px",
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<div className="px-4 md:ml-8 mt-8 md:mt-16 w-full md:w-auto pb-8 md:pb-0">
|
|
|
|
|
@ -425,7 +426,7 @@ export default function Home() {
|
|
|
|
|
userSubscription &&
|
|
|
|
|
userSubscription.status === "ACTIVE" && (
|
|
|
|
|
<div className="flex justify-center mt-8">
|
|
|
|
|
<div className="bg-green-50 border-2 border-green-500 rounded-lg p-6 max-w-2xl">
|
|
|
|
|
<div className="bg-green-50 border-2 border-green-500 rounded-lg p-6 max-w-2xl mx-5 md:mx-0">
|
|
|
|
|
<div className="flex items-center justify-between">
|
|
|
|
|
<div>
|
|
|
|
|
<p className="text-green-800 font-semibold text-lg mb-1">
|
|
|
|
|
@ -448,20 +449,23 @@ export default function Home() {
|
|
|
|
|
)}
|
|
|
|
|
|
|
|
|
|
{/* Pricing Section */}
|
|
|
|
|
<div id="pricing" className="flex justify-center mt-16 mb-16">
|
|
|
|
|
<div
|
|
|
|
|
id="pricing"
|
|
|
|
|
className="flex justify-center mt-8 sm:mt-16 mb-16 sm:mb-16 pb-20 sm:pb-16"
|
|
|
|
|
>
|
|
|
|
|
<div className="w-[90%]">
|
|
|
|
|
<h2 className="text-4xl font-bold text-center mb-12 text-gray-800">
|
|
|
|
|
<h2 className="text-2xl sm:text-3xl md:text-4xl font-bold text-center mb-8 sm:mb-12 text-gray-800">
|
|
|
|
|
Available Plans
|
|
|
|
|
</h2>
|
|
|
|
|
<div className="grid grid-cols-1 md:grid-cols-3 gap-8">
|
|
|
|
|
<div className="grid grid-cols-1 md:grid-cols-3 gap-6 sm:gap-8">
|
|
|
|
|
{/* Basic Plan */}
|
|
|
|
|
<div className="bg-white border-2 border-gray-200 rounded-xl p-8 text-center transition-all hover:transform hover:-translate-y-2 hover:shadow-xl hover:border-orange-500 cursor-pointer">
|
|
|
|
|
<div className="bg-white border-2 border-gray-200 rounded-xl p-6 sm:p-8 text-center transition-all hover:transform hover:-translate-y-2 hover:shadow-xl hover:border-orange-500 cursor-pointer">
|
|
|
|
|
<div className="text-2xl font-bold text-orange-500 mb-2">
|
|
|
|
|
Basic
|
|
|
|
|
</div>
|
|
|
|
|
<div className="text-4xl font-bold text-orange-500 mb-8">
|
|
|
|
|
<div className="text-3xl sm:text-4xl font-bold text-orange-500 mb-6 sm:mb-8">
|
|
|
|
|
€9.99{" "}
|
|
|
|
|
<span className="text-lg font-normal text-gray-500">
|
|
|
|
|
<span className="text-base sm:text-lg font-normal text-gray-500">
|
|
|
|
|
/month
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
@ -471,7 +475,7 @@ export default function Home() {
|
|
|
|
|
loading ||
|
|
|
|
|
(userSubscription && userSubscription.status === "ACTIVE")
|
|
|
|
|
}
|
|
|
|
|
className="w-full bg-orange-500 text-white py-3 px-6 rounded-lg font-medium mb-6 hover:bg-orange-600 transition-colors hover:cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed"
|
|
|
|
|
className="w-full bg-orange-500 text-white py-3 px-6 rounded-lg font-medium mb-4 sm:mb-6 hover:bg-orange-600 transition-colors hover:cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed text-sm sm:text-base"
|
|
|
|
|
>
|
|
|
|
|
{loading
|
|
|
|
|
? "Processing..."
|
|
|
|
|
@ -479,7 +483,7 @@ export default function Home() {
|
|
|
|
|
? "Current Plan"
|
|
|
|
|
: "Choose Basic"}
|
|
|
|
|
</button>
|
|
|
|
|
<ul className="text-left space-y-3">
|
|
|
|
|
<ul className="text-left space-y-2 sm:space-y-3 text-sm sm:text-base">
|
|
|
|
|
<li className="flex items-center">
|
|
|
|
|
<span className="text-green-500 font-bold mr-3">✓</span>
|
|
|
|
|
250 GB storage
|
|
|
|
|
@ -504,13 +508,13 @@ export default function Home() {
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{/* Standard Plan */}
|
|
|
|
|
<div className="bg-white border-2 border-gray-200 rounded-xl p-8 text-center transition-all hover:transform hover:-translate-y-2 hover:shadow-xl hover:border-orange-500 cursor-pointer">
|
|
|
|
|
<div className="bg-white border-2 border-gray-200 rounded-xl p-6 sm:p-8 text-center transition-all hover:transform hover:-translate-y-2 hover:shadow-xl hover:border-orange-500 cursor-pointer">
|
|
|
|
|
<div className="text-2xl font-bold text-orange-500 mb-2">
|
|
|
|
|
Standard
|
|
|
|
|
</div>
|
|
|
|
|
<div className="text-4xl font-bold text-orange-500 mb-8">
|
|
|
|
|
<div className="text-3xl sm:text-4xl font-bold text-orange-500 mb-6 sm:mb-8">
|
|
|
|
|
€19.99{" "}
|
|
|
|
|
<span className="text-lg font-normal text-gray-500">
|
|
|
|
|
<span className="text-base sm:text-lg font-normal text-gray-500">
|
|
|
|
|
/month
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
@ -520,7 +524,7 @@ export default function Home() {
|
|
|
|
|
loading ||
|
|
|
|
|
(userSubscription && userSubscription.status === "ACTIVE")
|
|
|
|
|
}
|
|
|
|
|
className="w-full bg-orange-500 text-white py-3 px-6 rounded-lg font-medium mb-6 hover:bg-orange-600 transition-colors hover:cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed"
|
|
|
|
|
className="w-full bg-orange-500 text-white py-3 px-6 rounded-lg font-medium mb-4 sm:mb-6 hover:bg-orange-600 transition-colors hover:cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed text-sm sm:text-base"
|
|
|
|
|
>
|
|
|
|
|
{loading
|
|
|
|
|
? "Processing..."
|
|
|
|
|
@ -528,7 +532,7 @@ export default function Home() {
|
|
|
|
|
? "Current Plan"
|
|
|
|
|
: "Choose Standard"}
|
|
|
|
|
</button>
|
|
|
|
|
<ul className="text-left space-y-3">
|
|
|
|
|
<ul className="text-left space-y-2 sm:space-y-3 text-sm sm:text-base">
|
|
|
|
|
<li className="flex items-center">
|
|
|
|
|
<span className="text-green-500 font-bold mr-3">✓</span>
|
|
|
|
|
500 GB storage
|
|
|
|
|
@ -561,13 +565,13 @@ export default function Home() {
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{/* Premium Plan */}
|
|
|
|
|
<div className="bg-white border-2 border-gray-200 rounded-xl p-8 text-center transition-all hover:transform hover:-translate-y-2 hover:shadow-xl hover:border-orange-500 cursor-pointer">
|
|
|
|
|
<div className="bg-white border-2 border-gray-200 rounded-xl p-6 sm:p-8 text-center transition-all hover:transform hover:-translate-y-2 hover:shadow-xl hover:border-orange-500 cursor-pointer">
|
|
|
|
|
<div className="text-2xl font-bold text-orange-500 mb-2">
|
|
|
|
|
Premium
|
|
|
|
|
</div>
|
|
|
|
|
<div className="text-4xl font-bold text-orange-500 mb-8">
|
|
|
|
|
<div className="text-3xl sm:text-4xl font-bold text-orange-500 mb-6 sm:mb-8">
|
|
|
|
|
€39.99{" "}
|
|
|
|
|
<span className="text-lg font-normal text-gray-500">
|
|
|
|
|
<span className="text-base sm:text-lg font-normal text-gray-500">
|
|
|
|
|
/month
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
@ -577,7 +581,7 @@ export default function Home() {
|
|
|
|
|
loading ||
|
|
|
|
|
(userSubscription && userSubscription.status === "ACTIVE")
|
|
|
|
|
}
|
|
|
|
|
className="w-full bg-orange-500 text-white py-3 px-6 rounded-lg font-medium mb-6 hover:bg-orange-600 transition-colors hover:cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed"
|
|
|
|
|
className="w-full bg-orange-500 text-white py-3 px-6 rounded-lg font-medium mb-4 sm:mb-6 hover:bg-orange-600 transition-colors hover:cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed text-sm sm:text-base"
|
|
|
|
|
>
|
|
|
|
|
{loading
|
|
|
|
|
? "Processing..."
|
|
|
|
|
@ -585,7 +589,7 @@ export default function Home() {
|
|
|
|
|
? "Current Plan"
|
|
|
|
|
: "Choose Premium"}
|
|
|
|
|
</button>
|
|
|
|
|
<ul className="text-left space-y-3">
|
|
|
|
|
<ul className="text-left space-y-2 sm:space-y-3 text-sm sm:text-base">
|
|
|
|
|
<li className="flex items-center">
|
|
|
|
|
<span className="text-green-500 font-bold mr-3">✓</span>1 TB
|
|
|
|
|
storage
|
|
|
|
|
|