-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Viper to the web page; also updating instagram posts.
- Loading branch information
Showing
7 changed files
with
82 additions
and
12 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import "./model.css"; | ||
import SectionTitle from "../Common/SectionTitle"; | ||
import Script from "next/script"; | ||
|
||
declare global { | ||
namespace JSX { | ||
interface IntrinsicElements { | ||
'model_viewer': any; | ||
} | ||
} | ||
} | ||
|
||
const checkIcon = ( | ||
<svg width="16" height="13" viewBox="0 0 16 13" className="fill-current"> | ||
<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" /> | ||
</svg> | ||
); | ||
|
||
const Viper = () => { | ||
return ( | ||
<section id="about" className="pt-16 md:pt-20 lg:pt-28"> | ||
<div className="container"> | ||
<div className="border-b border-body-color/[.15] pb-16 dark:border-white/[.15] md:pb-20 lg:pb-28"> | ||
<div className="-mx-4 flex flex-wrap-reverse items-center"> | ||
<div className="w-full px-4 lg:w-1/2"> | ||
<SectionTitle | ||
title="Viper" | ||
paragraph="Viper is the GoBilda Robot for Golden Dragons' 2024-25 season. This robot is a compact machine designed to score samples and specimen as quickly as possible. Viper was named after its resemblence to the snake in its attack position." | ||
mb="44px" | ||
/> | ||
</div> | ||
<div className="w-full px-4 lg:w-1/2"> | ||
<div className="relative mx-auto aspect-[25/24] sm:mb-5 max-w-[500px] lg:mr-0 flex justify-center"> | ||
<div className="model"> | ||
<model-viewer | ||
className="w-full h-[500px]" | ||
src="/images/robot/model/2025.glb" | ||
camera-controls | ||
camera-orbit="230deg 80deg 10m" | ||
loading="auto" | ||
powerPreference="low-power" | ||
exposure="0.65" | ||
shadow-softness="0" | ||
disable-tap | ||
poster="/images/robot/2025.png" | ||
disable-pan | ||
tone-mapping="neutral" | ||
shadow-intensity="1" | ||
alt="Model Loading Failed" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
export default Viper; |