Ui cahnges and button linking
This commit is contained in:
@@ -5,8 +5,11 @@ import { motion } from "framer-motion";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { BarChart3 } from "lucide-react";
|
||||
import { crm } from "@/services/Constants";
|
||||
import { useRouter } from "next/navigation";
|
||||
import DemoModal from "../../_homeComponents/DemoModal";
|
||||
|
||||
const CRMAnalytics: React.FC = () => {
|
||||
const router = useRouter();
|
||||
return (
|
||||
<section className="py-20 px-4 bg-[#2563eb] text-white relative overflow-hidden">
|
||||
<div className="absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSI+PHBhdGggZD0iTTM2IDE4YzAtOS45NC04LjA2LTE4LTE4LTE4UzAgOC4wNiAwIDE4czguMDYgMTggMTggMTggMTgtOC4wNiAxOC0xOCIvPjwvZz48L2c+PC9zdmc+')] opacity-30"></div>
|
||||
@@ -60,12 +63,16 @@ const CRMAnalytics: React.FC = () => {
|
||||
viewport={{ once: true }}
|
||||
className="mt-12 text-center"
|
||||
>
|
||||
<Button
|
||||
size="lg"
|
||||
className="bg-white text-blue-700 hover:bg-blue-50 text-lg px-8 py-6 shadow-xl"
|
||||
>
|
||||
<BarChart3 className="mr-2" /> View Full Analytics Dashboard
|
||||
</Button>
|
||||
<DemoModal
|
||||
trigger={
|
||||
<Button
|
||||
size="lg"
|
||||
className="bg-white text-blue-700 hover:bg-blue-50 text-lg px-8 py-6 shadow-xl"
|
||||
>
|
||||
<BarChart3 className="mr-2" /> View Full Analytics Dashboard
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
</motion.div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -4,9 +4,7 @@ import React from "react";
|
||||
import { motion } from "framer-motion";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { crm } from "@/services/Constants";
|
||||
|
||||
|
||||
|
||||
import DemoModal from "../../_homeComponents/DemoModal";
|
||||
|
||||
const FinalCTA: React.FC = () => {
|
||||
return (
|
||||
@@ -54,16 +52,20 @@ const FinalCTA: React.FC = () => {
|
||||
viewport={{ once: true }}
|
||||
className="mt-10"
|
||||
>
|
||||
<Button
|
||||
size="lg"
|
||||
className="px-10 py-6 text-lg font-semibold bg-white text-blue-700 hover:bg-gray-100 hover:scale-105 transition-all rounded-xl shadow-lg"
|
||||
>
|
||||
{crm.FINAL_CTA.ctaText}
|
||||
</Button>
|
||||
<DemoModal
|
||||
trigger={
|
||||
<Button
|
||||
size="lg"
|
||||
className="px-10 py-6 text-lg font-semibold bg-white text-blue-700 hover:bg-gray-100 hover:scale-105 transition-all rounded-xl shadow-lg"
|
||||
>
|
||||
{crm.FINAL_CTA.ctaText}
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
</motion.div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default FinalCTA
|
||||
export default FinalCTA;
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
UserCheck,
|
||||
} from "lucide-react";
|
||||
import { crm } from "@/services/Constants";
|
||||
|
||||
import DemoModal from "../../_homeComponents/DemoModal";
|
||||
|
||||
// Components
|
||||
const CRMHero: React.FC = () => {
|
||||
@@ -38,7 +38,9 @@ const CRMHero: React.FC = () => {
|
||||
A Powerful CRM
|
||||
</span>
|
||||
<br />
|
||||
<span className="text-gray-900">to Manage Leads, Customers & Sales Growth</span>
|
||||
<span className="text-gray-900">
|
||||
to Manage Leads, Customers & Sales Growth
|
||||
</span>
|
||||
</h1>
|
||||
|
||||
<p className="text-xl text-gray-600 mb-8 leading-relaxed">
|
||||
@@ -46,19 +48,25 @@ const CRMHero: React.FC = () => {
|
||||
</p>
|
||||
|
||||
<div className="flex flex-col sm:flex-row gap-4">
|
||||
<Button
|
||||
size="lg"
|
||||
className="bg-[#2563eb] hover:from-blue-700 hover:to-purple-700 text-lg px-8 py-6 shadow-lg hover:shadow-xl transition-all"
|
||||
>
|
||||
{crm.hero.ctaPrimary} <ArrowRight className="ml-2 w-5 h-5" />
|
||||
</Button>
|
||||
<Button
|
||||
<DemoModal
|
||||
trigger={
|
||||
<Button
|
||||
size="lg"
|
||||
className="bg-[#2563eb] hover:from-blue-700 hover:to-purple-700 text-lg px-8 py-6 shadow-lg hover:shadow-xl transition-all"
|
||||
>
|
||||
{crm.hero.ctaPrimary}{" "}
|
||||
<ArrowRight className="ml-2 w-5 h-5" />
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
|
||||
{/*<Button
|
||||
size="lg"
|
||||
variant="outline"
|
||||
className="border-2 border-gray-300 hover:border-blue-600 hover:bg-blue-50 text-gray-700 text-lg px-8 py-6"
|
||||
>
|
||||
<Download className="mr-2 w-5 h-5" /> {crm.hero.ctaSecondary}
|
||||
</Button>
|
||||
</Button> */}
|
||||
</div>
|
||||
|
||||
<div className="mt-8 flex items-center gap-6 text-sm text-gray-600">
|
||||
@@ -105,4 +113,4 @@ const CRMHero: React.FC = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default CRMHero
|
||||
export default CRMHero;
|
||||
|
||||
Reference in New Issue
Block a user