File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ The backend (API) code is stored in the `server/` directory.
3838
3939https://user-images.githubusercontent.com/9143339/159093687-6fc90733-0599-445c-b08b-a6378d988e4b.mov
4040
41+ ## Contributing
4142Would you like to become a contributor? Please check out our [ contributors guide] ( .github/CONTRIBUTING.md ) ! 💝
4243
4344``` shell
Original file line number Diff line number Diff line change 3232 </div >
3333 </div >
3434
35- <v-card-actions >
35+ <v-card-actions class = " justify-center " >
3636 <v-btn >
3737 <AuthNav />
3838 </v-btn >
Original file line number Diff line number Diff line change 11<template lang="html">
22 <v-card
33 flat
4- v-on:click =" handleRepClick"
54 :to =" {
65 name: 'RepClick',
76 params: { member: member.name }
87 }"
8+ @click =" handleRepClick"
99 >
10- <v-card-title v-text =" member.name" class = " padding-y-0 " ></ v-card-title >
10+ <v-card-title class = " justify-center " v-text =" member.name" / >
1111 <v-card-subtitle
12+ class =" text-center padding-y-0 margin-top-10"
1213 v-text =" member.title"
13- class =" text-align-left padding-y-0 margin-top-10"
14- >
15- </v-card-subtitle >
14+ />
1615
1716 <!-- social media icons -->
18- <div
19- id =" social-media-channel"
20- class =" text-align-left social-media-channel-box"
21- >
17+ <div id =" social-media-channel" class =" text-center social-media-channel-box" >
2218 <a
2319 v-for =" socialMedia in member.socialMediaPages"
2420 :key =" socialMedia.type"
3632 </div >
3733
3834 <v-img
39- class =" text-align-left rep-img"
40- v-bind :src =" member.photoUrl"
35+ class =" mx-auto rep-img"
36+ :src =" member.photoUrl"
4137 height =" 75"
4238 width =" 75"
43- >
44- </v-img >
45- <v-card-subtitle
46- v-text =" member.address_city"
47- class =" text-align-left rep-img"
48- ></v-card-subtitle >
39+ />
40+ <v-card-subtitle class =" text-center rep-img" v-text =" member.address_city" />
4941 </v-card >
5042</template >
5143
5244<script lang="js">
5345import axios from ' axios'
5446
5547export default {
56- name: ' representative-card ' ,
48+ name: ' RepresentativeCard ' ,
5749 components: {
5850 },
5951 props: {
60- member: Object
52+ member: {
53+ type: Object ,
54+ required: true
55+ }
6156 },
57+ emits: [' handleRepSelected' ],
6258 data () {
6359 return {
6460 }
6561 },
66- emits: [' handleRepSelected' ],
6762 methods: {
6863 async handleRepClick () {
6964 try {
You can’t perform that action at this time.
0 commit comments