,
className: "md:col-span-1",
},
];
- // const moreItem = [
- // {
- // title: "Brooklyn Technical High School",
- // description: "Brooklyn Technical High School (aka. “BTHS”, “Tech”) is one of New York City’s specialized\n" +
- // "high schools for science, technology, engineering, and mathematics. Tech is the largest high\n" +
- // "school in the United States, with an enrollment of 6,500 students across all four grades.",
- // header: ,
- // className: "md:col-span-2",
- // },
- // {
- // title: "What is FIRST?",
- // description: "FIRST (For Inspiration and Recognition of Science and Technology), founded in 1989 by Dean\n" +
- // "Kamen and Woody Flowers, was created to assist in inspiring and teaching young explorers\n" +
- // "like us to connect across the globe via engineering and innovation",
- // header: "https://www.firstinspires.org/sites/all/themes/first/assets/images/2020/program-block-frc.jpg",
- // },
- // {
- // title: "More About FIRST",
- // description:
- // "Each year FIRST designs an international robotics competition in which 26 countries and over\n" +
- // "3,200 teams participate in each year. Over 500,000 students participate in the FIRST\n" +
- // "Robotics Competition itself, and high schools across the globe build a robot and compete at\n" +
- // "various regional competitions. After all regionals take place, winners and award recipients\n" +
- // "are invited to compete at the championship, which takes place in Houston, Texas. Over 450\n" +
- // "teams proceeded to the championships in the 2022 season",
- // header: "https://www.firstinspires.org/sites/default/files/first-in-show/game-and-season/frc-header.png",
- // },
- // {
- // title: "FIRST Core Values",
- // description:
- //
- //
- // Discovery: We explore new skills and ideas.
- //
- //
- // Innovation: We use creativity and persistence to solve problems.
- //
- //
- // Impact: We apply what we learn to improve our world.
- //
- //
- // Inclusion: We respect each other and embrace our differences.
- //
- //
- // Teamwork: We are stronger when we work together.
- //
diff --git a/app/page.tsx b/app/page.tsx
index d2c4131..9274f12 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -8,7 +8,7 @@ import YouTubePlayer from "@/components/youtube";
import {Tabs} from "@/components/aceternity/ui/tabs";
import {Progress} from "@/components/shadcn/ui/progress";
import {LampContainer} from "@/components/aceternity/ui/lamp";
-import { motion } from "framer-motion";
+import {motion} from "framer-motion";
export default function Home() {
const {isAuthenticated, isLoading, loginWithRedirect, logout} = useAuth0();
@@ -220,7 +220,8 @@ export default function Home() {
Sponsors
- Thank you to all our sponsors and families who supported this. We couldn't make our robot without your help!
+ Thank you to all our sponsors and families who supported this. We couldn't make our robot without
+ your help!
diff --git a/app/sponsors/page.tsx b/app/sponsors/page.tsx
index 273bb54..606683b 100644
--- a/app/sponsors/page.tsx
+++ b/app/sponsors/page.tsx
@@ -1,6 +1,6 @@
"use client"
-import { AuroraBackground } from "@/components/aceternity/ui/aurora";
-import { motion } from "framer-motion";
+import {AuroraBackground} from "@/components/aceternity/ui/aurora";
+import {motion} from "framer-motion";
import {BentoGrid} from "@/components/aceternity/ui/bento-grid";
import {BentoGridItem} from "@/components/aceternity/ui/direction-aware-hover";
import React from "react";
@@ -8,7 +8,6 @@ import React from "react";
export default function SponsorPage() {
const bentoItems = [
-
{
image: "/team2022.png",
text:
@@ -59,7 +58,7 @@ export default function SponsorPage() {
-
+
{bentoItems.map((item, i) => (
{
children: ReactNode;
diff --git a/components/aceternity/ui/direction-aware-hover.tsx b/components/aceternity/ui/direction-aware-hover.tsx
index 2e47414..29e3aab 100644
--- a/components/aceternity/ui/direction-aware-hover.tsx
+++ b/components/aceternity/ui/direction-aware-hover.tsx
@@ -1,9 +1,9 @@
"use client";
-import React, { useRef, useState } from "react";
+import React, {useRef, useState} from "react";
import Image from "next/image";
-import { AnimatePresence, motion } from "framer-motion";
-import { cn } from "@/components/cn";
+import {AnimatePresence, motion} from "framer-motion";
+import {cn} from "@/components/cn";
export const DirectionAwareHover = ({
imageUrl,
@@ -54,11 +54,10 @@ export const DirectionAwareHover = ({
ev: React.MouseEvent,
obj: HTMLElement
) => {
- const { width: w, height: h, left, top } = obj.getBoundingClientRect();
+ const {width: w, height: h, left, top} = obj.getBoundingClientRect();
const x = ev.clientX - left - (w / 2) * (w > h ? h / w : 1);
const y = ev.clientY - top - (h / 2) * (h > w ? w / h : 1);
- const d = Math.round(Math.atan2(y, x) / 1.57079633 + 5) % 4;
- return d;
+ return Math.round(Math.atan2(y, x) / 1.57079633 + 5) % 4;
};
return (
@@ -77,7 +76,8 @@ export const DirectionAwareHover = ({
whileHover={direction}
exit="exit"
>
-
+ {
return (