File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11<template >
22<div class =" container" >
3- <router-link to =" /featured" class =" link" >
3+ <!-- < router-link to="/featured" class="link">
44 <h1 v-show="!loading">Featured Sculptures
55 <span v-show="!loading && $route.name !== 'featured'">›</span>
66 </h1>
7- </router-link >
8- <sculpture-feed :sculptures =" featuredSculptures" v-if =" featuredSculptures" ></sculpture-feed >
7+ </router-link> -->
8+ <h1 v-show =" !loading && $route.name == 'featured'" >Featured Sculptures </h1 >
9+ <sculpture-feed :sculptures =" featuredSculptures" v-if =" featuredSculptures && $route.name == 'featured'" ></sculpture-feed >
910 <h1 v-show =" !loading && $route.name !== 'featured'" >New Sculptures</h1 >
1011 <sculpture-feed :sculptures =" sculptures" v-if =" sculptures && $route.name !== 'featured'" ></sculpture-feed >
1112</div >
@@ -43,7 +44,7 @@ export default {
4344 sculptures .reverse ();
4445 let featured = sculptures .filter (sculpture => sculpture .featured == true );
4546 this .sculptures = sculptures;
46- this .featuredSculptures = featured .slice (0 , 8 );
47+ // this.featuredSculptures = featured.slice(0, 8);
4748 this .finishedLoading ();
4849 }
4950 })
You can’t perform that action at this time.
0 commit comments