Skip to content

Commit f7294d5

Browse files
committed
Added Clanky and modified positions of older robots to look better.
1 parent a3705e0 commit f7294d5

File tree

6 files changed

+66
-3
lines changed

6 files changed

+66
-3
lines changed
52.3 MB
Binary file not shown.

src/app/robot/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import Clanky from "@/components/About/Clanky";
12
import GilesCorey from "@/components/About/GilesCorey";
23
import Hydra from "@/components/About/Hydra";
34
import Viper from "@/components/About/Viper";
@@ -18,6 +19,7 @@ const AboutPage = () => {
1819
pageName="Robot"
1920
description="Robot Page for 772 Golden Dragons"
2021
/>
22+
<Clanky />
2123
<Hydra />
2224
<Viper />
2325
<GilesCorey />

src/components/About/Clanky.tsx

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
import "./model.css";
2+
import SectionTitle from "../Common/SectionTitle";
3+
import Script from "next/script";
4+
5+
declare global {
6+
namespace JSX {
7+
interface IntrinsicElements {
8+
'model_viewer': any;
9+
}
10+
}
11+
}
12+
13+
const checkIcon = (
14+
<svg width="16" height="13" viewBox="0 0 16 13" className="fill-current">
15+
<path d="M5.8535 12.6631C5.65824 12.8584 5.34166 12.8584 5.1464 12.6631L0.678505 8.1952C0.483242 7.99994 0.483242 7.68336 0.678505 7.4881L2.32921 5.83739C2.52467 5.64193 2.84166 5.64216 3.03684 5.83791L5.14622 7.95354C5.34147 8.14936 5.65859 8.14952 5.85403 7.95388L13.3797 0.420561C13.575 0.22513 13.8917 0.225051 14.087 0.420383L15.7381 2.07143C15.9333 2.26669 15.9333 2.58327 15.7381 2.77854L5.8535 12.6631Z" />
16+
</svg>
17+
);
18+
19+
const Viper = () => {
20+
return (
21+
<section id="about" className="pt-16 md:pt-20 lg:pt-28">
22+
<div className="container">
23+
<div className="border-b border-body-color/[.15] pb-16 dark:border-white/[.15] md:pb-20 lg:pb-28">
24+
<div className="-mx-4 flex flex-wrap-reverse items-center">
25+
<div className="w-full px-4 lg:w-1/2">
26+
<SectionTitle
27+
title="Clanky"
28+
paragraph="Clanky is the GoBilda Robot for Golden Dragons' 2025-26 season. This robot was built in a Robot in 3 Days challenge and competed at the GSSM Fall Scrimmage. It is very basic and runs a catapult design that allows it to cycle quickly between the human zone and goal."
29+
mb="44px"
30+
/>
31+
</div>
32+
<div className="w-full px-4 lg:w-1/2">
33+
<div className="relative mx-auto aspect-[25/24] sm:mb-5 max-w-[500px] lg:mr-0 flex justify-center">
34+
<div className="model">
35+
<model-viewer
36+
className="w-full h-[500px]"
37+
src="/images/robot/model/2026_V1.glb"
38+
camera-controls
39+
camera-orbit="50deg 80deg 30m"
40+
loading="auto"
41+
powerPreference="low-power"
42+
exposure="0.65"
43+
shadow-softness="0"
44+
disable-tap
45+
//poster="/images/robot/2025.png"
46+
disable-pan
47+
tone-mapping="neutral"
48+
shadow-intensity="1"
49+
alt="Model Loading Failed"
50+
/>
51+
</div>
52+
</div>
53+
</div>
54+
</div>
55+
</div>
56+
</div>
57+
</section>
58+
);
59+
};
60+
61+
export default Viper;

src/components/About/GilesCorey.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const GilesCorey = () => {
5050
className="w-full h-[500px]"
5151
src="/images/robot/model/2024.glb"
5252
camera-controls
53-
camera-orbit="-40deg 80deg 2m"
53+
camera-orbit="40deg 80deg 2m"
5454
loading="auto"
5555
powerPreference="low-power"
5656
exposure="0.65"

src/components/About/Hydra.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const Hydra = () => {
3737
className="w-full h-[500px]"
3838
src="/images/robot/model/2025_V2.glb"
3939
camera-controls
40-
camera-orbit="320deg 80deg 25m"
40+
camera-orbit="50deg 80deg 25m"
4141
loading="auto"
4242
powerPreference="low-power"
4343
exposure="0.65"

src/components/About/Viper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const Viper = () => {
3636
className="w-full h-[500px]"
3737
src="/images/robot/model/2025.glb"
3838
camera-controls
39-
camera-orbit="230deg 80deg 10m"
39+
camera-orbit="310deg 80deg 10m"
4040
loading="auto"
4141
powerPreference="low-power"
4242
exposure="0.65"

0 commit comments

Comments
 (0)