1- <div id="fb-root"></div >
2- <script async defer crossorigin="anonymous" src="https://connect.facebook .net /en_US/sdk.js #xfbml =1 & version = v5 .0 " ></script>
31
42<template >
5- < div>
3+ <div id = " home " >
64
75 <Sidebar :drawer =" drawer" />
86
3634 </v-btn >
3735 </header >
3836
39- < div class = " fb-page mt-10 ml-10" data- href= " https://www.facebook.com/csesoc"
40- data- tabs= " timeline, events, messages" data- width= " 450" data- height= " " data- small- header= " true"
41- data- adapt- container- width= " true" data- hide- cover= " true" data- show- facepile= " true" >
42- < blockquote cite= " https://www.facebook.com/csesoc" class = " fb-xfbml-parse-ignore" >
43- < a href= " https://www.facebook.com/csesoc" > CSESoc UNSW < / a>< / blockquote>< / div>
37+ <v-container class =" ma-12 mt-20" >
38+ <v-row no-gutters >
39+ <v-col >
40+ <div class =" fb-page ml-12" data-href =" https://www.facebook.com/csesoc"
41+ data-tabs =" timeline, events, messages" data-width =" 450" data-height =" 750" data-small-header =" true"
42+ data-adapt-container-width =" true" data-hide-cover =" true" data-show-facepile =" true" >
43+ <blockquote cite =" https://www.facebook.com/csesoc" class =" fb-xfbml-parse-ignore" >
44+ <a href =" https://www.facebook.com/csesoc" >CSESoc UNSW</a ></blockquote ></div >
45+ </v-col >
46+ <v-col >
47+ <h1 > #!/UPCOMING EVENTS </h1 >
48+ <ListComponent :listItems =" listItems" />
49+ </v-col >
50+ </v-row >
51+ </v-container >
52+
53+
54+
4455
45- < ListComponent class = " pa-8 ma-8 " / >
56+ <!-- media slider - could be showcase of recent posts?? -- >
4657 <Slider :items =" items" class =" my-10" />
58+
59+ <Events />
60+ <h1 > #!/RESOURCES </h1 >
4761 <NavGrid id =' content-start' :gridItems =" gridItems" ></NavGrid >
4862 <Footer />
4963 </div >
5064</template >
5165
5266<script >
53- import NavGrid from ' @/components/NavGrid ' ;
67+ import NavGrid from ' @/components/NavGridSquare ' ;
5468import ListComponent from ' @/components/ListComponent' ;
5569import Footer from ' @/components/Footer' ;
5670import Sidebar from ' @/components/Sidebar' ;
5771import Slider from ' @/components/Slider' ;
5872import LoginForm from ' @/components/LoginForm' ;
73+ import Events from ' @/components/Events'
5974
6075
6176export default {
6277 data : () => ({
6378 drawer: false ,
6479 gridApiUri: ' https://gistcdn.githack.com/esyw/f83b10232854534b64e475473406dfe6/raw/263a737400bc4e4e642a28cb9da9851ef76e3546/help.json' ,
6580 gridItems: [],
66- listApiUri: ' https://gistcdn.githack.com/gawdn/464b5ed74404481f7296fb24f9f28243 /raw/c9f63e5117a1406db9af5266c8cfd448161bbfec/test_grid .json' ,
81+ listApiUri: ' https://gistcdn.githack.com/esyw/d3801d0bc2b3cefb7fe704a328bb22e8 /raw/0010238c3dc744514faf2c859110db5eb6cf9cbe/list-test .json' ,
6782 listItems: [],
6883 items: [],
6984 }),
@@ -75,6 +90,7 @@ export default {
7590 Sidebar,
7691 Slider,
7792 LoginForm,
93+ Events,
7894 },
7995
8096 mounted () {
@@ -84,6 +100,12 @@ export default {
84100 this .gridItems = responseJson;
85101 this .items = responseJson;
86102 });
103+
104+ fetch (this .listApiUri )
105+ .then (r => r .json ())
106+ .then ((responseJson ) => {
107+ this .listItems = responseJson;
108+ });
87109 },
88110
89111};
@@ -95,6 +117,10 @@ export default {
95117 margin : 0 ;
96118 padding : 0 ;
97119}
120+ #home {
121+ font-family : " Quicksand" , sans-serif ;
122+
123+ }
98124#showcase {
99125 background-image : url (" https://backgroundcheckall.com/wp-content/uploads/2017/12/black-tech-background-12.jpg" );
100126 background-size : cover ;
@@ -119,7 +145,6 @@ export default {
119145 font-size : 20px ;
120146}
121147#showcase .button {
122- font-family : " Quicksand" , sans-serif ;
123148 font-size : 18px ;
124149 text-decoration : none ;
125150 color : #fff ;
0 commit comments