Skip to content

Commit

Permalink
fix: correct typo in user registration form
Browse files Browse the repository at this point in the history
  • Loading branch information
zobkazi committed Dec 20, 2024
1 parent f7da3f9 commit 3ba2d61
Show file tree
Hide file tree
Showing 14 changed files with 72 additions and 36 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build && next export",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
Expand Down
11 changes: 11 additions & 0 deletions src/app/(admin)/dashboard/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react'

const page = () => {
return (
<div>
Dashboard page
</div>
)
}

export default page
16 changes: 16 additions & 0 deletions src/app/(admin)/signin/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
export const metadata = {
title: 'Welcome Readio 99.20 fm',
description: 'Readio 99.0',
}

export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body>{children}</body>
</html>
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import React from 'react'

const page = () => {
return (
<div>page</div>
<div>
Sign in page
</div>
)
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import "@/styles/globals.css";

export const metadata = {
title: 'Next.js',
description: 'Generated by Next.js',
}

export default function AuthLayout({
export default function RootLayout({
children,
}: {
children: React.ReactNode
Expand All @@ -15,4 +13,4 @@ export default function AuthLayout({
<body>{children}</body>
</html>
)
}
}
9 changes: 9 additions & 0 deletions src/app/(admin)/signup/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react'

const Signup = () => {
return (
<div>Signup</div>
)
}

export default Signup
File renamed without changes.
9 changes: 6 additions & 3 deletions src/components/pages/contact/ContactUs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import Link from "next/link";
import { motion } from "framer-motion";
import { FaEnvelope, FaPhoneAlt, FaFacebook } from "react-icons/fa"; // Import icons from react-icons
import { aboutUsData } from "@/contexts/aboutUsData";

const ContactUs: React.FC = () => {
return (
Expand Down Expand Up @@ -52,9 +53,11 @@ const ContactUs: React.FC = () => {
>
<h3 className="text-xl font-semibold text-purple-600">ঠিকানা:</h3>
<p className="mt-1 text-gray-600">
রামনা মিস্ত্রী পাড়া, চিলমারী, বাংলাদেশ, ৫৬৩০
{
aboutUsData.address
}
</p>
<p className="mt-1 text-gray-600">চিলমারী, কুড়িগ্রাম</p>

</motion.div>

{/* Contact Information */}
Expand All @@ -79,7 +82,7 @@ const ContactUs: React.FC = () => {
</div>
<div className="flex items-center mt-4 text-gray-600">
<FaPhoneAlt className="mr-2 text-green-600" />
<p>ফোন: +৮৮০১৭১৯৪৬৪৯৮১, ০১৯৬৯-৯০৬০০৮</p>
<p>ফোন: +৮৮০ ১৭১৯৪৬৪৯৮১, +৮৮০ ১৯৬৯-৯০৬০০৮</p>
</div>
<div className="flex items-center mt-4">
<FaFacebook className="mr-2 text-blue-600" />
Expand Down
20 changes: 4 additions & 16 deletions src/components/pages/show/OuerShow.tsx
Original file line number Diff line number Diff line change
@@ -1,27 +1,15 @@
import RadioChilmariFacebookPage from '@/components/ui/FacebookPage';
import HoursCard from '@/components/ui/HoursCard';
import RdrsProgram from '@/components/ui/RdrsProgram';
import Link from 'next/link';
import React from 'react';
import { FaFacebook } from 'react-icons/fa';

const OuerShow = () => {
return (
<div className="mt-20">
{/* Header Section */}
<div className="text-center mt-30 py-10">
<span className=" text-sm sm:text-lg md:text-xl lg:text-xl text-blue-600 dark:text-gray-100 font-extrabold">
আমাদের অফিসিয়াল ফেসবুক পেজে চোখ রাখুন, প্রতিদিনের অনুষ্ঠান সূচী দেখতে ক্লিক করুন:
</span>
<span>
<Link
href="https://www.facebook.com/radiochilmari"
target="_blank"
rel="noopener noreferrer"
>
<FaFacebook className="inline-block text-3xl ml-5 text-blue-600 dark:text-gray-100" />
</Link>
</span>

<div className=" mt-30 py-10">

<RadioChilmariFacebookPage pageHref="https://www.facebook.com/radiochilmari" />
</div>

{/* Main Content Section */}
Expand Down
15 changes: 8 additions & 7 deletions src/components/ui/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const Navbar = () => {
}`}
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
transition={{ duration: 0.5 }}
transition={{ duration: 0.2 }}
>
{/* Left: Logo */}
<div className="flex items-center">
Expand All @@ -50,7 +50,7 @@ const Navbar = () => {
<CurrentTimeInBangla />

{/* Center: Navigation Links (Desktop View) */}
<div className="hidden md:flex space-x-6 text-black font-bold font-bengali text-sm md:text-lg lg:text-xl">
<div className="hidden md:flex space-x-6 text-blue-500 font-bold font-bengali text-sm md:text-lg lg:text-xl">
<motion.div
className="hover:underline"
initial={{ opacity: 0 }}
Expand All @@ -73,15 +73,16 @@ const Navbar = () => {
animate={{ opacity: 1 }}
transition={{ duration: 0.3, delay: 0.6 }}
>
<Link href="/contact-us">যোগাযোগ করুন</Link>
<Link href="/our-address">আমাদের ঠিকানা</Link>
</motion.div>
</div>

{/* Right: Hamburger Menu (Mobile View) */}
<div className="md:hidden flex items-center">
<button
className="text-blue-500 focus:outline-none"
onClick={() => setIsMenuOpen(!isMenuOpen)}
className="text-black focus:outline-none"

>
{isMenuOpen ? <FaTimes size={24} /> : <FaBars size={24} />}
</button>
Expand All @@ -96,15 +97,15 @@ const Navbar = () => {
exit={{ opacity: 0, y: -20 }}
transition={{ duration: 0.3 }}
>
<div className="flex flex-col items-center space-y-4 py-4 font-bold font-bengali text-lg">
<div className="flex flex-col items-center space-y-4 py-4 font-bold font-bengali text-lg text-blue-500">
<Link href="/about-us" onClick={() => setIsMenuOpen(false)}>
আমাদের সম্পর্কে
</Link>
<Link href="/our-show" onClick={() => setIsMenuOpen(false)}>
আমাদের অনুষ্ঠান সমূহ
</Link>
<Link href="/contact-us" onClick={() => setIsMenuOpen(false)}>
যোগাযোগ করুন
<Link href="/our-address" onClick={() => setIsMenuOpen(false)}>
আমাদের ঠিকানা
</Link>
</div>
</motion.div>
Expand Down
9 changes: 9 additions & 0 deletions src/components/ui/ProgramsCard.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react'

const ProgramsCard = () => {
return (
<div>ProgramsCard</div>
)
}

export default ProgramsCard
1 change: 0 additions & 1 deletion src/components/ui/TopRegularProgramSlider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import React, { useRef, useState, useEffect } from "react";
import { Swiper, SwiperSlide } from "swiper/react";
import { Autoplay } from "swiper/modules";
import "swiper/css";
import Image, { StaticImageData } from "next/image";
import { imageK } from "@/contexts/TopRegularProgramSliderData";

Expand Down
5 changes: 2 additions & 3 deletions src/contexts/aboutUsData.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
export const aboutUsData = {
title: "রেডিও চিলমারী",
address: [
"আরডিআরএস চিলমারী ক্যাম্পাস",
"চিলমারী, কুড়িগ্রাম",
"আরডিআরএস চিলমারী ক্যাম্পাস,",
"রামনা মিস্ত্রী পাড়া, চিলমারী, বাংলাদেশ, ৫৬৩০",
],
contact: {
phone: ["+৮৮০১৭১৯৪৬৪৯৮১", "০১৯৬৯-৯০৬০০৮"],
phone: ["+৮৮০ ১৭১৯৪৬৪৯৮১", "+৮৮০ ১৯৬৯-৯০৬০০৮"],
email: "[email protected]",
facebook: "ফেসবুক পেজ",
},
Expand Down
1 change: 1 addition & 0 deletions src/layouts/RootLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import "@/styles/globals.css";
import Navbar from '@/components/ui/Navbar';
import Footer from "@/components/ui/Footer";
import { seoMetadata } from "@/contexts/SEO"; // Import the SEO metadata
import "swiper/css";

const inter = Inter({ subsets: ["latin"] });

Expand Down

0 comments on commit 3ba2d61

Please sign in to comment.