Skip to content

Commit 729ed84

Browse files
VishokLIanWearsHat
andauthored
Feat/admin fixes (#654)
* Removed title and moved Hacker Count * Text updates * Completed InfiniteMovingCards component * Revert "Completed InfiniteMovingCards component" This reverts commit ce27d1c. * Fixed infinitemovingcards --------- Co-authored-by: ianbb <ianbbdai@gmail.com>
1 parent 565161f commit 729ed84

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

apps/site/src/app/(main)/(home)/sections/InfiniteMovingCards.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const InfiniteMovingCards = ({
1919
}) => {
2020
const containerRef = React.useRef<HTMLDivElement>(null);
2121
const scrollerRef = React.useRef<HTMLUListElement>(null);
22-
const [start, setStart] = useState(false);
22+
const [, setStart] = useState(false);
2323

2424
useEffect(() => {
2525
if (!containerRef.current || !scrollerRef.current) return;

apps/site/src/app/admin/applicants/components/HackerApplicantActions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function HackerApplicantActions({
8484
submitted reviews.
8585
</Box>
8686
<Box variant="awsui-key-label" color="text-status-info">
87-
Contact Rosalind, Nicole, or Albert if you think this is an error.
87+
Contact a Logistics or Tech director if you think this is an error.
8888
</Box>
8989
</SpaceBetween>
9090
);

apps/site/src/app/admin/dashboard/AdminDashboard.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import { useContext } from "react";
44

5-
import Container from "@cloudscape-design/components/container";
65
import ContentLayout from "@cloudscape-design/components/content-layout";
76
import SpaceBetween from "@cloudscape-design/components/space-between";
87

@@ -18,9 +17,8 @@ function AdminDashboard() {
1817
return (
1918
<ContentLayout>
2019
<SpaceBetween size="l">
21-
<Container>Admin Dashboard</Container>
22-
{isApplicationManager(roles) && <ApplicantSummary />}
2320
<HackerCount />
21+
{isApplicationManager(roles) && <ApplicantSummary />}
2422
</SpaceBetween>
2523
</ContentLayout>
2624
);

apps/site/src/app/admin/layout/AdminSidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function AdminSidebar() {
8888
return (
8989
<SideNavigation
9090
activeHref={pathname}
91-
header={{ href: BASE_PATH, text: "IrvineHacks 2025" }}
91+
header={{ href: BASE_PATH, text: "Admin Dashboard" }}
9292
onFollow={followWithNextLink}
9393
items={navigationItems}
9494
/>

0 commit comments

Comments
 (0)