Files
PhotonVision/website/index.html
Sam Freund 940c3430b8 Fix opengraph embed (#2265)
The opengraph embed requires the image to be accessible at the linked
location. As you can see by clicking on this link,
https://photonvision.org/images/PhotonVision-Icon-BG_2.png, it is not
accessible. This is because we need to configure a public directory when
we publish with vite, as the subfolders will not inherently be
published.

This PR adds a public directory and moves all our images there. I also
moved the video to a video directory rather than it being in images.
2026-01-03 02:42:59 +00:00

42 lines
1.7 KiB
HTML
Executable File

<!doctype html>
<html lang="en-US">
<head>
<title>PhotonVision</title>
<link rel="icon" href="favicon.svg" type="image/svg+xml" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="src/css/fontawesome.min.css" />
<link rel="stylesheet" href="src/css/brands.min.css" />
<link rel="stylesheet" href="src/css/solid.min.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet"
/>
<meta name="title" content="PhotonVision" />
<meta
name="description"
content="PhotonVision is the free, fast, and easy-to-use computer vision solution for the FIRST Robotics Competition."
/>
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://photonvision.org/" />
<meta property="og:title" content="PhotonVision" />
<meta
property="og:description"
content="PhotonVision is the free, fast, and easy-to-use computer vision solution for the FIRST Robotics Competition."
/>
<meta
property="og:image"
content="https://photonvision.org/images/PhotonVision-Icon-BG.png"
/>
</head>
<body class="home bg-zinc-900 font-light text-white w-screen">
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>