diff --git a/app/event-details/[eventTitle]/custom.css b/app/event-details/[eventTitle]/custom.css new file mode 100644 index 0000000..44a9564 --- /dev/null +++ b/app/event-details/[eventTitle]/custom.css @@ -0,0 +1,140 @@ +h2 { + font-size: 20px; + font-family: Plus Jakarta Sans; + font-weight: 700; + font-style: normal; +} + +h3 { + font-size: 16px; + font-weight: 700; + font-style: normal; + text-transform: capitalize; + color: #000000; + background-color: #ffffff; + font-family: Plus Jakarta Sans; +} + +div p p { + font-size: 14px; + font-weight: 400; + font-style: normal; + text-decoration: none; + text-transform: none; + text-align: left; + color: #525769; + font-family: Plus Jakarta Sans; +} + +div.h-full.pt-4 { + background-color: #e8eaf6; +} + +button { + font-family: Plus Jakarta Sans; + font-weight: 500; + font-style: normal; + font-size: 14px; + text-transform: capitalize; +} + +p { + font-family: Plus Jakarta Sans; + font-weight: 400; + font-style: normal; + font-size: 14px; + color: #212121; +} + +div div a { + font-family: Plus Jakarta Sans; + font-size: 14px; + font-weight: 500; + font-style: normal; +} + +td { + font-family: Plus Jakarta Sans; + font-weight: 500; + font-style: normal; + font-size: 14px; + color: #1976d2; +} + +a td p { + color: #212121; + font-family: Plus Jakarta Sans; + font-weight: 400; + font-style: normal; +} + +h1 { + font-family: Plus Jakarta Sans; + font-size: 16px; + font-weight: 700; + font-style: normal; + text-transform: none; + color: #311b92; +} + +span { + font-family: Plus Jakarta Sans; + font-size: 14px; + color: #212121; +} + +ol li p { + font-family: Plus Jakarta Sans; + font-size: 14px; + color: #424242; +} + +div.rounded-3xl { + font-family: Plus Jakarta Sans; + font-size: 14px; +} + +label { + font-family: Plus Jakarta Sans; + font-size: 14px; + font-weight: 500; + font-style: normal; + text-decoration: none; + color: #212121; +} + +div.text-sm.font-normal.opacity-70 { + font-family: Plus Jakarta Sans; + font-size: 14px; +} + +th { + font-family: Plus Jakarta Sans; +} + +button.inline-flex { + font-family: Plus Jakarta Sans; + font-size: 14px; + font-weight: 500; + font-style: normal; +} + +p.ml-4.text-zinc-400 { + font-family: Plus Jakarta Sans; +} + +p.ml-4 { + font-family: Plus Jakarta Sans; + font-weight: 500; + font-style: normal; + font-size: 16px; +} + + +/* input.lg:w-[38rem].w-[22rem].text-sm.border.border-gray-300.rounded-2xl.p-2.pl-8 { + display: none; +}*/ + +input { + display: none; +} \ No newline at end of file diff --git a/app/event-details/[eventTitle]/layout.tsx b/app/event-details/[eventTitle]/layout.tsx index 28f9b33..3266940 100644 --- a/app/event-details/[eventTitle]/layout.tsx +++ b/app/event-details/[eventTitle]/layout.tsx @@ -1,4 +1,4 @@ - +import './custom.css' export default function EventDetailsPage ({ children, diff --git a/app/event-details/[eventTitle]/page.tsx b/app/event-details/[eventTitle]/page.tsx index 2e817c3..a9921f6 100644 --- a/app/event-details/[eventTitle]/page.tsx +++ b/app/event-details/[eventTitle]/page.tsx @@ -1,4 +1,4 @@ - +import custom from './custom.module.css' "use client"; import Image from 'next/image' @@ -337,7 +337,7 @@ const EventDetailsPage = ({ params: { eventTitle } }: Props) => {
-

{eventObject.title}

+

{eventObject.title}

@@ -369,7 +369,7 @@ const EventDetailsPage = ({ params: { eventTitle } }: Props) => {
-

Date and Time

+

Date and Time

{dateString &&

{dateString}

} @@ -377,7 +377,7 @@ const EventDetailsPage = ({ params: { eventTitle } }: Props) => {
-

Location

+

Location

@@ -396,7 +396,7 @@ const EventDetailsPage = ({ params: { eventTitle } }: Props) => { })() }
-

Show Map

+

Show Map

@@ -404,7 +404,7 @@ const EventDetailsPage = ({ params: { eventTitle } }: Props) => {
-

Duration of the event

+

Duration of the event

{eventObject.durationOfEvent} hours
@@ -419,7 +419,7 @@ const EventDetailsPage = ({ params: { eventTitle } }: Props) => {
-

Description

+

Description

{eventObject.description && parse(eventObject.description)}

@@ -427,7 +427,7 @@ const EventDetailsPage = ({ params: { eventTitle } }: Props) => {
-
+ {/*
@@ -462,7 +462,7 @@ const EventDetailsPage = ({ params: { eventTitle } }: Props) => {
-
+
*/}
@@ -658,7 +658,20 @@ const EventDetailsPage = ({ params: { eventTitle } }: Props) => {
-
+
+ + +
Pre-Conference Date :{eventObject.preConferenceDate && eventObject.preConferenceDate.toDate().toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' })}
+
Registration Start Date :{eventObject.registrationStartDate && eventObject.registrationStartDate.toDate().toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' })}
+
Registration End Date :{eventObject.registrationEndDate && eventObject.registrationEndDate.toDate().toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' })}
+
Early Bird Registration Fee :{eventObject.earlyBirdRegistrationFee}
+
Late Registration Fee :{eventObject.lateRegistrationFee}
+
Contact Number :{eventObject.contactNumber}
+
+
+
+ +
Created By @@ -709,7 +722,7 @@ const EventDetailsPage = ({ params: { eventTitle } }: Props) => {
Few events comes with Govt. recognized credits. Check Info*
-

+

{ eventObject.creditPoints ? diff --git a/app/events/page.tsx b/app/events/page.tsx index d87bbf1..e475b22 100644 --- a/app/events/page.tsx +++ b/app/events/page.tsx @@ -798,8 +798,9 @@ export default function MusicPage() { // }, [changeE]) const [location, setLocation] = useState("all"); - const handleLocationChange = ()=>{ - + const handleLocationChange = (event:any)=>{ + const value = event.target.value; + setLocation(value); } const handleChangeCat = (event:any)=>{ @@ -807,7 +808,7 @@ export default function MusicPage() { handleSelectChange(value); } - const locations:any = []; + const locations:any = ["Afghanistan","Albania","Algeria","Andorra","Angola","Anguilla","Antigua & Barbuda","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia & Herzegovina","Botswana","Brazil","British Virgin Islands","Brunei","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Cape Verde","Cayman Islands","Chad","Chile","China","Colombia","Congo","Cook Islands","Costa Rica","Cote D Ivoire","Croatia","Cruise Ship","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Estonia","Ethiopia","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Polynesia","French West Indies","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guam","Guatemala","Guernsey","Guinea","Guinea Bissau","Guyana","Haiti","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Isle of Man","Israel","Italy","Jamaica","Japan","Jersey","Jordan","Kazakhstan","Kenya","Kuwait","Kyrgyz Republic","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macau","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Mauritania","Mauritius","Mexico","Moldova","Monaco","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Namibia","Nepal","Netherlands","Netherlands Antilles","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Norway","Oman","Pakistan","Palestine","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Poland","Portugal","Puerto Rico","Qatar","Reunion","Romania","Russia","Rwanda","Saint Pierre & Miquelon","Samoa","San Marino","Satellite","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","South Africa","South Korea","Spain","Sri Lanka","St Kitts & Nevis","St Lucia","St Vincent","St. Lucia","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syria","Taiwan","Tajikistan","Tanzania","Thailand","Timor L'Este","Togo","Tonga","Trinidad & Tobago","Tunisia","Turkey","Turkmenistan","Turks & Caicos","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Venezuela","Vietnam","Virgin Islands (US)","Yemen","Zambia","Zimbabwe"]; useEffect(()=>{ const getCat=async()=>{ @@ -836,7 +837,7 @@ export default function MusicPage() { return ( <> -
+
BannerImage -
Find Your Next Experience
-
Discover & Promote Upcoming Event
-
+

Find Your Next Experience

+

Discover & Promote Upcoming Event

+
{/* */} @@ -911,10 +912,11 @@ export default function MusicPage() { + { locations&& - locations.map((categoryD:any, index:any) => ( - ))} @@ -927,12 +929,12 @@ export default function MusicPage() {
-
+
Upcoming Events
-
Featured Events
+
Featured Events
-
+
{searchResult && searchResult.length > 0 ?( searchResult.map((hit: any) => { diff --git a/app/globals.css b/app/globals.css index 927713f..64f4d08 100644 --- a/app/globals.css +++ b/app/globals.css @@ -180,6 +180,18 @@ span { color: #212121; } +select { + font-family: 'Plus Jakarta Sans'; +} + +input { + font-family: 'Plus Jakarta Sans'; +} + +.eventSubHeading { + font-family: 'Plus Jakarta Sans'; +} + ol li p { font-family: 'Plus Jakarta Sans'; font-size: 14px; diff --git a/app/layout.tsx b/app/layout.tsx index 32f2c4f..319b59a 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -56,7 +56,7 @@ export default function RootLayout({ -
+
{children}
diff --git a/components/MobileSidebar.tsx b/components/MobileSidebar.tsx index 56bcb58..69ba978 100644 --- a/components/MobileSidebar.tsx +++ b/components/MobileSidebar.tsx @@ -22,7 +22,7 @@ const MobileSidebar = () => { return ( - diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 9233f24..e028e55 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -9,6 +9,7 @@ import { usePathname, useRouter } from "next/navigation"; import { Book, HomeIcon, Search, User } from "lucide-react"; import { Home } from "lucide-react"; import { Bell } from "lucide-react"; +import { FiPlusCircle } from "react-icons/fi"; import { NotebookTabs } from "lucide-react"; import { SquarePen } from "lucide-react"; import { UserRoundPlus } from "lucide-react"; @@ -93,6 +94,7 @@ import { Separator } from "./ui/separator"; import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectTrigger, SelectValue } from "./ui/select"; import { LuXCircle } from "react-icons/lu"; import logo from '../public/newvainaha.png' +import { FaCirclePlus } from "react-icons/fa6"; type Input = z.infer; @@ -550,14 +552,14 @@ const clearNotifications = async () => { value={searchText} onChange={handleSearchText} placeholder="Search" - className="peer cursor-pointer relative z-10 h-10 w-10 text-white pl-12 rounded-full border-[2px] bg-transparent border-[#ffffff] outline-none focus:w-[37rem] ml-[41rem] focus:ml-[0rem] focus:cursor-text focus:border-[#ffffff] transition-all" + className="peer cursor-pointer relative z-10 h-10 w-10 text-white pl-12 rounded-full border-[2px] bg-transparent border-[#ffffff] outline-none focus:w-[37rem] ml-[44rem] focus:ml-[0rem] focus:cursor-text focus:border-[#ffffff] transition-all" onKeyDown={(e) => { if (e.key === 'Enter') { dispatch(triggerSearch()); } }} /> - +
@@ -593,10 +595,10 @@ const clearNotifications = async () => { { isGuest === 'true'||user?.isAnonymous==true? - : + : // - + // }