diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml new file mode 100644 index 0000000000..b30e9eb5f6 --- /dev/null +++ b/.github/workflows/website.yml @@ -0,0 +1,28 @@ +name: Website Build + +on: + push: + # For now, run on all commits to main + branches: [ main ] + # and also all tags starting with v + tags: + - 'v*' + +jobs: + rsync: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup Node + uses: actions/setup-node@v4 + - name: Install packages + run: npm ci + - name: Build project + run: npm run build + - uses: up9cloud/action-rsync@v1.4 + env: + HOST: ${{ secrets.WEBMASTER_SSH_HOST }} + USER: ${{ secrets.WEBMASTER_SSH_USERNAME }} + KEY: ${{secrets.WEBMASTER_SSH_KEY}} + SOURCE: /website/dist/* + TARGET: /var/www/html/photonvision-website diff --git a/.styleguide b/.styleguide index 7569260495..94517f39bd 100644 --- a/.styleguide +++ b/.styleguide @@ -19,6 +19,9 @@ modifiableFileExclude { \.webp$ \.ico$ \.rknn$ + \.mp4$ + \.ttf$ + \.woff2$ gradlew photon-lib/py/photonlibpy/generated/ photon-targeting/src/main/native/cpp/photon/constrained_solvepnp/generate/ diff --git a/website/README.md b/website/README.md new file mode 100755 index 0000000000..379b9b88d1 --- /dev/null +++ b/website/README.md @@ -0,0 +1,3 @@ +# photovision-website + +PhotonVision's landing page! diff --git a/website/favicon.svg b/website/favicon.svg new file mode 100644 index 0000000000..88643de263 --- /dev/null +++ b/website/favicon.svg @@ -0,0 +1,23 @@ + + + diff --git a/website/images/PhotonVision-Icon-BG.png b/website/images/PhotonVision-Icon-BG.png new file mode 100644 index 0000000000..dbe896f959 Binary files /dev/null and b/website/images/PhotonVision-Icon-BG.png differ diff --git a/website/images/demo.png b/website/images/demo.png new file mode 100755 index 0000000000..dec0013f41 Binary files /dev/null and b/website/images/demo.png differ diff --git a/website/images/in-action.mp4 b/website/images/in-action.mp4 new file mode 100644 index 0000000000..669eedc1ca Binary files /dev/null and b/website/images/in-action.mp4 differ diff --git a/website/index.html b/website/index.html new file mode 100755 index 0000000000..3de363e3a8 --- /dev/null +++ b/website/index.html @@ -0,0 +1,338 @@ + + + +
+
+
+ + PhotonVision is a powerful, open-source vision system for FRC. It's + designed to be fast and easy to use, regardless of your team's + financial or technical resources. +
+FRC Target tracking, out of the box.
++ Per-camera intrinsics calibration maximizes accuracy of + homography +
+Hardware-accelerated inferencing for gamepiece detection
+You can use the same camera for driving and robot vision
++ PhotonVision can run as many cameras as your hardware can handle +
+Fuse all your available data for peak robot performance
++ PhotonVision is an open-source, community based vision system + designed for use within the FIRSTĀ® Robotics Competition that aims + to provide easy and inexpensive vision tracking to teams. +
++ PhotonVision is the largest FOSS FRC Vision project to date, + constantly being updated with new features and bug fixes. +
++ The GNU GPL v3 license allows you to download, modify and share + source code. +
++ We do all of our development openly on GitHub. Transparency is + key for every contributor of PhotonVision. +
+