Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
nmvrs committed Oct 18, 2024
1 parent bff7041 commit 4025a36
Show file tree
Hide file tree
Showing 145 changed files with 2,629 additions and 1 deletion.
76 changes: 76 additions & 0 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# .github/workflows/gh-pages.yml

name: GitHub Pages

on:
workflow_dispatch:
push:
branches:
- page
paths:
- page/**

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build-page:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.127.0
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
extended: true

- name: Setup Pages
id: pages
uses: actions/configure-pages@v3

- name: Build
working-directory: ./page
run: hugo --minify --gc

# - name: Setup Pages
# id: pages
# uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./page/public

# - name: Deploy
# uses: peaceiris/actions-gh-pages@v3
# if: ${{ github.ref == 'refs/heads/main' }}
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_branch: gh-pages
# publish_dir: ./page/public

deploy-page: # Deployment job
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build-page
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,13 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

# Hugo
# Generated files by hugo
/page/public/
/page/resources/_gen/
/page/assets/jsconfig.json
/page/hugo_stats.json

# Temporary lock file while building
/page/.hugo_build.lock
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
# snap
# snap

1. `hugo.exe new site page`
2. `cd page`
3. `hugo.exe mod init github.com/moverserai/snap`
4. create `configs/_default/module.toml`
```toml
[[imports]]
disable = false
path = "github.com/nunocoracao/blowfish/v2"
```
5. add `go` module to `go.mod`
```go
require github.com/nunocoracao/blowfish/v2 v2.78.0 // indirect
```
5 changes: 5 additions & 0 deletions page/archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 page/assets/img/avatar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 page/assets/img/moverse_logo_white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions page/config/_default/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

defaultContentLanguage = "en"
enableRobotsTXT = "true"
pagination.pagerSize = 10
summaryLength = 80
outputs.home = ["HTML", "RSS", "JSON"]

[taxonomies]
tag = "tags"
category = "categories"
author = "authors"
series = "series"
article = "articles"
paper = "papers"

[markup]
[markup.tableOfContents]
endLevel = 4
startLevel = 1
17 changes: 17 additions & 0 deletions page/config/_default/languages.en.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
title = "SNAP" # "SNAP"

[params.author]
name = "SNAP"
# image = "img/moverse_logo.png"
image = "img/moverse_logo_white.png"
headline = "Solving Neural Articulated Performances"
bio = "3D Animations at scale."
links = [
{ linkedin = "https://linkedin.com/company/moverseai" },
{ x-twitter = "https://twitter.com/moverseai" },
{ youtube = "https://www.youtube.com/@moverseaimocap" },
{ instagram = "https://www.instagram.com/moverseai/" },
{ discord = "https://discord.gg/bQc7B6qSPd" },
{ github = "https://www.github.com/moverseai" },
{ link = "https://www.moverse.ai" },
]
208 changes: 208 additions & 0 deletions page/config/_default/menus.en.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,208 @@
# config/_default/menus.toml

[[main]]
name = "Articles"
pageRef = "articles"
weight = 10

[[main]]
name = "Papers"
pageRef = "papers"
weight = 20

# [[main]]
# name = "About"
# pageRef = "about"
# weight = 25

[[main]]
pre = "github"
name = "GitHub"
url = "https://github.com/moverseai/snap"
weight = 30

# [[main]]
# name = "Parent"
# weight = 35

# [[main]]
# name = "sub-menu 1"
# parent = "Parent"
# pageRef = "samples"
# weight = 36

# [[main]]
# name = "sub-menu 2"
# parent = "Parent"
# pageRef = "samples"
# weight = 37

# [[main]]
# name = "sub-menu 3"
# parent = "Parent"
# pre = "github"
# pageRef = "samples"
# weight = 38


# [[main]]
# identifier = "github2"
# pre = "github"
# url = "https://github.com/"
# weight = 40

# [[footer]]
# name = "Privacy"
# url = "https://external-link"

# config/_default/menus.toml

[[subnavigation]]
name = "NeRF"
pageRef = "tags/nerf"
weight = 10

[[subnavigation]]
name = "SMPL"
pageRef = "tags/smpl"
weight = 11

[[subnavigation]]
name = "Skeleton"
pageRef = "tags/skeleton"
weight = 12

[[subnavigation]]
name = "GHUM"
pageRef = "tags/ghum"
weight = 13

[[subnavigation]]
name = "Generalized"
pageRef = "tags/generalized"
weight = 14

[[subnavigation]]
name = "SDF"
pageRef = "tags/sdf"
weight = 15

[[subnavigation]]
name = "Texture"
pageRef = "tags/texture"
weight = 16

[[subnavigation]]
name = "Deformation"
pageRef = "tags/deformation"
weight = 17

[[subnavigation]]
name = "Monocular"
pageRef = "tags/monocular"
weight = 18

[[subnavigation]]
name = "Multiperson"
pageRef = "tags/multiperson"
weight = 19

# [[subnavigation]]
# name = "My Awesome Category"
# pageRef = "categories/awesome"
# weight = 20

[[main]]
name = "Venues"
weight = 45

[[main]]
name = "ICCV21"
parent = "Venues"
pageRef = "tags/iccv21"
weight = 46

[[main]]
name = "CVPR21"
parent = "Venues"
pageRef = "tags/cvpr21"
weight = 47

[[main]]
name = "NeurIPS21"
parent = "Venues"
pageRef = "tags/neurips21"
weight = 48

[[main]]
name = "arXiv21"
parent = "Venues"
pageRef = "tags/arxiv21"
weight = 49

[[main]]
name = "SIGGRAPH Asia 21"
parent = "Venues"
pageRef = "tags/siggraph_asia21"
weight = 48

[[main]]
name = "CVPR22"
parent = "Venues"
pageRef = "tags/cvpr22"
weight = 48

[[main]]
name = "SIGGRAPH22"
parent = "Venues"
pageRef = "tags/siggraph22"
weight = 49

[[main]]
name = "3DV22"
parent = "Venues"
pageRef = "tags/3dv22"
weight = 50

[[main]]
name = "ECCV22"
parent = "Venues"
pageRef = "tags/eccv22"
weight = 51

[[main]]
name = "SIGGRAPH Asia 22"
parent = "Venues"
pageRef = "tags/siggraph_asia22"
weight = 52

[[main]]
name = "arXiv22"
parent = "Venues"
pageRef = "tags/arxiv22"
weight = 53


[[main]]
name = "CVPR 23"
parent = "Venues"
pageRef = "tags/cvpr23"
weight = 56

[[main]]
name = "TPAMI 23"
parent = "Venues"
pageRef = "tags/tpami23"
weight = 57

[[main]]
name = "TVCG 23"
parent = "Venues"
pageRef = "tags/tvcg23"
weight = 58

[[main]]
name = "TPAMI 24"
parent = "Venues"
pageRef = "tags/tpami24"
weight = 59
3 changes: 3 additions & 0 deletions page/config/_default/module.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[[imports]]
disable = false
path = "github.com/nunocoracao/blowfish/v2"
Loading

0 comments on commit 4025a36

Please sign in to comment.