| return { | return { | ||||
| title: 'Rohan Verma', | title: 'Rohan Verma', | ||||
| bgc: { | bgc: { | ||||
| backgroundColor: '#80DEEA' | |||||
| backgroundColor: '#4833f4' | |||||
| } | } | ||||
| } | } | ||||
| } | } |
| <template> | <template> | ||||
| <v-flex xs12 sm6 md6 lg6> | |||||
| <v-card width="384px" > | |||||
| <v-card> | |||||
| <v-parallax | <v-parallax | ||||
| class="white--text" | class="white--text" | ||||
| src="background.jpg" | src="background.jpg" | ||||
| height="164px" | height="164px" | ||||
| > | > | ||||
| <v-container fill-height fluid> | |||||
| <v-layout fill-height> | |||||
| <v-flex xs12 align-end flexbox> | |||||
| <v-container fill-height> | |||||
| <v-spacer></v-spacer> | |||||
| <!-- <v-layout column align-center > --> | |||||
| <v-avatar | |||||
| :tile= false | |||||
| :size= 128 | |||||
| > | |||||
| <img src="//avatars2.githubusercontent.com/u/952036?s=512" alt="Profile"> | |||||
| </v-avatar> | |||||
| <!-- </v-layout> --> | |||||
| <!-- <v-layout fill-height> --> | |||||
| <v-flex xs12 align-end flexbox ml-3> | |||||
| <span class="headline" style="text-shadow: 1px 1px 10px #000;">Rohan Verma</span> | <span class="headline" style="text-shadow: 1px 1px 10px #000;">Rohan Verma</span> | ||||
| <br/> | <br/> | ||||
| <span style="text-shadow: 1px 1px 10px #000;">Software Developer</span> | <span style="text-shadow: 1px 1px 10px #000;">Software Developer</span> | ||||
| <br/> | <br/> | ||||
| <span style="text-shadow: 1px 1px 10px #000;">@rhnvrm</span> | <span style="text-shadow: 1px 1px 10px #000;">@rhnvrm</span> | ||||
| </v-flex> | </v-flex> | ||||
| </v-layout> | |||||
| <v-layout column align-center > | |||||
| <v-avatar | |||||
| :tile= false | |||||
| :size= 128 | |||||
| > | |||||
| <img src="//avatars2.githubusercontent.com/u/952036?s=512" alt="Profile"> | |||||
| </v-avatar> | |||||
| </v-layout> | |||||
| <!-- </v-layout> --> | |||||
| </v-container> | </v-container> | ||||
| </v-parallax> | </v-parallax> | ||||
| <v-btn flat color="blue">Share</v-btn> | <v-btn flat color="blue">Share</v-btn> | ||||
| </v-card-actions> | </v-card-actions> | ||||
| </v-card> | </v-card> | ||||
| </v-flex> | |||||
| </template> | </template> |
| <template> | <template> | ||||
| <v-container fluid> | <v-container fluid> | ||||
| <v-layout column align-center> | |||||
| <contact-card> | |||||
| </contact-card> | |||||
| </v-layout> | |||||
| <v-layout column align-center mt-3> | |||||
| <profile-list> | |||||
| </profile-list> | |||||
| <v-layout> | |||||
| <v-flex xs12 md3 sm3 lg3> | |||||
| <v-layout> | |||||
| <v-flex> | |||||
| <v-flex> | |||||
| <contact-card></contact-card> | |||||
| </v-flex> | |||||
| <v-flex mt-3> | |||||
| <profile-list></profile-list> | |||||
| </v-flex> | |||||
| </v-flex> | |||||
| </v-layout> | </v-layout> | ||||
| <v-layout column align-center mt-3> | |||||
| <project-list> | |||||
| </project-list> | |||||
| </v-flex> | |||||
| <v-flex xs12 md9 sm9 lg9> | |||||
| <v-layout ml-3> | |||||
| <v-flex> | |||||
| <project-list></project-list> | |||||
| </v-flex> | |||||
| </v-layout> | </v-layout> | ||||
| </v-flex> | |||||
| </v-layout> | |||||
| </v-container> | </v-container> | ||||
| </template> | </template> | ||||
| <template> | <template> | ||||
| <v-flex xs12 sm6 md6 lg6> | |||||
| <v-card width="384px" > | |||||
| <v-parallax | |||||
| class="white--text" | |||||
| src="background.jpg" | |||||
| height="32px" | |||||
| > | |||||
| <v-container fill-height fluid> | |||||
| <v-card> | |||||
| <v-parallax class="white--text" src="background.jpg" height="32px"> | |||||
| <v-container fill-height> | |||||
| <v-layout fill-height> | <v-layout fill-height> | ||||
| <v-flex xs12 align-end flexbox> | <v-flex xs12 align-end flexbox> | ||||
| <span class="headline" style="text-shadow: 1px 1px 10px #000;">My Profiles</span> | <span class="headline" style="text-shadow: 1px 1px 10px #000;">My Profiles</span> | ||||
| </v-flex> | </v-flex> | ||||
| </v-layout> | </v-layout> | ||||
| </v-container> | </v-container> | ||||
| </v-parallax> | </v-parallax> | ||||
| <v-list> | <v-list> | ||||
| </v-list-tile> | </v-list-tile> | ||||
| </v-list> | </v-list> | ||||
| </v-card> | </v-card> | ||||
| </v-flex> | |||||
| </template> | </template> | ||||
| <script> | <script> |
| <template> | <template> | ||||
| <v-flex xs12 sm6 md6 lg6> | |||||
| <v-card width="384px" > | |||||
| <v-card > | |||||
| <v-parallax | <v-parallax | ||||
| class="white--text" | class="white--text" | ||||
| src="background.jpg" | src="background.jpg" | ||||
| height="32px" | height="32px" | ||||
| > | > | ||||
| <v-container fill-height fluid> | |||||
| <v-container fill-height> | |||||
| <v-layout fill-height> | <v-layout fill-height> | ||||
| <v-flex xs12 align-end flexbox> | <v-flex xs12 align-end flexbox> | ||||
| <span class="headline" style="text-shadow: 1px 1px 10px #000;">My Projects</span> | <span class="headline" style="text-shadow: 1px 1px 10px #000;">My Projects</span> | ||||
| <v-list-tile @click ='redirect_url(project.link)'> | <v-list-tile @click ='redirect_url(project.link)'> | ||||
| <v-list-tile-content> | <v-list-tile-content> | ||||
| <v-list-tile-title v-html="project.title.rendered"></v-list-tile-title> | <v-list-tile-title v-html="project.title.rendered"></v-list-tile-title> | ||||
| <v-list-tile-sub-title v-html="project.date"></v-list-tile-sub-title> | |||||
| </v-list-tile-content> | </v-list-tile-content> | ||||
| <v-list-tile-action> | <v-list-tile-action> | ||||
| <v-icon>fas fa-arrow-circle-right</v-icon> | <v-icon>fas fa-arrow-circle-right</v-icon> | ||||
| </v-list-tile> | </v-list-tile> | ||||
| </v-list> | </v-list> | ||||
| </v-card> | </v-card> | ||||
| </v-flex> | |||||
| </template> | </template> | ||||
| <script> | <script> | ||||
| } | } | ||||
| }, | }, | ||||
| mounted: function() { | mounted: function() { | ||||
| this.getProjects().then(res => { | |||||
| this.projects = res.data; | |||||
| this.getProjects().then(res => { | |||||
| for (var i = 0; i < res.data.length; i++) { | |||||
| var dateObject = new Date(res.data[i].date); | |||||
| res.data[i].date = dateObject.toDateString(); | |||||
| } | |||||
| this.projects = res.data; | |||||
| }); | }); | ||||
| }, | }, | ||||
| methods: { | methods: { |