Skip to content

Commit f56e077

Browse files
authored
Merge pull request #34 from jwagstaff/stage
Autodesk viewer and new landing
2 parents b3667aa + 14f7bed commit f56e077

File tree

10 files changed

+1364
-529
lines changed

10 files changed

+1364
-529
lines changed

index.html

+5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/themes/blue/pace-theme-minimal.min.css">
1414
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/cal-heatmap/3.3.10/cal-heatmap.css"/> -->
1515
<link rel="stylesheet" href="/static/custom.css">
16+
<!-- <link rel="stylesheet" href="https://developer.api.autodesk.com/modelderivative/v2/viewers/style.min.css" type="text/css">
17+
-->
1618

1719
<!-- JS that needs to load first -->
1820
<script type="text/javascript" src="https://js.stripe.com/v2/"></script>
@@ -25,6 +27,9 @@
2527
<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
2628
<script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>
2729

30+
<script src="https://developer.api.autodesk.com/modelderivative/v2/viewers/three.min.js"></script>
31+
<script src="https://developer.api.autodesk.com/modelderivative/v2/viewers/viewer3D.min.js"></script>
32+
2833
<!-- <script type="text/javascript">
2934
windfow.heap=window.heap||[],heap.load=function(e,t){window.heap.appid=e,window.heap.config=t=t||{};var r=t.forceSSL||"https:"===document.location.protocol,a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src=(r?"https:":"http:")+"//cdn.heapanalytics.com/js/heap-"+e+".js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n);for(var o=function(e){return function(){heap.push([e].concat(Array.prototype.slice.call(arguments,0)))}},p=["addEventProperties","addUserProperties","clearEventProperties","identify","removeEventProperty","setEventProperties","track","unsetEventProperty"],c=0;c<p.length;c++)heap[p[c]]=o(p[c])};
3035
heap.load("667135797");

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"file-system": "^2.2.2",
2121
"fs": "0.0.1-security",
2222
"marked": "^0.3.6",
23+
"node-sass": "^4.7.2",
2324
"raven-js": "^3.16.0",
2425
"rusha": "^0.8.6",
2526
"simplemde": "^1.11.2",

src/components/base/navbar.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
</div>
8585
</div>
8686
<router-link to="/accounts/auth/login" class="item" v-if='session.active===false'>Login</router-link>
87-
<router-link to="/accounts/auth/register" v-if='session.active===false' class="item">Signup</router-link>
87+
<!-- <router-link to="/accounts/auth/register" v-if='session.active===false' class="item">Signup</router-link> -->
8888
</div>
8989
</div>
9090

src/components/designs/design.vue

+8-5
Original file line numberDiff line numberDiff line change
@@ -265,13 +265,16 @@
265265
<div class="ui small basic button" @click='showShareModal()'>
266266
<i class="share icon"></i>Share
267267
</div>
268-
<a
269-
v-if='design.shares > 0'
268+
<router-link
269+
tag='a'
270270
class="ui small basic left pointing label"
271-
@click='viewShares()'
271+
:to='designRoute + "/settings/shares"'
272+
v-if='design.shares > 0'
272273
>
273-
{{ design.shares }}
274-
</a>
274+
<a>
275+
{{ design.shares }}
276+
</a>
277+
</router-link>
275278
<div
276279
v-else
277280
class='ui small basic left pointing label'

0 commit comments

Comments
 (0)