thinkwee commited on
Commit
de11957
1 Parent(s): 468246e

add static

Browse files
static/css/index.css ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body {
2
+ font-family: 'Noto Sans', sans-serif;
3
+ }
4
+
5
+
6
+ .footer .icon-link {
7
+ font-size: 25px;
8
+ color: #000;
9
+ }
10
+
11
+ .link-block a {
12
+ margin-top: 5px;
13
+ margin-bottom: 5px;
14
+ }
15
+
16
+ .dnerf {
17
+ font-variant: small-caps;
18
+ }
19
+
20
+
21
+ .teaser .hero-body {
22
+ padding-top: 0;
23
+ padding-bottom: 3rem;
24
+ }
25
+
26
+ .teaser {
27
+ font-family: 'Google Sans', sans-serif;
28
+ }
29
+
30
+
31
+ .publication-title {
32
+ }
33
+
34
+ .publication-banner {
35
+ max-height: parent;
36
+
37
+ }
38
+
39
+ .publication-banner video {
40
+ position: relative;
41
+ left: auto;
42
+ top: auto;
43
+ transform: none;
44
+ object-fit: fit;
45
+ }
46
+
47
+ .publication-header .hero-body {
48
+ }
49
+
50
+ .publication-title {
51
+ font-family: 'Google Sans', sans-serif;
52
+ }
53
+
54
+ .publication-authors {
55
+ font-family: 'Google Sans', sans-serif;
56
+ }
57
+
58
+ .publication-venue {
59
+ color: #555;
60
+ width: fit-content;
61
+ font-weight: bold;
62
+ }
63
+
64
+ .publication-awards {
65
+ color: #ff3860;
66
+ width: fit-content;
67
+ font-weight: bolder;
68
+ }
69
+
70
+ .publication-authors {
71
+ }
72
+
73
+ .publication-authors a {
74
+ color: hsl(204, 86%, 53%) !important;
75
+ }
76
+
77
+ .publication-authors a:hover {
78
+ text-decoration: underline;
79
+ }
80
+
81
+ .author-block {
82
+ display: inline-block;
83
+ }
84
+
85
+ .publication-banner img {
86
+ }
87
+
88
+ .publication-authors {
89
+ /*color: #4286f4;*/
90
+ }
91
+
92
+ .publication-video {
93
+ position: relative;
94
+ width: 100%;
95
+ height: 0;
96
+ padding-bottom: 56.25%;
97
+
98
+ overflow: hidden;
99
+ border-radius: 10px !important;
100
+ }
101
+
102
+ .publication-video iframe {
103
+ position: absolute;
104
+ top: 0;
105
+ left: 0;
106
+ width: 100%;
107
+ height: 100%;
108
+ }
109
+
110
+ .publication-body img {
111
+ }
112
+
113
+ .results-carousel {
114
+ overflow: hidden;
115
+ }
116
+
117
+ .results-carousel .item {
118
+ margin: 5px;
119
+ overflow: hidden;
120
+ border: 1px solid #bbb;
121
+ border-radius: 10px;
122
+ padding: 0;
123
+ font-size: 0;
124
+ }
125
+
126
+ .results-carousel video {
127
+ margin: 0;
128
+ }
129
+
130
+
131
+ .interpolation-panel {
132
+ background: #f5f5f5;
133
+ border-radius: 10px;
134
+ }
135
+
136
+ .interpolation-panel .interpolation-image {
137
+ width: 100%;
138
+ border-radius: 5px;
139
+ }
140
+
141
+ .interpolation-video-column {
142
+ }
143
+
144
+ .interpolation-panel .slider {
145
+ margin: 0 !important;
146
+ }
147
+
148
+ .interpolation-panel .slider {
149
+ margin: 0 !important;
150
+ }
151
+
152
+ #interpolation-image-wrapper {
153
+ width: 100%;
154
+ }
155
+ #interpolation-image-wrapper img {
156
+ border-radius: 5px;
157
+ }
158
+
159
+ .gallery-grid {
160
+ display: grid;
161
+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
162
+ grid-gap: 1rem;
163
+ }
164
+
165
+ .gallery-item {
166
+ break-inside: avoid;
167
+ margin-bottom: 1rem;
168
+ }
169
+
170
+ .gallery-item figure {
171
+ margin: 0;
172
+ }
173
+
174
+ .gallery-item img {
175
+ width: 100%;
176
+ height: auto;
177
+ object-fit: cover;
178
+ }
179
+
180
+ .gallery-item figcaption {
181
+ padding: 0.5rem;
182
+ background-color: rgba(0, 0, 0, 0.05);
183
+ font-size: 0.9rem;
184
+ }
185
+
186
+ .gallery-masonry {
187
+ column-count: 3;
188
+ column-gap: 1em;
189
+ }
190
+
191
+ .gallery-item {
192
+ display: inline-block;
193
+ margin: 0 0 1em;
194
+ width: 100%;
195
+ }
196
+
197
+ .gallery-item figure {
198
+ margin: 0;
199
+ }
200
+
201
+ .gallery-item img {
202
+ width: 100%;
203
+ height: auto;
204
+ display: block;
205
+ }
206
+
207
+ .gallery-item figcaption {
208
+ padding: 0.5rem;
209
+ background-color: rgba(0, 0, 0, 0.05);
210
+ font-size: 0.9rem;
211
+ }
212
+
213
+ @media screen and (max-width: 768px) {
214
+ .gallery-masonry {
215
+ column-count: 2;
216
+ }
217
+ }
218
+
219
+ @media screen and (max-width: 480px) {
220
+ .gallery-masonry {
221
+ column-count: 1;
222
+ }
223
+ }
224
+
225
+ #gallery-carousel .carousel-item {
226
+ display: none;
227
+ }
228
+
229
+ #gallery-carousel .carousel-item.is-active {
230
+ display: block;
231
+ }
232
+
233
+ #gallery-carousel .carousel-item img {
234
+ max-height: 500px;
235
+ width: auto;
236
+ margin: 0 auto;
237
+ }
238
+
239
+ #gallery-carousel .carousel-item figcaption {
240
+ margin-top: 10px;
241
+ }
242
+
243
+ #gallery-carousel .carousel-navigation-is-centered .carousel-nav-left,
244
+ #gallery-carousel .carousel-navigation-is-centered .carousel-nav-right {
245
+ position: absolute;
246
+ top: 50%;
247
+ transform: translateY(-50%);
248
+ }
249
+
250
+ #gallery-carousel .carousel-navigation-is-centered .carousel-nav-left {
251
+ left: 0;
252
+ }
253
+
254
+ #gallery-carousel .carousel-navigation-is-centered .carousel-nav-right {
255
+ right: 0;
256
+ }
static/images/.gitattributes ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ demo.png filter=lfs diff=lfs merge=lfs -text
2
+ ibench.png filter=lfs diff=lfs merge=lfs -text
3
+ pipeline.png filter=lfs diff=lfs merge=lfs -text
4
+ title.png filter=lfs diff=lfs merge=lfs -text
5
+ tool.png filter=lfs diff=lfs merge=lfs -text
6
+ cultivate.png filter=lfs diff=lfs merge=lfs -text
static/images/cultivate.png ADDED

Git LFS Details

  • SHA256: c6c0e87a37265ecb6ef3f5537ad8191eb4d03067575dd47b1cc7057ca1d4e27f
  • Pointer size: 132 Bytes
  • Size of remote file: 1.61 MB
static/images/demo.png ADDED

Git LFS Details

  • SHA256: bd7c4850679faa618f4de9bfb0930d281d458ae919298e8708926895bfa7af0c
  • Pointer size: 132 Bytes
  • Size of remote file: 1.26 MB
static/images/ibench.png ADDED

Git LFS Details

  • SHA256: 7b1edc4c57f968c0c818aaf758789334881ee4c3c17b5506e113cc23bf29d2e5
  • Pointer size: 131 Bytes
  • Size of remote file: 767 kB
static/images/pipeline.png ADDED

Git LFS Details

  • SHA256: afe16f9b8a2a5d043657a31add47a0c28edee73bf60bcd16d4e411be768d70db
  • Pointer size: 131 Bytes
  • Size of remote file: 694 kB
static/images/title.png ADDED

Git LFS Details

  • SHA256: 0d2b44a854166139be8990cc55530fd617c690d7de05b5d5cb6187474d71225f
  • Pointer size: 132 Bytes
  • Size of remote file: 1.57 MB
static/images/tool.png ADDED

Git LFS Details

  • SHA256: acb9f63b2b45257915e8269b08ed6919df2026ca395ec078cd83b376b048685e
  • Pointer size: 132 Bytes
  • Size of remote file: 1.83 MB
static/js/index.js ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ window.HELP_IMPROVE_VIDEOJS = false;
2
+
3
+ var INTERP_BASE = "./static/interpolation/stacked";
4
+ var NUM_INTERP_FRAMES = 240;
5
+
6
+ var interp_images = [];
7
+ function preloadInterpolationImages() {
8
+ for (var i = 0; i < NUM_INTERP_FRAMES; i++) {
9
+ var path = INTERP_BASE + '/' + String(i).padStart(6, '0') + '.jpg';
10
+ interp_images[i] = new Image();
11
+ interp_images[i].src = path;
12
+ }
13
+ }
14
+
15
+ function setInterpolationImage(i) {
16
+ var image = interp_images[i];
17
+ image.ondragstart = function() { return false; };
18
+ image.oncontextmenu = function() { return false; };
19
+ $('#interpolation-image-wrapper').empty().append(image);
20
+ }
21
+
22
+
23
+ $(document).ready(function() {
24
+ // Check for click events on the navbar burger icon
25
+ $(".navbar-burger").click(function() {
26
+ // Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu"
27
+ $(".navbar-burger").toggleClass("is-active");
28
+ $(".navbar-menu").toggleClass("is-active");
29
+
30
+ });
31
+
32
+ var options = {
33
+ slidesToScroll: 1,
34
+ slidesToShow: 3,
35
+ loop: true,
36
+ infinite: true,
37
+ autoplay: false,
38
+ autoplaySpeed: 3000,
39
+ }
40
+
41
+ // Initialize all div with carousel class
42
+ var carousels = bulmaCarousel.attach('.carousel', options);
43
+
44
+ // Loop on each carousel initialized
45
+ for(var i = 0; i < carousels.length; i++) {
46
+ // Add listener to event
47
+ carousels[i].on('before:show', state => {
48
+ console.log(state);
49
+ });
50
+ }
51
+
52
+ // Access to bulmaCarousel instance of an element
53
+ var element = document.querySelector('#my-element');
54
+ if (element && element.bulmaCarousel) {
55
+ // bulmaCarousel instance is available as element.bulmaCarousel
56
+ element.bulmaCarousel.on('before-show', function(state) {
57
+ console.log(state);
58
+ });
59
+ }
60
+
61
+ /*var player = document.getElementById('interpolation-video');
62
+ player.addEventListener('loadedmetadata', function() {
63
+ $('#interpolation-slider').on('input', function(event) {
64
+ console.log(this.value, player.duration);
65
+ player.currentTime = player.duration / 100 * this.value;
66
+ })
67
+ }, false);*/
68
+ preloadInterpolationImages();
69
+
70
+ $('#interpolation-slider').on('input', function(event) {
71
+ setInterpolationImage(this.value);
72
+ });
73
+ setInterpolationImage(0);
74
+ $('#interpolation-slider').prop('max', NUM_INTERP_FRAMES - 1);
75
+
76
+ bulmaSlider.attach();
77
+
78
+ document.addEventListener('DOMContentLoaded', function() {
79
+ // Existing carousel initialization
80
+ bulmaCarousel.attach('#results-carousel', {
81
+ slidesToScroll: 1,
82
+ slidesToShow: 1,
83
+ infinite: true,
84
+ });
85
+
86
+ // Updated gallery carousel initialization
87
+ bulmaCarousel.attach('#gallery-carousel', {
88
+ slidesToScroll: 1,
89
+ slidesToShow: 1,
90
+ infinite: true,
91
+ navigation: true,
92
+ loop: true,
93
+ });
94
+ });
95
+ });
96
+
static/videos/.gitattributes ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ demo.mp4 filter=lfs diff=lfs merge=lfs -text
2
+ file.mp4 filter=lfs diff=lfs merge=lfs -text
3
+ friends.mp4 filter=lfs diff=lfs merge=lfs -text
4
+ intro.mp4 filter=lfs diff=lfs merge=lfs -text
5
+ admin.mp4 filter=lfs diff=lfs merge=lfs -text
6
+ avatar.mp4 filter=lfs diff=lfs merge=lfs -text
static/videos/admin.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd9a3d5fdd98efb7eeaa43003dc9eb62283fb26cd2a42925db3703c92bea05a8
3
+ size 1946759
static/videos/avatar.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11f7b1cbfa6196dcca02f9321742d455ef92f6b7cfd7274b6972f497e19d7dcc
3
+ size 232343
static/videos/demo.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d985b9461e422721baabcfd90df13702b5b0c3d13931507a5878873293cead6
3
+ size 11049493
static/videos/file.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c2d75ebeeaa273ac6adeabfddb84c7085506c2b3142955f1f2d1937958ed22b
3
+ size 458417
static/videos/friends.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d0062769c8fee37ddec884d469162dd1ce890ac2299e973c82b173bc4e7a14f
3
+ size 162505
static/videos/intro.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42e4fb70d1d5e7f4004813c2b20549b6f35cd3a499e35d81ae780adb15813fa8
3
+ size 791616