@dcrackel/meyersquaredui 1.0.75 → 1.0.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcrackel/meyersquaredui",
3
3
  "private": false,
4
- "version": "1.0.75",
4
+ "version": "1.0.77",
5
5
  "type": "module",
6
6
  "main": "dist/meyersquaredui.cjs.js",
7
7
  "module": "dist/meyersquaredui.esm.js",
@@ -1,38 +1,36 @@
1
1
  const mockGetTournamentId =
2
2
  {
3
- "TournamentId": 37,
4
- "Name": "Pumpkin Slice",
5
- "StartDate": "2024-10-27",
6
- "EndDate": "2024-10-28",
7
- "RegistrationCutOff": "2024-10-27",
8
- "Description": "<p>We are gathering at the Coombs Fairgrounds &amp; Event Centre on October 27th, 2023 for an Open Steel Messer tournament. This will be the second iteration, official, but spiritually, the third, as it was inspired by the Spooky Scary Messer tournament held by THCC in Vancouver.</p>",
3
+ "TournamentId": 79,
4
+ "Name": "Going The Distance",
5
+ "StartDate": "2024-10-26",
6
+ "EndDate": "2024-10-26",
7
+ "RegistrationCutOff": "2024-10-26",
8
+ "Description": "<p>adsfasdfasdf</p>",
9
9
  "HostedOnM2": true,
10
10
  "TotalParticipants": 0,
11
11
  "Events": [],
12
12
  "Club": {
13
- "Name": "Comox Valley Combat Guild",
14
- "ClubId": 356,
15
- "Images": [
16
- {
17
- "ImageId": 46,
18
- "URL": "https://meyersquared.com/uploads/CVCG+Logo+2024.png",
19
- "AltText": "This is alt text"
20
- }
21
- ]
13
+ "Name": "Columbus United Fencing Club",
14
+ "ClubId": 10,
15
+ "Images": [{
16
+ "ImageId": 45,
17
+ "URL": "https://meyersquared.com/uploads/t-23ee43e9.png",
18
+ "AltText": "Pumpkin Slice image"
19
+ }]
22
20
  },
23
21
  "Address": {
24
- "Name": "Coombs Fairgrounds & Event Center",
25
- "City": "Coombs",
26
- "State": "BC",
27
- "Address1": "1014 Ford Rd",
28
- "Zip": 12345,
29
- "Coordinates": "49.303763,-124.419878"
22
+ "Name": "Test Location",
23
+ "City": "Delaware",
24
+ "State": "OH",
25
+ "Address1": "123 Anywhere",
26
+ "Zip": 43015,
27
+ "Coordinates": "40.2828592,-83.1118049"
30
28
  },
31
29
  "Images": [
32
30
  {
33
- "ImageId": 45,
34
- "URL": "https://meyersquared.com/uploads/t-23ee43e9.png",
35
- "AltText": "Pumpkin Slice image"
31
+ "ImageId": 42,
32
+ "URL": "https://lh3.googleusercontent.com/p/AF1QipOgGD-nunVSt3U0qj4wItcoXDJfzlGyPgVjdLSU=s680-w680-h510",
33
+ "AltText": "Going The Distance image"
36
34
  }
37
35
  ],
38
36
  "PrimaryContact": {
@@ -42,19 +40,14 @@ const mockGetTournamentId =
42
40
  },
43
41
  "SocialMedia": [
44
42
  {
45
- "Link": "https://www.facebook.com/events/654044546924140/",
46
- "Type": "Facebook",
47
- "Label": "Registration Link"
43
+ "Link": "https://www.cvcombatguild.ca/",
44
+ "Type": "Rules",
45
+ "Label": "Rules Link"
48
46
  },
49
47
  {
50
- "Link": "https://www.facebook.com/events/654044546924140/",
48
+ "Link": "https://hemaeventcalendar.com/",
51
49
  "Type": "Registration",
52
50
  "Label": "Registration Link"
53
- },
54
- {
55
- "Link": "https://www.facebook.com/events/654044546924140/",
56
- "Type": "Rules",
57
- "Label": "Rules Link"
58
51
  }
59
52
  ],
60
53
  "TotalEvents": 0,
@@ -12,7 +12,7 @@
12
12
  <section>
13
13
  <div class="w-full flex justify-center mt-4 md:mt-12 md:pr-4">
14
14
  <TournamentDetails
15
- :imageSrc="tournament.Images[0].URL"
15
+ :imageSrc="TournamentImage"
16
16
  :description="tournament.Description"
17
17
  :shareLinks="ShareLinks"
18
18
  />
@@ -33,16 +33,16 @@
33
33
  </div>
34
34
  </section>
35
35
  <section class="mt-8 md:mt-16">
36
- <HostColumn
37
- :organizerName="ContactName"
38
- :organizerPortrait="ContactImage"
39
- :address="tournament.Address"
40
- :fencersGoing="tournament.TotalParticipants"
41
- :bookmarksCount="tournament.TotalBookmarks"
42
- :rulesLink="RulesLink"
43
- :apiKey="apiKey"
44
- @rules-click="onRulesClick"
45
- />
36
+ <!-- <HostColumn-->
37
+ <!-- :organizerName="ContactName"-->
38
+ <!-- :organizerPortrait="ContactImage"-->
39
+ <!-- :address="tournament.Address"-->
40
+ <!-- :fencersGoing="tournament.TotalParticipants"-->
41
+ <!-- :bookmarksCount="tournament.TotalBookmarks"-->
42
+ <!-- :rulesLink="RulesLink"-->
43
+ <!-- :apiKey="apiKey"-->
44
+ <!-- @rules-click="onRulesClick"-->
45
+ <!-- />-->
46
46
  </section>
47
47
  </section>
48
48
  <Footer/>
@@ -60,7 +60,6 @@ import EventListCard from "../../Organisms/Cards/EventListCard/EventListCard.vue
60
60
  import BaseText from "../../Atoms/BaseText/BaseText.vue";
61
61
  import BaseButton from "../../Atoms/BaseButton/BaseButton.vue";
62
62
  import HostColumn from "../../Organisms/Column/HostColumn.vue";
63
- import protrait1 from "../../../assets/images/portrait1.png";
64
63
 
65
64
  export default {
66
65
  name: 'TournamentDetailPage',
@@ -82,7 +81,7 @@ export default {
82
81
  },
83
82
  imageSrc: {
84
83
  type: String,
85
- default: 'https://images.squarespace-cdn.com/content/v1/588e439e1b10e309aeed2280/1549377422004-9SSG2INBP1HGR5OK4DIN/FacebookMockup2.png?format=1000w'
84
+ default: 'https://meyersquared.com/images/banners/largebanner01.jpg'
86
85
  },
87
86
  tournament: {
88
87
  type: Object,
@@ -123,6 +122,13 @@ export default {
123
122
  }
124
123
  return this.tournament?.PrimaryContact?.Images?.[0]?.URL || this.defaultPortrait;
125
124
  },
125
+ TournamentImage() {
126
+ if (this.tournament?.Images?.[0]?.URL && this.tournament.Images[0].URL.trim() !== '') {
127
+ return 'https://meyersquared.com/uploads/defaulttournament.png';
128
+ }
129
+
130
+ return this.defaultTournamentImage;
131
+ },
126
132
  RulesLink() {
127
133
  console.log(this.tournament.SocialMedia);
128
134
  const rulesLink = this.tournament.SocialMedia.find(social => social.Type === 'Rules');
@@ -155,7 +161,7 @@ export default {
155
161
  },
156
162
  data() {
157
163
  return {
158
- defaultPortrait: protrait1
164
+
159
165
  }
160
166
  },
161
167
  methods: {