Skip to content

Commit 98349a4

Browse files
authored
Merge branch 'main' into gov-filtering-cicero-api
2 parents 6730fdb + 95b3b56 commit 98349a4

5 files changed

Lines changed: 168 additions & 160 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ The backend (API) code is stored in the `server/` directory.
3838

3939
https://user-images.githubusercontent.com/9143339/159093687-6fc90733-0599-445c-b08b-a6378d988e4b.mov
4040

41+
## Contributing
4142
Would you like to become a contributor? Please check out our [contributors guide](.github/CONTRIBUTING.md)! 💝
4243

4344
```shell

src/components/LetterLoad.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</div>
3333
</div>
3434

35-
<v-card-actions>
35+
<v-card-actions class="justify-center">
3636
<v-btn>
3737
<AuthNav />
3838
</v-btn>

src/components/RepresentativeCard.vue

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
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"
@@ -36,34 +32,33 @@
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">
5345
import axios from 'axios'
5446
5547
export 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 {

0 commit comments

Comments
 (0)