@rileybathurst/paddle 1.8.1 → 1.9.2

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": "1.8.1",
4
+ "version": "1.9.2",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -14,5 +14,5 @@ export const PaddleFeaturedSort = (nodes: PaddleFeaturedSortTypes[]) => {
14
14
  if (a.featured === false && b.featured === null) return 1;
15
15
  return 0;
16
16
  });
17
- console.log(nodes);
17
+ // console.log(nodes);
18
18
  }
@@ -3,6 +3,7 @@ import Markdown from "react-markdown";
3
3
 
4
4
  // TODO this would be nice to be able to close but I dont have it right yet
5
5
  // ! needs ranaming now I've removed the ...data or if it cant write why
6
+ // TODO: move this to be exported from paddle to each branch site
6
7
  type PaddleTopBarTypes = {
7
8
  strapiBranch: {
8
9
  topbar: {
@@ -10,19 +11,17 @@ type PaddleTopBarTypes = {
10
11
  topbar: string;
11
12
  }
12
13
  }
13
- RainCheck: string;
14
- RainCheckDate: Date;
15
- RainCheckReason: string;
16
14
  };
17
15
  }
18
16
  export const PaddleTopBar = ({ strapiBranch }: PaddleTopBarTypes) => {
19
17
 
18
+ /* // TODO: move to weather day
20
19
  const RainCheckDate = new Date(strapiBranch.RainCheck);
21
- const currently = new Date();
20
+ const currently = new Date(); */
22
21
 
23
22
  return (
24
23
  <div className='top-bar'>
25
- {RainCheckDate > currently ? (
24
+ {/* {RainCheckDate > currently ? (
26
25
  <p className="rain-check">
27
26
  <span className="rain-check-date">
28
27
  {RainCheckDate.toLocaleDateString('en-US', {
@@ -49,12 +48,12 @@ export const PaddleTopBar = ({ strapiBranch }: PaddleTopBarTypes) => {
49
48
  })}</span>&nbsp;
50
49
  <span className="rain-check-reason">We're closed today due to {strapiBranch.RainCheckReason}</span>
51
50
  </p>
52
- ) : (
51
+ ) : ( */}
53
52
  <Markdown>
54
53
  {strapiBranch.topbar.data.topbar}
55
54
  </Markdown>
56
- )
57
- }
55
+ {/* )
56
+ } */}
58
57
  </div>
59
58
  )
60
59
  }
@@ -230,6 +230,7 @@ menu button {
230
230
 
231
231
  .multi_button {
232
232
  display: flex;
233
+ flex-flow: row wrap;
233
234
  align-items: center;
234
235
  gap: var(--denali);
235
236
  }
@@ -24,7 +24,7 @@
24
24
  /* needed to control nested elements */
25
25
  text-decoration: none;
26
26
  box-shadow: var(--penumbra);
27
-
27
+ max-width: calc(100vw - 2rem);
28
28
  background-color: white;
29
29
 
30
30
  .purchase-collage {