Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit f4bba38

Browse files
committed
Remove and finalize
- Contact - FAQ dedicated page - Images for about page
1 parent 48b48e2 commit f4bba38

File tree

8 files changed

+168
-1027
lines changed

8 files changed

+168
-1027
lines changed

Diff for: app/about/page.tsx

+75-669
Large diffs are not rendered by default.

Diff for: app/layout.tsx

+2-6
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ import Cursor from "@/components/cursor";
1010
import {Analytics} from '@vercel/analytics/react';
1111
import {SpeedInsights} from '@vercel/speed-insights/next';
1212
import React from "react";
13-
import {CommandMenu} from "@/components/commandDialog";
14-
1513

1614
export const viewport: Viewport = {
1715
themeColor: [
@@ -57,7 +55,7 @@ export default function RootLayout({
5755
fontSans.variable
5856
)}
5957
>
60-
<Providers themeProps={{attribute: "class", defaultTheme: "dark", children: children}}>
58+
<Providers themeProps={{attribute: "class", defaultTheme: "dark"}}>
6159
<Cursor/>
6260
<Navbar/>
6361
<main className="px-0">
@@ -76,11 +74,9 @@ export default function RootLayout({
7674
title="Team 334"
7775
>
7876
<span>Made by</span>
79-
<p className="text-primary">Team 334</p>
77+
<p className="text-primary">Ze Rui Zheng</p>
8078
</Link>
8179
</footer>
82-
{/*Scrapped Idea I'll keep it here for an example*/}
83-
{/*<CommandMenu/>*/}
8480
</Providers>
8581
</body>
8682
</html>

Diff for: app/sponsors/page.tsx

+65-10
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,85 @@ import React from "react";
99
export default function SponsorPage() {
1010
const bentoItems = [
1111
{
12-
image: "/team2022.png",
12+
image: "/logos/first.png",
1313
text: <div>
14-
<h1>Team</h1>
15-
<p>Something</p>
14+
<h1 className={"main"}>FIRST</h1>
1615
</div>,
16+
url: "https://www.firstinspires.org/",
1717
className:
1818
"md:col-span-1",
1919
},
2020
{
21-
image: "/team2022.png",
21+
image: "/sponsors/alumni-foundation.png",
2222
text: <div>
23-
<h1>Team</h1>
24-
<p>Something</p>
23+
<h1 className={"main"}>Brooklyn Tech Alumni Foundation</h1>
2524
</div>,
25+
url: "",
2626
className:
2727
"md:col-span-2",
2828
},
2929
{
30-
image: "/team2022.png",
30+
image: "/sponsors/arament.png",
3131
text: <div>
32-
<h1>Team</h1>
33-
<p>Something</p>
32+
<h1 className={"main"}>Arament Research, Development and Engineering Center</h1>
3433
</div>,
34+
url: "",
3535
className:
36-
"md:col-span-3",
36+
"md:col-span-2",
37+
},
38+
{
39+
image: "/sponsors/con-edison.png",
40+
text: <div>
41+
<h1 className={"main"}>Con Edison</h1>
42+
</div>,
43+
url: "https://www.coned.com/en",
44+
className:
45+
"md:col-span-1",
46+
},
47+
{
48+
image: "/sponsors/dodstem.png",
49+
text: <div>
50+
<h1 className={"main"}>DoD STEM</h1>
51+
</div>,
52+
url: "https://www.dodstem.us",
53+
className:
54+
"md:col-span-1",
55+
},
56+
{
57+
image: "/sponsors/haas-foundation.png",
58+
text: <div>
59+
<h1 className={"main"}>Gene HAAS Foundation</h1>
60+
</div>,
61+
url: "https://ghaasfoundation.org/content/ghf/en/home.html",
62+
className:
63+
"md:col-span-1",
64+
},
65+
{
66+
image: "/sponsors/ike-heller.png",
67+
text: <div>
68+
<h1 className={"main"}>Ike Heller</h1>
69+
</div>,
70+
url: "",
71+
className:
72+
"md:col-span-1",
73+
},
74+
{
75+
image: "/sponsors/quotebeam.png",
76+
text: <div>
77+
<h1 className={"main"}>QuoteBeam</h1>
78+
</div>,
79+
url: "https://quotebeam.com",
80+
className:
81+
"md:col-span-1.5",
82+
},
83+
{
84+
image: "/sponsors/whimsy-tech.png",
85+
text: <div>
86+
<h1 className={"main"}>Whimsy Tech</h1>
87+
</div>,
88+
url: "https://whimsytech.com",
89+
className:
90+
"md:col-span-2",
3791
},
3892
];
3993

@@ -65,6 +119,7 @@ export default function SponsorPage() {
65119
key={i}
66120
image={item.image}
67121
text={item.text}
122+
url={item.url}
68123
className={item.className}
69124
/>
70125
))}

Diff for: components/aceternity/ui/direction-aware-hover.tsx

+24-14
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import React, {useRef, useState} from "react";
44
import Image from "next/image";
55
import {AnimatePresence, motion} from "framer-motion";
66
import {cn} from "@/components/cn";
7+
import Link from "next/link";
78

89
export const DirectionAwareHover = ({
910
imageUrl,
@@ -65,7 +66,7 @@ export const DirectionAwareHover = ({
6566
onMouseEnter={handleMouseEnter}
6667
ref={ref}
6768
className={cn(
68-
"w-full h-full bg-transparent rounded-lg overflow-hidden group/card relative",
69+
"w-full h-[300px] bg-transparent rounded-lg overflow-hidden group/card relative",
6970
className
7071
)}
7172
>
@@ -89,11 +90,11 @@ export const DirectionAwareHover = ({
8990
<Image
9091
alt="image"
9192
className={cn(
92-
"h-full w-full object-cover",
93+
"h-full w-full object-contain",
9394
imageClassName
9495
)}
95-
width="1000"
96-
height={"1000"}
96+
width="200"
97+
height={"200"}
9798
src={imageUrl}
9899
/>
99100
</motion.div>
@@ -172,26 +173,35 @@ const textVariants = {
172173
export const BentoGridItem = React.memo(({
173174
className,
174175
image,
176+
url,
177+
description,
175178
text,
176179
}: {
177180
className?: string;
178181
image: string;
182+
description?: string;
183+
url: string;
179184
text?: string | React.ReactNode;
180185
}) => {
181186

182187
return (
183-
<div
184-
className={cn(
185-
"row-span-1 rounded-xl group/bento hover:shadow-xl transition duration-200 shadow-input dark:shadow-none p-4 dark:bg-black dark:border-white/[0.2] bg-white border border-transparent justify-between flex flex-col space-y-4",
186-
className
187-
)}
188-
>
189-
<div className="h-[40rem] overflow-hidden relative flex items-center justify-center">
190-
<DirectionAwareHover imageUrl={image}>
188+
<div
189+
className={cn(
190+
"row-span-1 rounded-xl group/bento hover:shadow-xl transition duration-200 shadow-input dark:shadow-none p-4 dark:bg-black dark:border-white/[0.2] border-black/[0.2] bg-white border justify-between flex flex-col space-y-4",
191+
className
192+
)}
193+
>
194+
<Link href={url}>
195+
<div className="h-full overflow-hidden relative flex items-center justify-center">
196+
<DirectionAwareHover imageUrl={image}>
197+
{description}
198+
</DirectionAwareHover>
199+
</div>
200+
</Link>
201+
<div className={"text-center"}>
191202
{text}
192-
</DirectionAwareHover>
203+
</div>
193204
</div>
194-
</div>
195205
);
196206
});
197207

Diff for: components/aceternity/ui/lamp.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const LampContainer = ({
1313
return (
1414
<div
1515
className={cn(
16-
"relative flex h-[150vh] flex-col items-center justify-center overflow-hidden bg-slate-950 w-full rounded-md z-30",
16+
"relative flex h-[160vh] flex-col items-center justify-center overflow-hidden bg-slate-950 w-full rounded-md z-30",
1717
className
1818
)}
1919
>

Diff for: components/commandDialog.tsx

-169
This file was deleted.

0 commit comments

Comments
 (0)