Skip to content

Commit

Permalink
show all with count
Browse files Browse the repository at this point in the history
  • Loading branch information
mikegulline committed Feb 21, 2024
1 parent 8c8adab commit 51efd7e
Show file tree
Hide file tree
Showing 11 changed files with 49 additions and 49 deletions.
4 changes: 2 additions & 2 deletions public/data/mens-sleeves.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
],
"type": "Sleeves",
"name": "Cotton Long-Sleeve",
"link": "/store/mens/sleeves/small-circle/black",
"image": "/images/products/mens/sleeves/MensSleevesSmallCircleBlack.jpg",
"link": "/store/mens/sleeves/arch/black",
"image": "/images/products/mens/sleeves/MensSleevesArchBlack.jpg",
"has_image_back": true,
"weight": 9.8,
"meta": {
Expand Down
4 changes: 2 additions & 2 deletions public/data/mens-tank.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
],
"type": "Tank",
"name": "Cotton Tank",
"link": "/store/mens/tank/stenciled/black",
"image": "/images/products/mens/tank/MensTankStenciledBlack.jpg",
"link": "/store/mens/tank/small-circle/black",
"image": "/images/products/mens/tank/MensTankSmallCircleBlack.jpg",
"has_image_back": true,
"weight": 5.7,
"meta": {
Expand Down
4 changes: 2 additions & 2 deletions public/data/mens-tee.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
],
"type": "Tee",
"name": "50/50 Tee",
"link": "/store/mens/tee/stamp/black",
"image": "/images/products/mens/tee/MensTeeStampBlack.jpg",
"link": "/store/mens/tee/stenciled/black",
"image": "/images/products/mens/tee/MensTeeStenciledBlack.jpg",
"has_image_back": true,
"weight": 7,
"meta": {
Expand Down
16 changes: 8 additions & 8 deletions public/data/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"subMenu": [
{
"name": "50/50 Tee",
"location": "/store/mens/tee/arch/black"
"location": "/store/mens/tee/small-circle/black"
},
{
"name": "Cotton Tank",
"location": "/store/mens/tank/original/black"
"location": "/store/mens/tank/stenciled/black"
},
{
"name": "Cotton Long-Sleeve",
"location": "/store/mens/sleeves/family-first/black"
"location": "/store/mens/sleeves/business/black"
}
]
},
Expand All @@ -23,11 +23,11 @@
"subMenu": [
{
"name": "Tri-Blend Tank",
"location": "/store/womens/tank/arch/gray"
"location": "/store/womens/tank/block/gray"
},
{
"name": "Cotton Oversized Crop",
"location": "/store/womens/oversized-crop/arch/black"
"location": "/store/womens/oversized-crop/block/black"
}
]
},
Expand All @@ -37,15 +37,15 @@
"subMenu": [
{
"name": "50/50 Crew",
"location": "/store/outerwear/50-50-crew/block/black"
"location": "/store/outerwear/50-50-crew/stenciled/black"
},
{
"name": "Cotton Crew",
"location": "/store/outerwear/crew/arch/black"
"location": "/store/outerwear/crew/block/black"
},
{
"name": "50/50 Hoodie",
"location": "/store/outerwear/50-50-hoodie/stamp/black"
"location": "/store/outerwear/50-50-hoodie/block/black"
},
{
"name": "Cotton Hoodie",
Expand Down
4 changes: 2 additions & 2 deletions public/data/outerwear-50-50-crew.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
],
"type": "50-50-Crew",
"name": "50/50 Crew",
"link": "/store/outerwear/50-50-crew/stenciled/black",
"image": "/images/products/outerwear/50-50-crew/Outerwear50-50-CrewStenciledBlack.jpg",
"link": "/store/outerwear/50-50-crew/block/black",
"image": "/images/products/outerwear/50-50-crew/Outerwear50-50-CrewBlockBlack.jpg",
"has_image_back": true,
"weight": 34.3,
"meta": {
Expand Down
4 changes: 2 additions & 2 deletions public/data/outerwear-crew.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
],
"type": "Crew",
"name": "Cotton Crew",
"link": "/store/outerwear/crew/block/black",
"image": "/images/products/outerwear/crew/OuterwearCrewBlockBlack.jpg",
"link": "/store/outerwear/crew/arch/black",
"image": "/images/products/outerwear/crew/OuterwearCrewArchBlack.jpg",
"has_image_back": true,
"weight": 34.3,
"meta": {
Expand Down
4 changes: 2 additions & 2 deletions public/data/outerwear-hoodie.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
],
"type": "Hoodie",
"name": "Cotton Hoodie",
"link": "/store/outerwear/hoodie/block/black",
"image": "/images/products/outerwear/hoodie/OuterwearHoodieBlockBlack.jpg",
"link": "/store/outerwear/hoodie/original/black",
"image": "/images/products/outerwear/hoodie/OuterwearHoodieOriginalBlack.jpg",
"has_image_back": false,
"weight": 34.3,
"meta": {
Expand Down
48 changes: 24 additions & 24 deletions public/data/store-new.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
{
"name": "50/50 Tee",
"type": "Tee",
"link": "/store/mens/tee/arch/black",
"image": "/images/products/mens/tee/MensTeeArchBlack.jpg",
"imageBlur": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAP0lEQVR4nAE0AMv/AObm656en5aWltnY2AC9vsFHR0lRT065ubkA8vL0EQ8OBQEA2NjYAPv7/3Jycm5tauPj4wKnHNcXE1ghAAAAAElFTkSuQmCC",
"link": "/store/mens/tee/small-circle/black",
"image": "/images/products/mens/tee/MensTeeSmallCircleBlack.jpg",
"imageBlur": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAP0lEQVR4nAE0AMv/AN3a2pmJiZuIid/b3QCknp0yCxY8GCK5tLUA7ufnDQAHFg8S7uroAP38/5SUlJmXl/Hv8Mr4HFw9dcuuAAAAAElFTkSuQmCC",
"logos": [
{
"logo": "Small Circle",
Expand Down Expand Up @@ -105,9 +105,9 @@
{
"name": "Cotton Tank",
"type": "Tank",
"link": "/store/mens/tank/original/black",
"image": "/images/products/mens/tank/MensTankOriginalBlack.jpg",
"imageBlur": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAP0lEQVR4nAE0AMv/APX1+Y+QlqSmrPz8/wDAwMQyMTdKSlHa2t4Ao6OmAwEJFRMYtbW3AMLCxFVVWF1dX8vMzvuCGv1XJNqEAAAAAElFTkSuQmCC",
"link": "/store/mens/tank/stenciled/black",
"image": "/images/products/mens/tank/MensTankStenciledBlack.jpg",
"imageBlur": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAP0lEQVR4nAE0AMv/APT094OEipucovv7/wC7u74wMDZQUFbV1dgAmJibBQMIFBQXq6utALy9wENDR0tMTcfHyeQsGd/tZmn6AAAAAElFTkSuQmCC",
"logos": [
{
"logo": "Small Circle",
Expand Down Expand Up @@ -154,9 +154,9 @@
{
"name": "Cotton Long-Sleeve",
"type": "Sleeves",
"link": "/store/mens/sleeves/family-first/black",
"image": "/images/products/mens/sleeves/MensSleevesFamilyFirstBlack.jpg",
"imageBlur": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAP0lEQVR4nAE0AMv/APT0+IWFiI+OkPv7/QB8foQ1JiE1JyOBgokArq60DQsRAwEHm5yfAPX1+YWFioCBhu7u8qmaGf6PhfsgAAAAAElFTkSuQmCC",
"link": "/store/mens/sleeves/business/black",
"image": "/images/products/mens/sleeves/MensSleevesBusinessBlack.jpg",
"imageBlur": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAP0lEQVR4nAE0AMv/APX2+5CKgpqUiPn6/QCVl6AxJQs7KguMjpcA1NTXEREaAAAMs7O2AP39/3l5fnl5f/Dw9MduGwjcz29zAAAAAElFTkSuQmCC",
"logos": [
{
"logo": "Disassociated",
Expand Down Expand Up @@ -269,9 +269,9 @@
{
"name": "Tri-Blend Tank",
"type": "Tank",
"link": "/store/womens/tank/arch/gray",
"image": "/images/products/womens/tank/WomensTankArchGray.jpg",
"imageBlur": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAP0lEQVR4nAE0AMv/AP39/5+fo56eoPr6/QDs7O48ODRAOzjm5ecAr62vEgAAGwsAqqenAMDAwElFQTkzLba0tg8/Gn4yMVIRAAAAAElFTkSuQmCC",
"link": "/store/womens/tank/block/gray",
"image": "/images/products/womens/tank/WomensTankBlockGray.jpg",
"imageBlur": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAP0lEQVR4nAE0AMv/AP7+/5CRkpOTlfz8/wDs7PAfHBgjIRzv7/IAvr6/DgAAEQAAsrCyAMTExDk1MjcyLL29vfQMGdIPLnIDAAAAAElFTkSuQmCC",
"logos": [
{
"logo": "Small Circle",
Expand Down Expand Up @@ -339,9 +339,9 @@
{
"name": "Cotton Oversized Crop",
"type": "Oversized-Crop",
"link": "/store/womens/oversized-crop/arch/black",
"image": "/images/products/womens/oversized-crop/WomensOversized-CropArchBlack.jpg",
"imageBlur": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAP0lEQVR4nAE0AMv/AP37/+vr7+zr7/v7/wCOkpgrLDMvMTaVl5wAqqqvAAMNEBEXqq2xAPb2+e7u8/Ly9vj4+z4QH+Q3oUPyAAAAAElFTkSuQmCC",
"link": "/store/womens/oversized-crop/block/black",
"image": "/images/products/womens/oversized-crop/WomensOversized-CropBlockBlack.jpg",
"imageBlur": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAP0lEQVR4nAE0AMv/APz7/+fn6ujp6/v7/wCFh44tLjUsLTOMjpQAoaKnAgQODhAWo6SnAPf3+Ovr7u/v8vn5+y3mH0vAiFdgAAAAAElFTkSuQmCC",
"logos": [
{
"logo": "Small Circle",
Expand Down Expand Up @@ -426,9 +426,9 @@
{
"name": "50/50 Crew",
"type": "50-50-Crew",
"link": "/store/outerwear/50-50-crew/block/black",
"image": "/images/products/outerwear/50-50-crew/Outerwear50-50-CrewBlockBlack.jpg",
"imageBlur": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAP0lEQVR4nAE0AMv/APn5/L2+xLq8wvb3+gCSlp8qLTc8PUaMkJgAjZGZAgMRAAAKeHmBAPz8/7m7vq+vtO/v8fNoHGgWpJMwAAAAAElFTkSuQmCC",
"link": "/store/outerwear/50-50-crew/stenciled/black",
"image": "/images/products/outerwear/50-50-crew/Outerwear50-50-CrewStenciledBlack.jpg",
"imageBlur": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAP0lEQVR4nAE0AMv/AP39/8fIzcrL0P39/wCUmqA2O0VBSFScoacAdnuCAQMMDxQeiI2UAOnq7Li4uru9vu7u8BMAHVFRYaQuAAAAAElFTkSuQmCC",
"logos": [
{
"logo": "Original",
Expand Down Expand Up @@ -482,9 +482,9 @@
{
"name": "Cotton Crew",
"type": "Crew",
"link": "/store/outerwear/crew/arch/black",
"image": "/images/products/outerwear/crew/OuterwearCrewArchBlack.jpg",
"imageBlur": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAP0lEQVR4nAE0AMv/APr6/L2+wrq7wPb2+gCUlp4hJCkoKC6QkJUAj5KXDQ0RBAMHent+APz8/76+wLS1uO/v8endHDkxN8G0AAAAAElFTkSuQmCC",
"link": "/store/outerwear/crew/block/black",
"image": "/images/products/outerwear/crew/OuterwearCrewBlockBlack.jpg",
"imageBlur": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAP0lEQVR4nAE0AMv/APn5/L2+xLq8wvb3+gCSlp8qLTc8PUaMkJgAjZGZAgMRAAAKeHmBAPz8/7m7vq+vtO/v8fNoHGgWpJMwAAAAAElFTkSuQmCC",
"logos": [
{
"logo": "Original",
Expand Down Expand Up @@ -560,9 +560,9 @@
{
"name": "50/50 Hoodie",
"type": "50-50-Hoodie",
"link": "/store/outerwear/50-50-hoodie/stamp/black",
"image": "/images/products/outerwear/50-50-hoodie/Outerwear50-50-HoodieStampBlack.jpg",
"imageBlur": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAP0lEQVR4nAE0AMv/APv6/LOvr7m1tfv8/wDQz9NBOztCOzzMy80AiomLDggOAwEGaGdpAN3d3mplZV9bXL+/wQT6GoccfWXCAAAAAElFTkSuQmCC",
"link": "/store/outerwear/50-50-hoodie/block/black",
"image": "/images/products/outerwear/50-50-hoodie/Outerwear50-50-HoodieBlockBlack.jpg",
"imageBlur": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAP0lEQVR4nAE0AMv/AP7//6+rqrq2t////wDNy85DPD1GQEHOzdAAgoGCEQ0QBQEHamlsAN7d32ZgYF5aW8TExQbEGpglmoRZAAAAAElFTkSuQmCC",
"logos": [
{
"logo": "Original",
Expand Down
4 changes: 2 additions & 2 deletions public/data/womens-oversized-crop.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
],
"type": "Oversized-Crop",
"name": "Cotton Oversized Crop",
"link": "/store/womens/oversized-crop/block/black",
"image": "/images/products/womens/oversized-crop/WomensOversized-CropBlockBlack.jpg",
"link": "/store/womens/oversized-crop/arch/black",
"image": "/images/products/womens/oversized-crop/WomensOversized-CropArchBlack.jpg",
"has_image_back": true,
"weight": 2.9,
"meta": {
Expand Down
4 changes: 2 additions & 2 deletions public/data/womens-tank.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
],
"type": "Tank",
"name": "Tri-Blend Tank",
"link": "/store/womens/tank/small-circle/gray",
"image": "/images/products/womens/tank/WomensTankSmallCircleGray.jpg",
"link": "/store/womens/tank/stamp/gray",
"image": "/images/products/womens/tank/WomensTankStampGray.jpg",
"has_image_back": true,
"weight": 2.6,
"meta": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function SlideshowGridGallery({ title, link = null, children }) {
{children?.length > 3 && (
<ToggleButton handleClick={setShowFirstToggle}>
<ToggleView showFirst={showFirstToggle}>
<>Show Grid</>
<>Show All {children.length}</>
<>Show Slideshow</>
</ToggleView>
</ToggleButton>
Expand Down

0 comments on commit 51efd7e

Please sign in to comment.