@rileybathurst/paddle 0.0.38 → 0.0.40

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": "@rileybathurst/paddle",
3
3
  "private": false,
4
- "version": "0.0.38",
4
+ "version": "0.0.40",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -108,6 +108,7 @@ function Content({ svg, name, address, description, opening_time, closing_time,
108
108
 
109
109
  export function PaddleLocationCard({ svg, name, link, address, description, opening_time, closing_time, locale, background }: LocationCardTypes) {
110
110
  if (link.includes('http')) {
111
+ console.log('🦄');
111
112
  return (
112
113
  <a href={link}
113
114
  className={`location ${background}`}
@@ -127,6 +128,7 @@ export function PaddleLocationCard({ svg, name, link, address, description, open
127
128
  </a>
128
129
  )
129
130
  }
131
+ console.log('🦖');
130
132
  return (
131
133
  <Link
132
134
  to={`/${link}`}
@@ -28,11 +28,15 @@ export function PaddleTicket({ ogimage, slug, name, start, finish, duration, tim
28
28
  {name}
29
29
  </Link>
30
30
  </h4>
31
- <div className="card__specs">
32
- <h4>{time.entry}</h4>
33
- {/* // TODO: I'd like a spec backup here */}
34
- {fitness ? <h4 className="capitalize">{fitness} <span>Fitness</span></h4> : null}
35
- </div>
31
+
32
+ {/* // * heavy handed but once the backup is there we can work on this */}
33
+ {slug !== '2hour' && slug !== '3hour' ?
34
+ <div className="card__specs">
35
+ <h4>{time.entry}</h4>
36
+ {/* // TODO: I'd like a spec backup here */}
37
+ {fitness ? <h4 className="capitalize">{fitness} <span>Fitness</span></h4> : null}
38
+ </div>
39
+ : null}
36
40
  <hr />
37
41
  <p>{excerpt}</p>
38
42
  <hr />