fixed some CSS styling errors with the team member list page and also added the admin dashboard to allow them to start a hunt with either a stop watch style hunt or a predetermined hunt duration. also fixed some css styling issues I ran into due to using some template code to make the dev process quicker

This commit is contained in:
bobbert committed 2025-03-13 19:42:01 +00:00
1 parent 673ea41a4c
commit c05c8829dd
11 files changed
+691 -185

No files matched your search

+3 -41
View File
@@ -4,17 +4,7 @@ import { useSession } from "next-auth/react";
import { useRouter } from "next/navigation";
import Link from "next/link";
const styles = {
navbar: {
position: "fixed",
bottom: 0,
width: "100%",
backgroundColor: "#fff",
borderTop: "1px solid #ccc",
padding: "10px 0",
textAlign: "center",
},
};
// Removed the styles object for navbar
export default function CreateTeam() {
const { data: session, status } = useSession();
@@ -106,20 +96,7 @@ export default function CreateTeam() {
</div>
</div>
<div className="nav-bar" style={styles.navbar}>
<div className="nav-item">
<div className="nav-icon">🏠</div>
</div>
<div className="nav-item">
<div className="nav-icon">📊</div>
</div>
<div className="nav-item">
<div className="nav-icon">🏆</div>
</div>
<div className="nav-item">
<div className="nav-icon">👤</div>
</div>
</div>
{/* Navbar removed from here */}
<style jsx>{`
.auth-page {
@@ -171,22 +148,7 @@ export default function CreateTeam() {
color: red;
margin-top: 10px;
}
.nav-bar {
position: fixed;
bottom: 0;
width: 100%;
background-color: #fff;
border-top: 1px solid #ccc;
padding: 10px 0;
text-align: center;
}
.nav-item {
display: inline-block;
margin: 0 10px;
}
.nav-icon {
font-size: 24px;
}
/* Navbar styles removed from here */
`}</style>
</div>
);