diff --git a/app/(auth)/sign-in/page.jsx b/app/(auth)/sign-in/page.jsx
index f94bf5e..4f2d42a 100644
--- a/app/(auth)/sign-in/page.jsx
+++ b/app/(auth)/sign-in/page.jsx
@@ -15,7 +15,7 @@ import { Button } from "../../../@/components/ui/button";
import { Input } from "../../../@/components/ui/input";
import Link from "next/link";
import { useRouter } from "next/navigation";
-import { useToast } from "../../../@/components/ui/use-toast";
+import { useToast } from "../../../@/hooks/use-toast";
import { signInSchema } from "../../../model/Schema/signInSchema";
import React, { useState } from "react";
import {
@@ -156,6 +156,7 @@ export default function SignInForm() {
className="w-full font-bold"
type="submit"
disabled={isLoading}
+ arial-label="signin-btn"
>
{isLoading ? (
@@ -174,6 +175,7 @@ export default function SignInForm() {
variant="default"
className="w-full flex gap-4"
onClick={handleGoogleSignIn}
+ arial-label="google-signin-btn"
>
@@ -182,6 +184,7 @@ export default function SignInForm() {
variant="default"
className="w-full flex gap-4"
onClick={handleDiscordSignIn}
+ arial-label="discord-signin-btn"
>
@@ -191,6 +194,7 @@ export default function SignInForm() {
Sign up
diff --git a/app/(auth)/sign-up/page.jsx b/app/(auth)/sign-up/page.jsx
index 4838754..c738312 100644
--- a/app/(auth)/sign-up/page.jsx
+++ b/app/(auth)/sign-up/page.jsx
@@ -202,6 +202,7 @@ const Page = () => {
type="submit"
className="w-full font-bold"
disabled={isSubmitting}
+ arial-label="signup-btn"
>
{isSubmitting ? (
<>
@@ -218,6 +219,7 @@ const Page = () => {
Sign in
diff --git a/app/(auth)/verify/[username]/page.jsx b/app/(auth)/verify/[username]/page.jsx
index e6cf711..accf97d 100644
--- a/app/(auth)/verify/[username]/page.jsx
+++ b/app/(auth)/verify/[username]/page.jsx
@@ -104,7 +104,11 @@ const VerifyAccount = () => {
/>
-
diff --git a/app/blogs/[slug]/page.jsx b/app/blogs/[slug]/page.jsx
index 413be9f..663c7c9 100644
--- a/app/blogs/[slug]/page.jsx
+++ b/app/blogs/[slug]/page.jsx
@@ -46,7 +46,11 @@ const page = async ({ params }) => {
return (
-
+
diff --git a/app/blogs/page.jsx b/app/blogs/page.jsx
index a589b9c..d9bd67f 100644
--- a/app/blogs/page.jsx
+++ b/app/blogs/page.jsx
@@ -86,8 +86,14 @@ const page = async () => {
- Read More
+
+ Read More
+
diff --git a/app/bracket/page.js b/app/bracket/page.js
index e70d4fd..25fba5e 100644
--- a/app/bracket/page.js
+++ b/app/bracket/page.js
@@ -11,6 +11,7 @@ const BracketPage = () => {
Create a bracket
diff --git a/app/create/team/page.jsx b/app/create/team/page.jsx
index a1ace23..c731453 100644
--- a/app/create/team/page.jsx
+++ b/app/create/team/page.jsx
@@ -317,7 +317,9 @@ export default function CreateTeamForm() {
/>
- Create
+
+ Create
+
diff --git a/app/create/tournament/page.js b/app/create/tournament/page.js
index a321093..8bd4e04 100644
--- a/app/create/tournament/page.js
+++ b/app/create/tournament/page.js
@@ -338,7 +338,9 @@ export default function Page() {
Prize Configuration{" "}
ⓘ
- Add Prize
+
+ Add Prize
+
{/* Rules */}
@@ -351,13 +353,20 @@ export default function Page() {
className="w-fit bg-foreground/5 p-2 rounded mb-2 text-sm"
placeholder="Enter Rule"
/>
- Add Rule
+
+ Add Rule
+
{/* Sponsors */}
Sponsors
- Add Sponsor
+
+ Add Sponsor
+
{/* Game Configuration */}
@@ -389,7 +398,9 @@ export default function Page() {
/>
- Add Game Config
+
+ Add Game Config
+
{/* Tournament Configuration */}
@@ -466,7 +477,10 @@ export default function Page() {
/>
-
+
Add Tournament Config
@@ -477,6 +491,7 @@ export default function Page() {
type="submit"
className={`mt-10 px-6 py-2 rounded-md font-semibold text-white ${isSubmitting ? "bg-blue-500" : "bg-blue-600 hover:bg-blue-700"} transition-colors duration-300`}
disabled={isSubmitting}
+ arial-label="team-create-btn"
>
{isSubmitting ? "Creating..." : "Create Tournament"}
diff --git a/app/create/tournament/tournament/page.js b/app/create/tournament/tournament/page.js
index b539ebc..e7d31e8 100644
--- a/app/create/tournament/tournament/page.js
+++ b/app/create/tournament/tournament/page.js
@@ -144,6 +144,7 @@ export default function Page() {
: "bg-slate-500 hover:bg-slate-600"
}`}
onClick={() => setSelectedPlatform(platform)}
+ arial-label="platform-btn"
>
{platform}
@@ -216,6 +217,7 @@ export default function Page() {
type="submit"
className={`px-6 py-2 rounded-md ${isSubmitting ? "bg-blue-300" : "bg-blue-600 hover:bg-blue-700"} transition-colors duration-300`}
disabled={isSubmitting}
+ arial-label="create-tournament-btn"
>
{isSubmitting ? "Creating..." : "Create Tournament"}
@@ -223,6 +225,7 @@ export default function Page() {
type="button"
className="px-6 py-2 rounded-md text-white bg-red-600 hover:bg-red-700 transition-colors duration-300"
onClick={handleReset}
+ arial-label="reset-btn"
>
Reset
diff --git a/app/games/[id]/page.js b/app/games/[id]/page.js
index ee13dfd..5478767 100644
--- a/app/games/[id]/page.js
+++ b/app/games/[id]/page.js
@@ -67,6 +67,7 @@ export default function GamePage({ params }) {
Favourite
{isFavourite ? (
@@ -93,7 +94,11 @@ export default function GamePage({ params }) {
-
+
Filter
@@ -152,6 +157,7 @@ export default function GamePage({ params }) {
variant="ghost"
onClick={clearFilters}
className="w-full rounded transition-colors"
+ arial-label="clear-filter-btn"
>
Clear Filters
diff --git a/app/games/page.js b/app/games/page.js
index abad5ac..46ed6e6 100644
--- a/app/games/page.js
+++ b/app/games/page.js
@@ -49,6 +49,7 @@ export default async function page({ searchParams }) {
-
+
{children}
-
- {/* */}
diff --git a/app/manage/tournament/page.jsx b/app/manage/tournament/page.jsx
index 9ef1a5d..cb322ad 100644
--- a/app/manage/tournament/page.jsx
+++ b/app/manage/tournament/page.jsx
@@ -194,6 +194,7 @@ export default function Page() {
className="p-3 bg-green-400 rounded-md text-white"
onClick={addParticipant}
disabled={loading}
+ arial-label="add-participant-btn"
>
{loading ? "Adding..." : "+Add Participant"}
@@ -221,6 +222,7 @@ export default function Page() {
className="p-3 bg-green-400 rounded-md text-white"
onClick={handleCreateStage}
disabled={loading}
+ arial-label="create-new-stage-btn"
>
{loading ? "Creating..." : "+Create new stage"}
@@ -238,6 +240,7 @@ export default function Page() {
className="p-3 bg-blue-400 rounded-md text-white"
onClick={handleEnableRegistration}
disabled={loading}
+ arial-label="enable-registration-btn"
>
{loading ? "Enabling..." : "Enable Registration"}
diff --git a/app/onboarding/completeprofile/page.js b/app/onboarding/completeprofile/page.js
index 348ed44..1e25c29 100644
--- a/app/onboarding/completeprofile/page.js
+++ b/app/onboarding/completeprofile/page.js
@@ -62,6 +62,7 @@ export default function CompleteProfilePage() {
-
+
Submit
diff --git a/app/onboarding/selectgame/page.js b/app/onboarding/selectgame/page.js
index b1fd316..de74fa9 100644
--- a/app/onboarding/selectgame/page.js
+++ b/app/onboarding/selectgame/page.js
@@ -78,6 +78,7 @@ export default function SelectGamesPage() {
type="submit"
variant="outline"
className="w-full px-4 py-2 rounded"
+ arial-label="onboarding-selectgame-btn"
>
Submit
diff --git a/app/teams/page.jsx b/app/teams/page.jsx
index 7849bf9..5a08c0f 100644
--- a/app/teams/page.jsx
+++ b/app/teams/page.jsx
@@ -105,6 +105,7 @@ const TeamFinder = () => {
router.push("/create/team")}
className="w-1/5 flex gap-2 items-center"
+ arial-label="create-team-btn"
>
Create Team
@@ -135,37 +136,3 @@ const TeamFinder = () => {
};
export default TeamFinder;
-{
- /*
-
- handleTeamSearch(e.target.value)}
- placeholder="Search team "
- />
- router.push("/create/team")} className="w-1/5">
- Create Team
-
-
-
-
-
- {filteredTeams.length > 0 ? (
- filteredTeams.map((team, index) => (
-
- ))
- ) : (
-
No teams found. Try creating one!
- )}
-
-
-
-
-
-
-
*/
-}
diff --git a/app/tournaments/[id]/page.js b/app/tournaments/[id]/page.js
index 8efb6d6..73a3d6c 100644
--- a/app/tournaments/[id]/page.js
+++ b/app/tournaments/[id]/page.js
@@ -81,7 +81,9 @@ export default function TournamentPage({ params }) {
return (
{error}
-
Retry
+
+ Retry
+
);
}
@@ -120,12 +122,19 @@ export default function TournamentPage({ params }) {
animate={{ y: 0, opacity: 1 }}
transition={{ delay: 0.4 }}
>
-
-
+
+
Register Now
-
+
View Details
diff --git a/app/tournaments/[id]/register/page.js b/app/tournaments/[id]/register/page.js
index ee5e5bd..907b8b6 100644
--- a/app/tournaments/[id]/register/page.js
+++ b/app/tournaments/[id]/register/page.js
@@ -183,6 +183,7 @@ export default function RegisterPage({ params }) {
Register
diff --git a/app/tournaments/page.js b/app/tournaments/page.js
index 48951a6..2affa55 100644
--- a/app/tournaments/page.js
+++ b/app/tournaments/page.js
@@ -42,7 +42,11 @@ const TournamentPage = () => {
-
+
Filter
@@ -101,6 +105,7 @@ const TournamentPage = () => {
variant="ghost"
onClick={clearFilters}
className="w-full transition-colors"
+ arial-label="tournament-clear-filter-btn"
>
Clear Filters
diff --git a/components/BracketForm.jsx b/components/BracketForm.jsx
index a0aa6ed..be51c75 100644
--- a/components/BracketForm.jsx
+++ b/components/BracketForm.jsx
@@ -193,7 +193,9 @@ export default function BracketForm() {
)}
/>
- Create Bracket
+
+ Create Bracket
+
@@ -231,11 +233,16 @@ export default function BracketForm() {
onClick={() =>
teamForm.setValue("teams", [...teamForm.watch("teams"), ""])
}
+ arial-label="add-another-team-btn"
>
Add Another Team
-
+
Submit Teams
diff --git a/components/BracketList.jsx b/components/BracketList.jsx
index 42be9d9..7840322 100644
--- a/components/BracketList.jsx
+++ b/components/BracketList.jsx
@@ -41,7 +41,11 @@ const BracketList = () => {
) : (
{brackets.map((bracket) => (
-
+
{bracket.bracketImage && (
diff --git a/components/Contatct/Contact-left.jsx b/components/Contatct/Contact-left.jsx
index f3b6b5a..4d40e4e 100644
--- a/components/Contatct/Contact-left.jsx
+++ b/components/Contatct/Contact-left.jsx
@@ -34,7 +34,7 @@ export default function ContactLeftComp({ className }) {
{socialLinks.map((e, i) => {
return (
-
+
);
diff --git a/components/Contatct/Contact-right.jsx b/components/Contatct/Contact-right.jsx
index 7d9de9c..7afa729 100644
--- a/components/Contatct/Contact-right.jsx
+++ b/components/Contatct/Contact-right.jsx
@@ -186,6 +186,7 @@ export default function ContactRightComp({ className }) {
disabled={loading}
type="submit"
className="flex gap-2 items-center"
+ arial-label="send-contact-btn"
>
{loading ? (
@@ -219,7 +220,7 @@ export default function ContactRightComp({ className }) {
{socialLinks.map((e, i) => {
return (
-
+
);
diff --git a/components/FaqSection.jsx b/components/FaqSection.jsx
index fb4cc98..6077410 100644
--- a/components/FaqSection.jsx
+++ b/components/FaqSection.jsx
@@ -41,7 +41,10 @@ const FaqsCard = ({ faqsList, idx }) => {
className="border border-border rounded-lg overflow-hidden hover:border-primary/50 transition-colors"
onClick={() => setIsOpen(!isOpen)}
>
-
+
{faqsList.title}
{isOpen ? : }
diff --git a/components/FeatureSection/FeatureSectionGrid.jsx b/components/FeatureSection/FeatureSectionGrid.jsx
index 01c6ca1..524146f 100644
--- a/components/FeatureSection/FeatureSectionGrid.jsx
+++ b/components/FeatureSection/FeatureSectionGrid.jsx
@@ -131,6 +131,7 @@ export const SkeletonThree = () => {
href="https://discord.com/invite/AB2vCdyw"
target="__blank"
className="relative flex gap-10 h-full group/image border-b"
+ aria-label="discord-btn"
>
{
type="button"
className="transition-all"
onClick={onReset}
+ arial-label="reset-btn"
>
Reset
@@ -78,7 +79,7 @@ const FiltersSidebar = ({ filters, setFilters, onReset }) => {
-
+
Apply
diff --git a/components/Footer.jsx b/components/Footer.jsx
index 4e9e0c3..e123d30 100644
--- a/components/Footer.jsx
+++ b/components/Footer.jsx
@@ -36,7 +36,11 @@ export default function Footer() {
{/* logo */}
-
+
{/* */}
Join Community
-
+
Contact
diff --git a/components/HeroSection.jsx b/components/HeroSection.jsx
index 656d940..7f8b304 100644
--- a/components/HeroSection.jsx
+++ b/components/HeroSection.jsx
@@ -4,6 +4,7 @@ import Link from "next/link";
import { Button } from "./ui/button";
import Image from "next/image";
import { motion } from "framer-motion";
+import { ArrowRight } from "lucide-react";
export default function HeroSection() {
return (
@@ -14,9 +15,12 @@ export default function HeroSection() {
transition={{ duration: 0.8, delay: 0.4 }}
>
-
- Discover new heights
-
+
+
+ ✨ Discover new heights{" "}
+
+
+
Level Up Your Esports Journey with{" "}
@@ -31,10 +35,14 @@ export default function HeroSection() {
-
+
Get Started
-
+
Learn More
diff --git a/components/ModeToggle.jsx b/components/ModeToggle.jsx
index 6fcf74e..3d565e6 100644
--- a/components/ModeToggle.jsx
+++ b/components/ModeToggle.jsx
@@ -17,8 +17,8 @@ export function ModeToggle() {
return (
-
-
+
+
Toggle theme
diff --git a/components/Navbar.jsx b/components/Navbar.jsx
index 8906a07..908b0d1 100644
--- a/components/Navbar.jsx
+++ b/components/Navbar.jsx
@@ -51,7 +51,11 @@ const Navbar = () => {
{/* Logo */}
-
+
{
className={`font-medium hover:text-foreground/90 transition-all
${isActive(pathname, item.href) ? "text-foreground" : "text-foreground/60"}
`}
+ aria-label={`${item.href}-nav-item`}
>
{item.title}
@@ -84,8 +89,15 @@ const Navbar = () => {
{/* buttons */}
-
-
+
+
Join Community
@@ -96,10 +108,8 @@ const Navbar = () => {
-
-
-
-
+
+
@@ -115,6 +125,7 @@ const Navbar = () => {
key={index}
href={item.href}
className="font-medium text-lg"
+ aria-label={`${item.title}-nav-item`}
>
{item.title}
@@ -122,8 +133,15 @@ const Navbar = () => {
-
-
+
+
Join Community
diff --git a/components/NewsItem.jsx b/components/NewsItem.jsx
index b117b79..5729407 100644
--- a/components/NewsItem.jsx
+++ b/components/NewsItem.jsx
@@ -26,6 +26,7 @@ const NewsItem = ({ title, description, url, urlToImage }) => {
className="bg-white text-black font-semibold hover:bg-tertiary transition-all text-[15px] px-4 py-2"
href={url}
target="_blank"
+ aria-label="read-article"
>
Read Article
diff --git a/components/Notification.jsx b/components/Notification.jsx
index fede7ef..75a1df8 100644
--- a/components/Notification.jsx
+++ b/components/Notification.jsx
@@ -12,10 +12,8 @@ export default function NotificationBar() {
return (
-
-
-
-
+
+
diff --git a/components/TeamCard.jsx b/components/TeamCard.jsx
index c3e462f..900703b 100644
--- a/components/TeamCard.jsx
+++ b/components/TeamCard.jsx
@@ -56,7 +56,9 @@ const TeamCard = ({ team }) => {
- Request to Join
+
+ Request to Join
+
);
diff --git a/components/TournamentSection.jsx b/components/TournamentSection.jsx
index 4a18c20..2269aee 100644
--- a/components/TournamentSection.jsx
+++ b/components/TournamentSection.jsx
@@ -108,6 +108,7 @@ export default function TournamentSection({ filters }) {
href={`/tournaments/${tournament._id}`}
className=""
prefetch={true} // prefetch the tournament page
+ aria-label="tournament-redirect-btn"
>