Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 11:18:15 +00:00
2 changed files with 52 additions and 133 deletions

View File

@@ -7,7 +7,7 @@ import PricingCardEight from "@/components/sections/pricing/PricingCardEight";
import ContactCenter from "@/components/sections/contact/ContactCenter";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import Link from "next/link";
import { Sparkles, Zap, Mail } from "lucide-react";
import { Sparkles, Zap, Mail, Heart, BarChart3 } from "lucide-react";
const OwnerDashboardPage = () => {
const navItems = [
@@ -20,8 +20,7 @@ const OwnerDashboardPage = () => {
const footerColumns = [
{
title: "Product",
items: [
title: "Product", items: [
{ label: "Features", href: "#features" },
{ label: "Pricing", href: "#pricing" },
{ label: "Security", href: "#" },
@@ -29,8 +28,7 @@ const OwnerDashboardPage = () => {
],
},
{
title: "Company",
items: [
title: "Company", items: [
{ label: "About", href: "#about" },
{ label: "Blog", href: "#" },
{ label: "Careers", href: "#" },
@@ -38,8 +36,7 @@ const OwnerDashboardPage = () => {
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{ label: "Privacy Policy", href: "#" },
{ label: "Terms of Service", href: "#" },
{ label: "Cookie Policy", href: "#" },
@@ -47,8 +44,7 @@ const OwnerDashboardPage = () => {
],
},
{
title: "Connect",
items: [
title: "Connect", items: [
{ label: "Twitter", href: "https://twitter.com" },
{ label: "LinkedIn", href: "https://linkedin.com" },
{ label: "Facebook", href: "https://facebook.com" },
@@ -78,47 +74,23 @@ const OwnerDashboardPage = () => {
<FeatureCardTwentyThree
features={[
{
id: "1",
title: "Browse Multiple Messes",
tags: ["Student", "Selection", "Real-time"],
imageSrc: "http://img.b2bpic.net/free-photo/young-adult-enjoying-virtual-date_23-2149328201.jpg?_wi=4",
imageAlt: "Three different mess options available for selection",
},
id: "1", title: "Browse Multiple Messes", tags: ["Student", "Selection", "Real-time"],
imageSrc: "http://img.b2bpic.net/free-photo/young-adult-enjoying-virtual-date_23-2149328201.jpg", imageAlt: "Three different mess options available for selection"},
{
id: "2",
title: "Weekly Menu Management",
tags: ["Veg", "Non-Veg", "Mixed"],
imageSrc: "http://img.b2bpic.net/free-vector/flat-design-meal-planner-template_23-2149291077.jpg?_wi=3",
imageAlt: "Weekly menu with breakfast, lunch, dinner categories and pricing",
},
id: "2", title: "Weekly Menu Management", tags: ["Veg", "Non-Veg", "Mixed"],
imageSrc: "http://img.b2bpic.net/free-vector/flat-design-meal-planner-template_23-2149291077.jpg", imageAlt: "Weekly menu with breakfast, lunch, dinner categories and pricing"},
{
id: "3",
title: "Quality Feedback System",
tags: ["Ratings", "Reviews", "Transparent"],
imageSrc: "http://img.b2bpic.net/free-photo/man-woman-using-their-phone-kitchen_23-2149017741.jpg?_wi=3",
imageAlt: "Meal quality feedback and rating interface",
},
id: "3", title: "Quality Feedback System", tags: ["Ratings", "Reviews", "Transparent"],
imageSrc: "http://img.b2bpic.net/free-photo/man-woman-using-their-phone-kitchen_23-2149017741.jpg", imageAlt: "Meal quality feedback and rating interface"},
{
id: "4",
title: "Attendance Tracking",
tags: ["Owner", "Analytics", "Billing"],
imageSrc: "http://img.b2bpic.net/free-vector/book-your-important-days-smartphone_52683-38551.jpg?_wi=2",
imageAlt: "Attendance dashboard showing daily student presence",
},
id: "4", title: "Attendance Tracking", tags: ["Owner", "Analytics", "Billing"],
imageSrc: "http://img.b2bpic.net/free-vector/book-your-important-days-smartphone_52683-38551.jpg", imageAlt: "Attendance dashboard showing daily student presence"},
{
id: "5",
title: "Smart Cancellation",
tags: ["One Day Notice", "Easy Apply", "Approval"],
imageSrc: "http://img.b2bpic.net/free-photo/traditional-spanish-food-world-tourism-day_23-2149114027.jpg?_wi=2",
imageAlt: "Mess cancellation application with one-day notice requirement",
},
id: "5", title: "Smart Cancellation", tags: ["One Day Notice", "Easy Apply", "Approval"],
imageSrc: "http://img.b2bpic.net/free-photo/traditional-spanish-food-world-tourism-day_23-2149114027.jpg", imageAlt: "Mess cancellation application with one-day notice requirement"},
{
id: "6",
title: "Committee Management",
tags: ["Coordination", "Resolution", "Communication"],
imageSrc: "http://img.b2bpic.net/free-photo/close-up-hand-typing-smartphone_23-2148913707.jpg?_wi=2",
imageAlt: "Student committee dashboard for problem resolution",
},
id: "6", title: "Committee Management", tags: ["Coordination", "Resolution", "Communication"],
imageSrc: "http://img.b2bpic.net/free-photo/close-up-hand-typing-smartphone_23-2148913707.jpg", imageAlt: "Student committee dashboard for problem resolution"},
]}
animationType="slide-up"
title="Comprehensive Mess Management Features"
@@ -134,70 +106,31 @@ const OwnerDashboardPage = () => {
<PricingCardEight
plans={[
{
id: "basic",
badge: "Popular for Students",
badgeIcon: "Heart",
price: "₹3,500",
subtitle: "Perfect for budget-conscious students",
buttons: [
id: "basic", badge: "Popular for Students", badgeIcon: Heart,
price: "₹3,500", subtitle: "Perfect for budget-conscious students", buttons: [
{
text: "Subscribe Now",
href: "/",
},
text: "Subscribe Now", href: "/"},
],
features: [
"Daily breakfast, lunch, dinner",
"Choose from veg or non-veg",
"Weekly menu access",
"Quality feedback submission",
"One-day cancellation notice",
"Committee support",
],
"Daily breakfast, lunch, dinner", "Choose from veg or non-veg", "Weekly menu access", "Quality feedback submission", "One-day cancellation notice", "Committee support"],
},
{
id: "premium",
badge: "Best Value",
badgeIcon: "Sparkles",
price: "₹4,500",
subtitle: "Premium meals with best nutrition",
buttons: [
id: "premium", badge: "Best Value", badgeIcon: Sparkles,
price: "₹4,500", subtitle: "Premium meals with best nutrition", buttons: [
{
text: "Subscribe Now",
href: "/",
},
text: "Subscribe Now", href: "/"},
],
features: [
"All Basic plan features",
"Mixed meals (veg + non-veg)",
"Special dietary preferences",
"Priority feedback response",
"Nutrition info per meal",
"VIP committee assistance",
"Monthly billing discount",
],
"All Basic plan features", "Mixed meals (veg + non-veg)", "Special dietary preferences", "Priority feedback response", "Nutrition info per meal", "VIP committee assistance", "Monthly billing discount"],
},
{
id: "owner",
badge: "For Mess Owners",
badgeIcon: "BarChart3",
price: "₹8,999",
subtitle: "Complete management suite",
buttons: [
id: "owner", badge: "For Mess Owners", badgeIcon: BarChart3,
price: "₹8,999", subtitle: "Complete management suite", buttons: [
{
text: "Start Business",
href: "/owner-dashboard",
},
text: "Start Business", href: "/owner-dashboard"},
],
features: [
"Unlimited menu updates",
"Student attendance tracking",
"Comprehensive analytics",
"Automatic billing",
"Cancellation notifications",
"Customer management",
"Real-time notifications",
"Revenue dashboard",
],
"Unlimited menu updates", "Student attendance tracking", "Comprehensive analytics", "Automatic billing", "Cancellation notifications", "Customer management", "Real-time notifications", "Revenue dashboard"],
},
]}
animationType="slide-up"

View File

@@ -1,51 +1,37 @@
"use client";
import { memo } from "react";
import useSvgTextLogo from "./useSvgTextLogo";
import { cls } from "@/lib/utils";
import React from 'react';
interface SvgTextLogoProps {
logoText: string;
adjustHeightFactor?: number;
verticalAlign?: "top" | "center";
text: string;
fontSize?: number;
fill?: string;
className?: string;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
fontSize = 24,
fill = 'currentColor',
className = '',
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
viewBox={`0 0 ${text.length * fontSize * 0.6} ${fontSize * 1.5}`}
className={className}
xmlns="http://www.w3.org/2000/svg"
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
}}
x="50%"
y="50%"
fontSize={fontSize}
fill={fill}
textAnchor="middle"
dominantBaseline="middle"
fontWeight="bold"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;