Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c57d194
feat!: monorepo landing page
samfreund Apr 9, 2025
b590cc4
ugh linting
samfreund Apr 9, 2025
950bd5e
add fonts and videos to styleguide ignore
samfreund Apr 9, 2025
a84da24
format everything
samfreund Apr 9, 2025
855b3e0
remove videos 2, electric boogaloo
samfreund Apr 9, 2025
9c32b1a
I think that does it
samfreund Apr 9, 2025
2de1b2a
acutally, I don't think we need that
samfreund Apr 9, 2025
01f1a1a
Merge branch 'PhotonVision:main' into monorepo-website
samfreund Apr 9, 2025
7e501bd
remove port variable
samfreund Apr 9, 2025
26ea57b
update to use extant secrets
samfreund Apr 9, 2025
dcb6a71
remove user
samfreund Apr 9, 2025
1adc177
Update website.yml
samfreund Apr 10, 2025
dc9891b
Update website.yml
samfreund Apr 10, 2025
96d6b0f
update workflow
samfreund Apr 10, 2025
8be70ef
Update website.yml
samfreund Apr 10, 2025
e35bc6b
remove fonts and stuff from styleguide, add back later
samfreund Apr 10, 2025
177a7dc
monorepo
samfreund Apr 10, 2025
9961278
Merge branch 'monorepo-website' of github.com:samfreund/photonvision …
samfreund Apr 10, 2025
42d0b10
styleguide
samfreund Apr 10, 2025
b9906d0
Merge branch 'main' into monorepo-website
samfreund Apr 10, 2025
fdbdbbe
Update website.yml
samfreund Apr 10, 2025
0f1fc22
linterrrrrr
samfreund Apr 10, 2025
2528680
Merge branch 'monorepo-website' of github.com:samfreund/photonvision …
samfreund Apr 10, 2025
6a6c3e1
update in-action video
samfreund Apr 10, 2025
6c43d4a
alright, that's it
samfreund Apr 10, 2025
53ef498
Update main.css
samfreund Apr 11, 2025
3200408
lint
samfreund Apr 11, 2025
4facf63
Merge branch 'monorepo-website' of github.com:samfreund/photonvision …
samfreund Apr 11, 2025
3cf111b
oops, forgot to add those
samfreund Apr 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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
- uses: up9cloud/action-rsync@v1.4
env:
HOST: ${{ secrets.SSH_HOST }}
USER: ${{ secrets.SSH_USERNAME }}
KEY: ${{secrets.DEPLOY_SSH_KEY}}
PORT: ${{ secrets.SSH_PORT }}
SOURCE: ./website/
TARGET: /var/www/html/photonvision-website/
6 changes: 6 additions & 0 deletions .styleguide
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ cppSrcFileInclude {

modifiableFileExclude {
\.jpg$
\.mp4$
\.woff$
\.woff2$
\.eot$
\.ttf$
\.otf$
\.jpeg$
\.png$
\.gif$
Expand Down
2 changes: 2 additions & 0 deletions website/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# photovision-website
PhotonVision's landing page!
110 changes: 110 additions & 0 deletions website/assets/css/darkscroll.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
.spidochetube {
max-width: 960px;
margin: auto;
}

.spidochetube_inner {
float: left;
background-color: #111;
padding: 10px;
width: 100%;
box-sizing: border-box;
}

#spidochetube_player {
width: 68.0852%;
float: left;
}

#player {
width: 100%;
}

#spidochetube_list {
overflow: auto;
float: right;
-webkit-overflow-scrolling: touch;
width: 31%;
background-color: #111;
padding: 5px 0;
border: 1px solid #000;
border-left: none;
margin: 0;
padding-top: 38%;
height: 0;
}

#spidochetube_list li {
border-top: 1px solid #1F1F1F;
border-bottom: 1px solid #000;
display: block;
margin-left: 12px;
padding: 6px 0;
cursor: pointer;
background-color: #111;
position: relative;
}

#spidochetube_list li:first-child {
border-top: none
}

#spidochetube_list li:last-child {
border-bottom: none
}

#spidochetube_list li:hover {
background: #0F0F0F;
}

#spidochetube_list li span {
color: #999;
display: inline-block;
width: 50%;
margin-left: 4%;
margin-right: 3%;
font-size: 12px;
word-break: break-word;
}

#spidochetube_list li img {
vertical-align: top;
width: 43%;
}

#spidochetube_list li.spidochetube_current, #spidochetube_list li:hover.spidochetube_current {
background-color: #202325;
}

#spidochetube_list li.spidochetube_current span {
color: #fff;
}

ul#spidochetube_list li:first-child {
margin-top: -120%;
}

#spidochetube_list li a {
width: 100%;
display: block;
margin: 0;
}

@media (max-width: 480px){

#spidochetube_list li{
margin-left:5px;
margin-right:5px;
}

#spidochetube_list li img {
width: 100%;
}

#spidochetube_list li span {
width: 100%;
margin-left: 0;
margin-right: 0;
margin-top: 4px;
}
}
5 changes: 5 additions & 0 deletions website/assets/css/font-awesome.min.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions website/assets/css/images/arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/assets/css/images/overlay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading