@pixelated-tech/components 3.1.5 → 3.2.0
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/README.md +60 -39
- package/dist/components/callout/callout.js +10 -9
- package/dist/components/callout/callout.scss +43 -43
- package/dist/components/carousel/carousel.css +24 -22
- package/dist/components/carousel/carousel.drag.js +1 -1
- package/dist/components/carousel/carousel.js +10 -10
- package/dist/components/{tiles → carousel}/tiles.css +10 -10
- package/dist/components/{tiles → carousel}/tiles.js +3 -3
- package/dist/components/cms/contentful.items.components.js +12 -12
- package/dist/components/cms/contentful.items.css +24 -24
- package/dist/components/cms/gravatar.components.js +87 -5
- package/dist/components/cms/instagram.components.js +1 -1
- package/dist/components/cms/wordpress.components.js +3 -3
- package/dist/components/cms/wordpress.css +3 -3
- package/dist/components/general/microinteractions.css +7 -7
- package/dist/components/general/modal.css +5 -5
- package/dist/components/general/modal.js +1 -1
- package/dist/components/general/semantic.js +282 -0
- package/dist/components/general/semantic.scss +359 -0
- package/dist/components/menu/menu-accordion.css +27 -21
- package/dist/components/menu/menu-accordion.js +1 -1
- package/dist/components/menu/menu-simple.css +8 -8
- package/dist/components/menu/menu-simple.js +3 -3
- package/dist/components/nerdjoke/nerdjoke.js +85 -77
- package/dist/components/pagebuilder/components/PageBuilderUI.js +1 -1
- package/dist/components/pagebuilder/components/PageEngine.js +21 -14
- package/dist/components/pagebuilder/lib/componentMap.js +5 -5
- package/dist/components/pagebuilder/lib/componentMetadata.js +1 -1
- package/dist/components/seo/404.css +5 -5
- package/dist/components/seo/404.js +2 -2
- package/dist/components/seo/googlemap.js +2 -1
- package/dist/components/seo/googlesearch.css +11 -0
- package/dist/components/seo/metadata.components.js +35 -0
- package/dist/components/seo/metadata.js +0 -48
- package/dist/components/seo/sitemap.js +192 -53
- package/dist/components/shoppingcart/ebay.css +5 -5
- package/dist/components/shoppingcart/shoppingcart.css +1 -1
- package/dist/components/{resume → structured}/resume.css +4 -0
- package/dist/components/{resume → structured}/resume.js +3 -3
- package/dist/components/{timeline → structured}/timeline.css +14 -14
- package/dist/components/{timeline → structured}/timeline.js +3 -3
- package/dist/css/pixelated.global.css +25 -164
- package/dist/index.js +12 -12
- package/dist/index.server.js +1 -0
- package/dist/types/components/callout/callout.d.ts.map +1 -1
- package/dist/types/components/carousel/carousel.d.ts.map +1 -1
- package/dist/types/components/{tiles → carousel}/tiles.d.ts +1 -1
- package/dist/types/components/carousel/tiles.d.ts.map +1 -0
- package/dist/types/components/cms/contentful.items.components.d.ts.map +1 -1
- package/dist/types/components/cms/gravatar.components.d.ts +53 -24
- package/dist/types/components/cms/gravatar.components.d.ts.map +1 -1
- package/dist/types/components/cms/pixelated.linkedin.d.ts.map +1 -0
- package/dist/types/components/cms/pixelated.linkedin1.d.ts.map +1 -0
- package/dist/types/components/cms/pixelated.linkedin2.d.ts.map +1 -0
- package/dist/types/components/cms/yelp.d.ts.map +1 -0
- package/dist/types/components/general/semantic.d.ts +153 -0
- package/dist/types/components/general/semantic.d.ts.map +1 -0
- package/dist/types/components/general/sidepanel.d.ts.map +1 -0
- package/dist/types/components/nerdjoke/nerdjoke.d.ts +15 -20
- package/dist/types/components/nerdjoke/nerdjoke.d.ts.map +1 -1
- package/dist/types/components/pagebuilder/components/PageEngine.d.ts.map +1 -1
- package/dist/types/components/pagebuilder/lib/componentMap.d.ts +6 -6
- package/dist/types/components/pagebuilder/lib/componentMap.d.ts.map +1 -1
- package/dist/types/components/seo/404.d.ts.map +1 -1
- package/dist/types/components/seo/googlemap.d.ts +1 -0
- package/dist/types/components/seo/googlemap.d.ts.map +1 -1
- package/dist/types/components/seo/metadata.components.d.ts +28 -0
- package/dist/types/components/seo/metadata.components.d.ts.map +1 -0
- package/dist/types/components/seo/metadata.d.ts +0 -14
- package/dist/types/components/seo/metadata.d.ts.map +1 -1
- package/dist/types/components/seo/sitemap.d.ts +107 -14
- package/dist/types/components/seo/sitemap.d.ts.map +1 -1
- package/dist/types/components/{buzzwordbingo → structured}/buzzwordbingo.d.ts +1 -1
- package/dist/types/components/structured/buzzwordbingo.d.ts.map +1 -0
- package/dist/types/components/structured/markdown.d.ts.map +1 -0
- package/dist/types/components/structured/recipe.d.ts.map +1 -0
- package/dist/types/components/{resume → structured}/resume.d.ts +1 -1
- package/dist/types/components/structured/resume.d.ts.map +1 -0
- package/dist/types/components/{socialcard → structured}/socialcard.d.ts +1 -1
- package/dist/types/components/{socialcard → structured}/socialcard.d.ts.map +1 -1
- package/dist/types/components/{timeline → structured}/timeline.d.ts +1 -1
- package/dist/types/components/structured/timeline.d.ts.map +1 -0
- package/dist/types/index.d.ts +10 -10
- package/dist/types/index.server.d.ts +1 -0
- package/dist/types/stories/callout/callout.many.stories.d.ts.map +1 -0
- package/dist/types/stories/{callout.stories.d.ts → callout/callout.stories.d.ts} +1 -1
- package/dist/types/stories/callout/callout.stories.d.ts.map +1 -0
- package/dist/types/stories/{carousel-hero.stories.d.ts → carousel/carousel-hero.stories.d.ts} +1 -1
- package/dist/types/stories/carousel/carousel-hero.stories.d.ts.map +1 -0
- package/dist/types/stories/{carousel-reviews.stories.d.ts → carousel/carousel-reviews.stories.d.ts} +1 -1
- package/dist/types/stories/carousel/carousel-reviews.stories.d.ts.map +1 -0
- package/dist/types/stories/{carousel-workportfolio.stories.d.ts → carousel/carousel-workportfolio.stories.d.ts} +1 -1
- package/dist/types/stories/carousel/carousel-workportfolio.stories.d.ts.map +1 -0
- package/dist/types/stories/{carousel.stories.d.ts → carousel/carousel.stories.d.ts} +1 -1
- package/dist/types/stories/carousel/carousel.stories.d.ts.map +1 -0
- package/dist/types/stories/{tiles.stories.d.ts → carousel/tiles.stories.d.ts} +1 -1
- package/dist/types/stories/carousel/tiles.stories.d.ts.map +1 -0
- package/dist/types/stories/{cms.contentful.item.stories.d.ts → cms/contentful.item.stories.d.ts} +2 -2
- package/dist/types/stories/cms/contentful.item.stories.d.ts.map +1 -0
- package/dist/types/stories/{cms.contentful.items.stories.d.ts → cms/contentful.items.stories.d.ts} +2 -2
- package/dist/types/stories/cms/contentful.items.stories.d.ts.map +1 -0
- package/dist/types/stories/{cms.contentful.stories.d.ts → cms/contentful.stories.d.ts} +2 -2
- package/dist/types/stories/cms/contentful.stories.d.ts.map +1 -0
- package/dist/types/stories/{cms.google.reviews.stories.d.ts → cms/google.reviews.stories.d.ts} +2 -2
- package/dist/types/stories/cms/google.reviews.stories.d.ts.map +1 -0
- package/dist/types/stories/{cms.gravatar.stories.d.ts → cms/gravatar.stories.d.ts} +2 -2
- package/dist/types/stories/cms/gravatar.stories.d.ts.map +1 -0
- package/dist/types/stories/{cms.instagram.stories.d.ts → cms/instagram.stories.d.ts} +2 -2
- package/dist/types/stories/cms/instagram.stories.d.ts.map +1 -0
- package/dist/types/stories/cms/wordpress.stories.d.ts +9 -0
- package/dist/types/stories/cms/wordpress.stories.d.ts.map +1 -0
- package/dist/types/stories/{general.headers.stories.d.ts → general/headers.stories.d.ts} +5 -5
- package/dist/types/stories/general/headers.stories.d.ts.map +1 -0
- package/dist/types/stories/{layout.stories.d.ts → general/layout.stories.d.ts} +1 -1
- package/dist/types/stories/general/layout.stories.d.ts.map +1 -0
- package/dist/types/stories/{general.loading.stories.d.ts → general/loading.stories.d.ts} +2 -2
- package/dist/types/stories/general/loading.stories.d.ts.map +1 -0
- package/dist/types/stories/{general.microinteractions.stories.d.ts → general/microinteractions.stories.d.ts} +2 -2
- package/dist/types/stories/general/microinteractions.stories.d.ts.map +1 -0
- package/dist/types/stories/{general.modal.stories.d.ts → general/modal.stories.d.ts} +2 -2
- package/dist/types/stories/general/modal.stories.d.ts.map +1 -0
- package/dist/types/stories/{sidepanel.stories.d.ts → general/sidepanel.stories.d.ts} +1 -1
- package/dist/types/stories/general/sidepanel.stories.d.ts.map +1 -0
- package/dist/types/stories/{general.table.stories.d.ts → general/table.stories.d.ts} +3 -3
- package/dist/types/stories/general/table.stories.d.ts.map +1 -0
- package/dist/types/stories/{menu-accordion.stories.d.ts → menu/menu-accordion.stories.d.ts} +1 -1
- package/dist/types/stories/menu/menu-accordion.stories.d.ts.map +1 -0
- package/dist/types/stories/{menu-simple.stories.d.ts → menu/menu-simple.stories.d.ts} +1 -1
- package/dist/types/stories/menu/menu-simple.stories.d.ts.map +1 -0
- package/dist/types/stories/nerdjoke.stories.d.ts +1 -1
- package/dist/types/stories/nerdjoke.stories.d.ts.map +1 -1
- package/dist/types/stories/{pagebuilder.form-builder.stories.d.ts → pagebuilder/form-builder.stories.d.ts} +2 -2
- package/dist/types/stories/pagebuilder/form-builder.stories.d.ts.map +1 -0
- package/dist/types/stories/{pagebuilder.form-engine.stories.d.ts → pagebuilder/form-engine.stories.d.ts} +3 -3
- package/dist/types/stories/pagebuilder/form-engine.stories.d.ts.map +1 -0
- package/dist/types/stories/{pagebuilder.form-extractor.stories.d.ts → pagebuilder/form-extractor.stories.d.ts} +2 -2
- package/dist/types/stories/pagebuilder/form-extractor.stories.d.ts.map +1 -0
- package/dist/types/stories/{pagebuilder.stories.d.ts → pagebuilder/pagebuilder.stories.d.ts} +1 -1
- package/dist/types/stories/pagebuilder/pagebuilder.stories.d.ts.map +1 -0
- package/dist/types/stories/{pagebuilder.usageguide.stories.d.ts → pagebuilder/pagebuilder.usageguide.stories.d.ts} +1 -1
- package/dist/types/stories/pagebuilder/pagebuilder.usageguide.stories.d.ts.map +1 -0
- package/dist/types/stories/{pageengine.stories.d.ts → pagebuilder/pageengine.stories.d.ts} +1 -1
- package/dist/types/stories/pagebuilder/pageengine.stories.d.ts.map +1 -0
- package/dist/types/stories/{seo.404.stories.d.ts → seo/seo.404.stories.d.ts} +1 -1
- package/dist/types/stories/seo/seo.404.stories.d.ts.map +1 -0
- package/dist/types/stories/{seo.googleanalytics.stories.d.ts → seo/seo.googleanalytics.stories.d.ts} +1 -1
- package/dist/types/stories/seo/seo.googleanalytics.stories.d.ts.map +1 -0
- package/dist/types/stories/{seo.googlesearch.stories.d.ts → seo/seo.googlesearch.stories.d.ts} +1 -1
- package/dist/types/stories/seo/seo.googlesearch.stories.d.ts.map +1 -0
- package/dist/types/stories/{seo.metadata.stories.d.ts → seo/seo.metadata.stories.d.ts} +2 -2
- package/dist/types/stories/seo/seo.metadata.stories.d.ts.map +1 -0
- package/dist/types/stories/{seo.sitemap.stories.d.ts → seo/seo.sitemap.stories.d.ts} +1 -1
- package/dist/types/stories/seo/seo.sitemap.stories.d.ts.map +1 -0
- package/dist/types/stories/{shoppingcart.ebay.item.stories.d.ts → shoppingcart/shoppingcart.ebay.item.stories.d.ts} +1 -1
- package/dist/types/stories/shoppingcart/shoppingcart.ebay.item.stories.d.ts.map +1 -0
- package/dist/types/stories/{shoppingcart.ebay.items.stories.d.ts → shoppingcart/shoppingcart.ebay.items.stories.d.ts} +1 -1
- package/dist/types/stories/shoppingcart/shoppingcart.ebay.items.stories.d.ts.map +1 -0
- package/dist/types/stories/shoppingcart/shoppingcart.stories.d.ts.map +1 -0
- package/dist/types/stories/{buzzword-bingo.stories.d.ts → structured/buzzword-bingo.stories.d.ts} +2 -2
- package/dist/types/stories/structured/buzzword-bingo.stories.d.ts.map +1 -0
- package/dist/types/stories/{markdown.stories.d.ts → structured/markdown.stories.d.ts} +1 -1
- package/dist/types/stories/structured/markdown.stories.d.ts.map +1 -0
- package/dist/types/stories/{recipe.stories.d.ts → structured/recipe.stories.d.ts} +2 -2
- package/dist/types/stories/structured/recipe.stories.d.ts.map +1 -0
- package/dist/types/stories/{resume.stories.d.ts → structured/resume.stories.d.ts} +1 -1
- package/dist/types/stories/{resume.stories.d.ts.map → structured/resume.stories.d.ts.map} +1 -1
- package/dist/types/stories/{socialcard.stories.d.ts → structured/socialcard.stories.d.ts} +1 -1
- package/dist/types/stories/structured/socialcard.stories.d.ts.map +1 -0
- package/dist/types/stories/{timeline.stories.d.ts → structured/timeline.stories.d.ts} +1 -1
- package/dist/types/stories/structured/timeline.stories.d.ts.map +1 -0
- package/package.json +10 -6
- package/dist/components/general/headers.css +0 -16
- package/dist/components/general/headers.js +0 -27
- package/dist/components/general/layout.js +0 -147
- package/dist/components/general/layout.scss +0 -47
- package/dist/types/components/buzzwordbingo/buzzwordbingo.d.ts.map +0 -1
- package/dist/types/components/general/headers.d.ts +0 -19
- package/dist/types/components/general/headers.d.ts.map +0 -1
- package/dist/types/components/general/layout.d.ts +0 -73
- package/dist/types/components/general/layout.d.ts.map +0 -1
- package/dist/types/components/linkedin/pixelated.linkedin.d.ts.map +0 -1
- package/dist/types/components/linkedin/pixelated.linkedin1.d.ts.map +0 -1
- package/dist/types/components/linkedin/pixelated.linkedin2.d.ts.map +0 -1
- package/dist/types/components/markdown/markdown.d.ts.map +0 -1
- package/dist/types/components/recipe/recipe.d.ts.map +0 -1
- package/dist/types/components/resume/resume.d.ts.map +0 -1
- package/dist/types/components/sidepanel/sidepanel.d.ts.map +0 -1
- package/dist/types/components/tiles/tiles.d.ts.map +0 -1
- package/dist/types/components/timeline/timeline.d.ts.map +0 -1
- package/dist/types/components/yelp/yelp.d.ts.map +0 -1
- package/dist/types/stories/buzzword-bingo.stories.d.ts.map +0 -1
- package/dist/types/stories/callout.many.stories.d.ts.map +0 -1
- package/dist/types/stories/callout.stories.d.ts.map +0 -1
- package/dist/types/stories/carousel-hero.stories.d.ts.map +0 -1
- package/dist/types/stories/carousel-reviews.stories.d.ts.map +0 -1
- package/dist/types/stories/carousel-workportfolio.stories.d.ts.map +0 -1
- package/dist/types/stories/carousel.stories.d.ts.map +0 -1
- package/dist/types/stories/cms.contentful.item.stories.d.ts.map +0 -1
- package/dist/types/stories/cms.contentful.items.stories.d.ts.map +0 -1
- package/dist/types/stories/cms.contentful.stories.d.ts.map +0 -1
- package/dist/types/stories/cms.google.reviews.stories.d.ts.map +0 -1
- package/dist/types/stories/cms.gravatar.stories.d.ts.map +0 -1
- package/dist/types/stories/cms.instagram.stories.d.ts.map +0 -1
- package/dist/types/stories/cms.wordpress.stories.d.ts +0 -26
- package/dist/types/stories/cms.wordpress.stories.d.ts.map +0 -1
- package/dist/types/stories/general.headers.stories.d.ts.map +0 -1
- package/dist/types/stories/general.loading.stories.d.ts.map +0 -1
- package/dist/types/stories/general.microinteractions.stories.d.ts.map +0 -1
- package/dist/types/stories/general.modal.stories.d.ts.map +0 -1
- package/dist/types/stories/general.table.stories.d.ts.map +0 -1
- package/dist/types/stories/layout.stories.d.ts.map +0 -1
- package/dist/types/stories/markdown.stories.d.ts.map +0 -1
- package/dist/types/stories/menu-accordion.stories.d.ts.map +0 -1
- package/dist/types/stories/menu-simple.stories.d.ts.map +0 -1
- package/dist/types/stories/pagebuilder.form-builder.stories.d.ts.map +0 -1
- package/dist/types/stories/pagebuilder.form-engine.stories.d.ts.map +0 -1
- package/dist/types/stories/pagebuilder.form-extractor.stories.d.ts.map +0 -1
- package/dist/types/stories/pagebuilder.stories.d.ts.map +0 -1
- package/dist/types/stories/pagebuilder.usageguide.stories.d.ts.map +0 -1
- package/dist/types/stories/pageengine.stories.d.ts.map +0 -1
- package/dist/types/stories/recipe.stories.d.ts.map +0 -1
- package/dist/types/stories/seo.404.stories.d.ts.map +0 -1
- package/dist/types/stories/seo.googleanalytics.stories.d.ts.map +0 -1
- package/dist/types/stories/seo.googlesearch.stories.d.ts.map +0 -1
- package/dist/types/stories/seo.metadata.stories.d.ts.map +0 -1
- package/dist/types/stories/seo.sitemap.stories.d.ts.map +0 -1
- package/dist/types/stories/shoppingcart.ebay.item.stories.d.ts.map +0 -1
- package/dist/types/stories/shoppingcart.ebay.items.stories.d.ts.map +0 -1
- package/dist/types/stories/shoppingcart.stories.d.ts.map +0 -1
- package/dist/types/stories/sidepanel.stories.d.ts.map +0 -1
- package/dist/types/stories/socialcard.stories.d.ts.map +0 -1
- package/dist/types/stories/tiles.stories.d.ts.map +0 -1
- package/dist/types/stories/timeline.stories.d.ts.map +0 -1
- package/dist/components/{linkedin → cms}/pixelated.linkedin.js +0 -0
- package/dist/components/{linkedin → cms}/pixelated.linkedin1.js +0 -0
- package/dist/components/{linkedin → cms}/pixelated.linkedin2.js +0 -0
- package/dist/components/{yelp → cms}/yelp.js +0 -0
- package/dist/components/{sidepanel → general}/sidepanel.css +0 -0
- package/dist/components/{sidepanel → general}/sidepanel.js +0 -0
- package/dist/components/{buzzwordbingo → structured}/buzzwordbingo.css +0 -0
- package/dist/components/{buzzwordbingo → structured}/buzzwordbingo.js +1 -1
- package/dist/components/{markdown → structured}/markdown.css +0 -0
- package/dist/components/{markdown → structured}/markdown.js +0 -0
- package/dist/components/{recipe → structured}/recipe.css +0 -0
- package/dist/components/{recipe → structured}/recipe.js +0 -0
- package/dist/components/{socialcard → structured}/socialcard.css +0 -0
- package/dist/components/{socialcard → structured}/socialcard.js +1 -1
- /package/dist/types/components/{linkedin → cms}/pixelated.linkedin.d.ts +0 -0
- /package/dist/types/components/{linkedin → cms}/pixelated.linkedin1.d.ts +0 -0
- /package/dist/types/components/{linkedin → cms}/pixelated.linkedin2.d.ts +0 -0
- /package/dist/types/components/{yelp → cms}/yelp.d.ts +0 -0
- /package/dist/types/components/{sidepanel → general}/sidepanel.d.ts +0 -0
- /package/dist/types/components/{markdown → structured}/markdown.d.ts +0 -0
- /package/dist/types/components/{recipe → structured}/recipe.d.ts +0 -0
- /package/dist/types/stories/{callout.many.stories.d.ts → callout/callout.many.stories.d.ts} +0 -0
- /package/dist/types/stories/{shoppingcart.stories.d.ts → shoppingcart/shoppingcart.stories.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<br />
|
|
13
13
|
<div align="center">
|
|
14
14
|
<a href="https://github.com/brianwhaley/pixelated-components">
|
|
15
|
-
<img src="images/
|
|
15
|
+
<img src="https://www.pixelated.tech/images/pix/pix-bg-512.jpg" alt="Logo" width="80" height="80">
|
|
16
16
|
</a>
|
|
17
17
|
|
|
18
18
|
<h3 align="center">Pixelated Components</h3>
|
|
@@ -45,7 +45,14 @@ This is a library of components I have found useful to build web sites quickly.
|
|
|
45
45
|
* [![Next][Next.js]][Next-url]
|
|
46
46
|
* [![React][React.js]][React-url]
|
|
47
47
|
* [![Storybook][Storybook.js]][Storybook-url]
|
|
48
|
+
* [![Calendly][Calendly.com]][Calendly-url]
|
|
48
49
|
* [![Contentful][Contentful.com]][Contentful-url]
|
|
50
|
+
* [![Cloudinary][Cloudinary.com]][Cloudinary-url]
|
|
51
|
+
* [![Flickr][Flickr.com]][Flickr-url]
|
|
52
|
+
* [![Gravatar][Gravatar.com]][Gravatar-url]
|
|
53
|
+
* [![Hubspot][Hubspot.com]][Hubspot-url]
|
|
54
|
+
* [![Instagram][Instagram.com]][Instagram-url]
|
|
55
|
+
* [![PayPal][PayPal.com]][PayPal-url]
|
|
49
56
|
* [![Wordpress][Wordpress.com]][Wordpress-url]
|
|
50
57
|
* [![Github][Github.com]][Github-url]
|
|
51
58
|
* [![npm][npm.org]][npm-url]
|
|
@@ -53,7 +60,6 @@ This is a library of components I have found useful to build web sites quickly.
|
|
|
53
60
|
|
|
54
61
|
|
|
55
62
|
|
|
56
|
-
|
|
57
63
|
<!-- GETTING STARTED -->
|
|
58
64
|
## Getting Started
|
|
59
65
|
|
|
@@ -75,47 +81,44 @@ To get a local copy up and running follow these simple example steps.
|
|
|
75
81
|
## Usage
|
|
76
82
|
|
|
77
83
|
Components to help build websites quicker:
|
|
84
|
+
1. Centralized 404 Error Page
|
|
78
85
|
1. Buzzword Bingo Cards
|
|
79
|
-
1. Page Callouts
|
|
86
|
+
1. Page Callouts
|
|
80
87
|
1. Image Carousel - Page, Header, and Simple
|
|
88
|
+
1. Calendly Scheduling Integration
|
|
89
|
+
1. Cloudinary Remote Fetch Optimization Integration
|
|
90
|
+
1. SmartImage Component with Cloudianry and Next Imgegration
|
|
91
|
+
1. Centralized Configuration Management
|
|
81
92
|
1. Contentful CMS Integration
|
|
93
|
+
1. CSS Preload for Page Performance
|
|
82
94
|
1. eBay Store Listings
|
|
95
|
+
1. Flickr Image API Integration
|
|
83
96
|
1. Form Components and Form Builder
|
|
84
|
-
1. Google
|
|
85
|
-
1.
|
|
97
|
+
1. Google Analytics, Map, and Search Integration
|
|
98
|
+
1. Gravatar Card Integration
|
|
99
|
+
1. Page and Page Section Header Components
|
|
100
|
+
1. Hubspot Calendar and Form Integration
|
|
101
|
+
1. Instagram Image Fetch Integration
|
|
102
|
+
1. Loading and ToggleLoading Component
|
|
103
|
+
1. Markdown to HTML Engine
|
|
86
104
|
1. Menu Components - Simple and Accordion
|
|
87
105
|
1. Metadata Injection from Route JSON file
|
|
106
|
+
1. Centralized MicroInteractions
|
|
88
107
|
1. Modal Dialogs
|
|
89
108
|
1. NerdJokes Integration
|
|
109
|
+
1. PageBuilder and PageNegine with JSON, integration with Contentful
|
|
110
|
+
1. Page Section and Page Section Grid / Flex Item Layout Components
|
|
111
|
+
1. panel Component, also usable with Accordion Menu
|
|
90
112
|
1. Recipe XML MicroFormat Engine
|
|
91
113
|
1. Resume MicroFormat Engine
|
|
114
|
+
1. Shopping Cart functionality with eBay and PayPal Integration
|
|
92
115
|
1. Sitemap.XML dynamic generation from Route JSON file
|
|
93
116
|
1. Social Card Engine
|
|
94
117
|
1. Table Components
|
|
118
|
+
1. Image Tiles Component
|
|
119
|
+
1. Wordpress Blog Post Integration
|
|
95
120
|
1. Other Utilities
|
|
96
121
|
|
|
97
|
-
### Google Reviews (server-side)
|
|
98
|
-
- Requires: `GOOGLE_MAPS_API_KEY` (or use the built-in hard-coded key during testing).
|
|
99
|
-
- Import: `import { getGoogleReviewsByCompanyName } from 'pixelated-components';`
|
|
100
|
-
- Example:
|
|
101
|
-
|
|
102
|
-
```
|
|
103
|
-
const { place, reviews } = await getGoogleReviewsByCompanyName({
|
|
104
|
-
companyName: 'PixelVivid',
|
|
105
|
-
language: 'en',
|
|
106
|
-
near: { lat: 32.2163, lng: -80.7526 },
|
|
107
|
-
radiusMeters: 50000,
|
|
108
|
-
region: 'us',
|
|
109
|
-
type: 'point_of_interest',
|
|
110
|
-
maxReviews: 5,
|
|
111
|
-
});
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
- Tips:
|
|
115
|
-
- Prefer `near` + `radiusMeters` for better disambiguation.
|
|
116
|
-
- If results return 0, try adjusting `region` or `type`, or use the exact business name.
|
|
117
|
-
|
|
118
|
-
|
|
119
122
|
|
|
120
123
|
|
|
121
124
|
<!-- ROADMAP -->
|
|
@@ -124,10 +127,7 @@ const { place, reviews } = await getGoogleReviewsByCompanyName({
|
|
|
124
127
|
- [ ] LinkedIn Recommendations Integration
|
|
125
128
|
- [ ] eBay Feedback Integration
|
|
126
129
|
- [ ] Yelp Recommendations integration
|
|
127
|
-
- [ ] Calendly Integration
|
|
128
130
|
- [ ] Instagram Image Integration for Carousels
|
|
129
|
-
- [ ] Expanding menu based on
|
|
130
|
-
- [ ] eCommerce Features + Paypal ( or Stripe, Square)
|
|
131
131
|
- [ ] Shopify Integration
|
|
132
132
|
- [ ] Quickbooks Integration
|
|
133
133
|
- [ ] Buffer Integration (or Sendible, Sprout Social, Hootsuite)
|
|
@@ -209,23 +209,44 @@ Project Link: [https://github.com/brianwhaley/pixelated-components](https://gith
|
|
|
209
209
|
|
|
210
210
|
[product-screenshot]: images/screenshot.png
|
|
211
211
|
|
|
212
|
+
[Calendly.com]: https://img.shields.io/badge/Calendly-006bff
|
|
213
|
+
[Calendly-url]: https://cloudinary.com
|
|
214
|
+
|
|
215
|
+
[Cloudinary.com]: https://img.shields.io/badge/Cloudinary-3448C5?style=for-the-badge&logo=cloudinary&logoColor=white
|
|
216
|
+
[Cloudinary-url]: https://cloudinary.com
|
|
217
|
+
|
|
218
|
+
[Contentful.com]: https://img.shields.io/badge/Contentful-2478CC?logo=contentful&logoColor=fff
|
|
219
|
+
[Contentful-url]: https://contentful.com
|
|
220
|
+
|
|
221
|
+
[Flickr.com]: https://img.shields.io/static/v1?style=for-the-badge&message=Flickr&color=0063DC&logo=Flickr&logoColor=FFFFFF
|
|
222
|
+
[Flickr-url]: https://flickr.com
|
|
223
|
+
|
|
224
|
+
[GitHub.com]: https://img.shields.io/badge/GitHub-%23121011.svg?logo=github&logoColor=white
|
|
225
|
+
[Github-url]: https://www.github.com
|
|
226
|
+
|
|
227
|
+
[Gravatar.com]: https://img.shields.io/badge/Gravatar-1d4fc4
|
|
228
|
+
[Gravatar-url]: https://www.github.com
|
|
229
|
+
|
|
230
|
+
[Hubspot.com]: https://img.shields.io/badge/HubSpot-YES-brightgreen?style=plastic&logo=hubspot
|
|
231
|
+
[Hubspot-url]: https://www.github.com
|
|
232
|
+
|
|
233
|
+
[Instagram.com]: https://img.shields.io/badge/Instagram-E4405F?style=for-the-badge&logo=instagram&logoColor=white
|
|
234
|
+
[Instagram-url]: https://www.github.com
|
|
235
|
+
|
|
212
236
|
[Next.js]: https://img.shields.io/badge/next.js-000000?style=for-the-badge&logo=nextdotjs&logoColor=white
|
|
213
237
|
[Next-url]: https://nextjs.org/
|
|
214
238
|
|
|
239
|
+
[npm.org]: https://img.shields.io/badge/npm-CB3837?logo=npm&logoColor=fff
|
|
240
|
+
[npm-url]: https://www.npmjs.org
|
|
241
|
+
|
|
242
|
+
[PayPal.js]: https://img.shields.io/badge/PayPal-Support_Us-003087?logo=paypal&logoColor=fff
|
|
243
|
+
[PayPal-url]: https://reactjs.org/
|
|
244
|
+
|
|
215
245
|
[React.js]: https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB
|
|
216
246
|
[React-url]: https://reactjs.org/
|
|
217
247
|
|
|
218
248
|
[Storybook.js]: https://img.shields.io/badge/Storybook-FF4785?logo=storybook&logoColor=white
|
|
219
249
|
[Storybook-url]: https://storybook.js.org
|
|
220
250
|
|
|
221
|
-
[Contentful.com]: https://img.shields.io/badge/Contentful-2478CC?logo=contentful&logoColor=fff
|
|
222
|
-
[Contentful-url]: https://contentful.com
|
|
223
|
-
|
|
224
251
|
[WordPress.com]: https://img.shields.io/badge/WordPress-%2321759B.svg?logo=wordpress&logoColor=white
|
|
225
252
|
[Wordpress-url]: http://www.wordpress.com
|
|
226
|
-
|
|
227
|
-
[npm.org]: https://img.shields.io/badge/npm-CB3837?logo=npm&logoColor=fff
|
|
228
|
-
[npm-url]: https://www.npmjs.org
|
|
229
|
-
|
|
230
|
-
[GitHub.com]: https://img.shields.io/badge/GitHub-%23121011.svg?logo=github&logoColor=white
|
|
231
|
-
[Github-url]: https://www.github.com
|
|
@@ -51,25 +51,26 @@ export function Callout({ variant = 'default', boxShape = "squircle", layout = "
|
|
|
51
51
|
cloudinaryDomain,
|
|
52
52
|
cloudinaryTransforms */ }) {
|
|
53
53
|
const target = url && url.substring(0, 4).toLowerCase() === 'http' ? '_blank' : '_self';
|
|
54
|
-
const
|
|
54
|
+
const friendlyTitle = title ? title.toLowerCase().replace(/\s+/g, '-') : undefined;
|
|
55
|
+
const body = _jsxs("div", { className: "callout-body", children: [(title) ? _jsx(CalloutHeader, { title: title, url: url, target: target }) : null, (subtitle) ? _jsx("div", { className: "callout-subtitle", children: _jsx("h3", { children: subtitle }) }) : null, content ? _jsx("div", { className: "callout-content", children: _jsx(_Fragment, { children: content }) }) : null, url && buttonText
|
|
55
56
|
? _jsx(CalloutButton, { title: buttonText, url: url, target: target })
|
|
56
57
|
: url && title
|
|
57
58
|
? _jsx(CalloutButton, { title: title || "", url: url, target: target })
|
|
58
59
|
: null] });
|
|
59
60
|
const config = usePixelatedConfig();
|
|
60
61
|
const image = (img) ?
|
|
61
|
-
_jsx("div", { className: "
|
|
62
|
+
_jsx("div", { className: "callout-image" + (imgShape ? " " + imgShape : ""), children: (url && !imgClick)
|
|
62
63
|
? _jsx("a", { href: url, target: target, rel: target == "_blank" ? "noopener noreferrer" : "", children: _jsx(SmartImage, { src: img, title: title ?? imgAlt ?? undefined, alt: imgAlt ?? title ?? "", aboveFold: aboveFold, cloudinaryEnv: config?.cloudinary?.product_env ?? undefined, cloudinaryDomain: config?.cloudinary?.baseUrl ?? undefined, cloudinaryTransforms: config?.cloudinary?.transforms ?? undefined, suppressHydrationWarning: true }) })
|
|
63
64
|
: (url && imgClick)
|
|
64
65
|
? _jsx(SmartImage, { src: img, title: title ?? imgAlt ?? undefined, alt: imgAlt ?? title ?? "", onClick: (event) => imgClick(event, url), aboveFold: aboveFold, cloudinaryEnv: config?.cloudinary?.product_env ?? undefined, cloudinaryDomain: config?.cloudinary?.baseUrl ?? undefined, cloudinaryTransforms: config?.cloudinary?.transforms ?? undefined, suppressHydrationWarning: true })
|
|
65
66
|
/* <img src={img} title={title ?? imgAlt ?? undefined} alt={imgAlt ?? title ?? undefined} onClick={(event) => imgClick(event, url)} /> */
|
|
66
67
|
: _jsx(SmartImage, { src: img, title: title ?? imgAlt ?? undefined, alt: imgAlt ?? title ?? "", aboveFold: aboveFold, cloudinaryEnv: config?.cloudinary?.product_env ?? undefined, cloudinaryDomain: config?.cloudinary?.baseUrl ?? undefined, cloudinaryTransforms: config?.cloudinary?.transforms ?? undefined, suppressHydrationWarning: true }) }) : null;
|
|
67
|
-
return (_jsx("div", { className: "callout" +
|
|
68
|
+
return (_jsx("div", { id: friendlyTitle ? "callout-" + friendlyTitle : undefined, className: "callout" +
|
|
68
69
|
(variant ? " " + variant : "") +
|
|
69
70
|
((variant === 'boxed' || variant === 'boxed grid') && boxShape ? " " + boxShape : "") +
|
|
70
71
|
(layout && variant !== 'split' ? " " + layout : "") +
|
|
71
72
|
(direction && layout !== 'vertical' ? " " + direction : "") +
|
|
72
|
-
(variant && (variant === 'boxed grid' || variant === 'grid') && gridColumns ? `
|
|
73
|
+
(variant && (variant === 'boxed grid' || variant === 'grid') && gridColumns ? ` callout-grid-${gridColumns.left}-${gridColumns.right}` : ''), children: (direction === "right") ? _jsxs(_Fragment, { children: [body, image] }) : _jsxs(_Fragment, { children: [image, body] }) }));
|
|
73
74
|
}
|
|
74
75
|
/* ========== CALLOUT HEADER ========== */
|
|
75
76
|
CalloutHeader.propTypes = {
|
|
@@ -78,9 +79,9 @@ CalloutHeader.propTypes = {
|
|
|
78
79
|
target: PropTypes.string
|
|
79
80
|
};
|
|
80
81
|
export function CalloutHeader({ title, url, target }) {
|
|
81
|
-
return (_jsx("div", { className: "
|
|
82
|
-
? _jsx("a", { href: url, target: target ? target : "", rel: target == "_blank" ? "noopener noreferrer" : "", children: _jsx("h2", { className: "
|
|
83
|
-
: _jsx("h2", { className: "
|
|
82
|
+
return (_jsx("div", { className: "callout-header", children: (url)
|
|
83
|
+
? _jsx("a", { href: url, target: target ? target : "", rel: target == "_blank" ? "noopener noreferrer" : "", children: _jsx("h2", { className: "callout-title", children: title }) })
|
|
84
|
+
: _jsx("h2", { className: "callout-title", children: title }) }));
|
|
84
85
|
}
|
|
85
86
|
/* ========== CALLOUT BUTTON ========== */
|
|
86
87
|
CalloutButton.propTypes = {
|
|
@@ -89,7 +90,7 @@ CalloutButton.propTypes = {
|
|
|
89
90
|
target: PropTypes.string
|
|
90
91
|
};
|
|
91
92
|
export function CalloutButton({ title, url, target }) {
|
|
92
|
-
return (_jsx("div", { className: "
|
|
93
|
-
? _jsx("button", { type: "button", className: "
|
|
93
|
+
return (_jsx("div", { className: "callout-button", children: (url)
|
|
94
|
+
? _jsx("button", { type: "button", className: "callout-button", children: _jsx("a", { href: url || "", target: target || "", rel: target == "_blank" ? "noopener noreferrer" : "", children: title }) })
|
|
94
95
|
: null }));
|
|
95
96
|
}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
padding: 0;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.callout .
|
|
25
|
+
.callout .callout-image {
|
|
26
26
|
overflow: hidden;
|
|
27
27
|
width: 100%;
|
|
28
28
|
background-color: white;
|
|
@@ -32,41 +32,41 @@
|
|
|
32
32
|
/* aspect-ratio: 1/1; */
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.callout.vertical .
|
|
35
|
+
.callout.vertical .callout-image {
|
|
36
36
|
width: 70%;
|
|
37
37
|
margin: 0 auto;
|
|
38
38
|
aspect-ratio: 1;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.callout .
|
|
42
|
-
.callout .
|
|
41
|
+
.callout .callout-image a,
|
|
42
|
+
.callout .callout-image img {
|
|
43
43
|
width: 100%;
|
|
44
44
|
height: 100%;
|
|
45
45
|
object-fit: cover;
|
|
46
46
|
object-position: top;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.callout .
|
|
49
|
+
.callout .callout-image.square {
|
|
50
50
|
border-radius: 0%;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.callout .
|
|
53
|
+
.callout .callout-image.bevel {
|
|
54
54
|
clip-path: rect(1% 98% 98% 1% round 5%);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.callout .
|
|
57
|
+
.callout .callout-image.squircle {
|
|
58
58
|
clip-path: rect(1% 98% 98% 1% round 25%);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
.callout .
|
|
61
|
+
.callout .callout-image.round {
|
|
62
62
|
clip-path: rect(1% 98% 98% 1% round 100%);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
.callout .
|
|
65
|
+
.callout .callout-body {
|
|
66
66
|
flex-flow: column;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
.callout .
|
|
69
|
+
.callout .callout-body > * {
|
|
70
70
|
padding: 5px 20px;
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -75,58 +75,58 @@
|
|
|
75
75
|
float: unset !important; /* OVERRIDE pixelated.global.css */
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
.callout.left .
|
|
78
|
+
.callout.left .callout-body > * {
|
|
79
79
|
text-align: left;
|
|
80
80
|
margin-left: 0;
|
|
81
81
|
margin-right: auto;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
.callout.right .
|
|
84
|
+
.callout.right .callout-body > * {
|
|
85
85
|
text-align: right;
|
|
86
86
|
margin-right: 0;
|
|
87
87
|
margin-left: auto;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
.callout .
|
|
90
|
+
.callout .callout-header {
|
|
91
91
|
text-align: center;
|
|
92
92
|
margin: 0 auto;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
.callout .
|
|
95
|
+
.callout .callout-header a {
|
|
96
96
|
--do-nothing: true;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
.callout .
|
|
99
|
+
.callout .callout-header h2 {
|
|
100
100
|
--do-nothing: true;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
.callout .
|
|
103
|
+
.callout .callout-title {
|
|
104
104
|
text-align: center;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
.callout .
|
|
107
|
+
.callout .callout-subtitle {
|
|
108
108
|
text-align: left;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
.callout.vertical .
|
|
111
|
+
.callout.vertical .callout-subtitle {
|
|
112
112
|
text-align: center;
|
|
113
113
|
margin: 0 auto;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
.callout .
|
|
116
|
+
.callout .callout-subtitle h3 {
|
|
117
117
|
padding: 0;
|
|
118
118
|
--do-nothing: true;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
.callout .
|
|
121
|
+
.callout .callout-content {
|
|
122
122
|
--do-nothing: true;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
.callout .
|
|
125
|
+
.callout .callout-button {
|
|
126
126
|
--do-nothing: true;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
.callout .
|
|
129
|
+
.callout .callout-button button {
|
|
130
130
|
display: inline-block;
|
|
131
131
|
max-width: 250px;
|
|
132
132
|
margin: 10px auto !important;
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
/* cursor: pointer */
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
.callout .
|
|
145
|
+
.callout .callout-button a {
|
|
146
146
|
display: inline-block;
|
|
147
147
|
}
|
|
148
148
|
|
|
@@ -174,19 +174,19 @@
|
|
|
174
174
|
border-radius: 100%;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
.callout.boxed .
|
|
177
|
+
.callout.boxed .callout-image {
|
|
178
178
|
clip-path: none;
|
|
179
179
|
aspect-ratio: 1/1;
|
|
180
180
|
background-color: white;
|
|
181
181
|
width: 100% !important;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
.callout.boxed .
|
|
184
|
+
.callout.boxed .callout-body {
|
|
185
185
|
--do-nothing: true;
|
|
186
186
|
padding: 5px 20px;
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
.callout.boxed.vertical .
|
|
189
|
+
.callout.boxed.vertical .callout-body {
|
|
190
190
|
--do-nothing: true;
|
|
191
191
|
padding: 20px 0px;
|
|
192
192
|
}
|
|
@@ -199,11 +199,11 @@
|
|
|
199
199
|
padding: 0px;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
.callout.full.vertical .
|
|
202
|
+
.callout.full.vertical .callout-image {
|
|
203
203
|
width: 100%;
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
.callout.full .
|
|
206
|
+
.callout.full .callout-body > * {
|
|
207
207
|
padding: 5px 5px;
|
|
208
208
|
}
|
|
209
209
|
|
|
@@ -218,9 +218,9 @@
|
|
|
218
218
|
|
|
219
219
|
@for $i from 1 through 11 {
|
|
220
220
|
@for $k from 1 through 11 {
|
|
221
|
-
.
|
|
221
|
+
.callout-grid-#{$i}-#{$k} { grid-template-columns: #{$i}fr #{$k}fr; }
|
|
222
222
|
@media screen and (max-width: 480px) {
|
|
223
|
-
.
|
|
223
|
+
.callout-grid-#{$i}-#{$k} { grid-template-columns: 1fr; }
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
}
|
|
@@ -242,15 +242,15 @@
|
|
|
242
242
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
.callout.grid .
|
|
246
|
-
/* duplicate of .callout .
|
|
245
|
+
.callout.grid .callout-image img {
|
|
246
|
+
/* duplicate of .callout .callout-image img */
|
|
247
247
|
width: 100%;
|
|
248
248
|
height: 100%;
|
|
249
249
|
object-fit: cover;
|
|
250
250
|
object-position: top;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
.callout.grid .
|
|
253
|
+
.callout.grid .callout-body {
|
|
254
254
|
grid-auto-rows: min-content;
|
|
255
255
|
}
|
|
256
256
|
|
|
@@ -264,12 +264,12 @@
|
|
|
264
264
|
overflow: hidden;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
.callout.overlay .
|
|
267
|
+
.callout.overlay .callout-image {
|
|
268
268
|
width: 100%;
|
|
269
269
|
height: 100%;
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
.callout.overlay .
|
|
272
|
+
.callout.overlay .callout-body {
|
|
273
273
|
position: absolute;
|
|
274
274
|
top: 50%;
|
|
275
275
|
left: 50%;
|
|
@@ -287,12 +287,12 @@
|
|
|
287
287
|
padding: 0px;
|
|
288
288
|
}
|
|
289
289
|
|
|
290
|
-
.callout.split .
|
|
291
|
-
.callout.split .
|
|
290
|
+
.callout.split .callout-image,
|
|
291
|
+
.callout.split .callout-body {
|
|
292
292
|
flex: 1;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
.callout.split .
|
|
295
|
+
.callout.split .callout-body > * {
|
|
296
296
|
padding: 5px 20px;
|
|
297
297
|
}
|
|
298
298
|
|
|
@@ -312,20 +312,20 @@
|
|
|
312
312
|
.callout.grid {
|
|
313
313
|
grid-template-columns: 1fr;
|
|
314
314
|
}
|
|
315
|
-
.callout .
|
|
315
|
+
.callout .callout-image {
|
|
316
316
|
width: 70%;
|
|
317
317
|
margin: 0 auto;
|
|
318
318
|
}
|
|
319
|
-
.callout.full .
|
|
320
|
-
.callout.split .
|
|
319
|
+
.callout.full .callout-image,
|
|
320
|
+
.callout.split .callout-image {
|
|
321
321
|
width: 100%;
|
|
322
322
|
margin: 0 auto;
|
|
323
323
|
}
|
|
324
|
-
.callout .
|
|
324
|
+
.callout .callout-body > * {
|
|
325
325
|
margin: 0 auto !important;
|
|
326
326
|
text-align: center !important;
|
|
327
327
|
}
|
|
328
|
-
.callout .
|
|
328
|
+
.callout .callout-content {
|
|
329
329
|
text-align: left !important;
|
|
330
330
|
}
|
|
331
331
|
}
|
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
=============== CAROUSEL ===============
|
|
3
3
|
======================================== */
|
|
4
4
|
|
|
5
|
-
.
|
|
5
|
+
.carousel-container {
|
|
6
6
|
height: 600px;
|
|
7
7
|
background: #FFF;
|
|
8
8
|
border: 1px solid #AAA;
|
|
9
9
|
}
|
|
10
|
-
.
|
|
10
|
+
.carousel-cards-container {
|
|
11
11
|
height: 550px;
|
|
12
12
|
position: relative;
|
|
13
13
|
overflow: hidden;
|
|
14
14
|
}
|
|
15
15
|
@media screen and (max-width: 480px) {
|
|
16
|
-
.
|
|
16
|
+
.carousel-container {
|
|
17
17
|
height: 350px;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
.carousel-cards-container {
|
|
20
20
|
height: 300px;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
#
|
|
24
|
+
#carousel-cards-container {
|
|
25
25
|
--do-nothing: true;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
user-select: none;
|
|
37
37
|
} */
|
|
38
38
|
|
|
39
|
-
.
|
|
39
|
+
.carousel-card-wrapper {
|
|
40
40
|
display: inline-block;
|
|
41
41
|
position: absolute;
|
|
42
42
|
top: 0;
|
|
@@ -49,19 +49,19 @@
|
|
|
49
49
|
overflow: hidden;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.
|
|
52
|
+
.carousel-card {
|
|
53
53
|
width: 100%;
|
|
54
54
|
margin: 0 auto;
|
|
55
55
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
/* .
|
|
58
|
+
/* .carousel-card {
|
|
59
59
|
width: 100%;
|
|
60
60
|
height: 100%;
|
|
61
61
|
margin: 0 auto;
|
|
62
62
|
} */
|
|
63
63
|
|
|
64
|
-
.
|
|
64
|
+
.carousel-card-header {
|
|
65
65
|
font-size: 1.5em;
|
|
66
66
|
font-weight: bold;
|
|
67
67
|
text-align: center;
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
width: 100%;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.
|
|
72
|
+
.carousel-card-subheader {
|
|
73
73
|
font-size: 1.1em;
|
|
74
74
|
font-weight: bold;
|
|
75
75
|
text-align: center;
|
|
@@ -77,12 +77,12 @@
|
|
|
77
77
|
width: 100%;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.
|
|
80
|
+
.carousel-card-body {
|
|
81
81
|
margin: 5px auto;
|
|
82
82
|
width: 90%;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
.
|
|
85
|
+
.carousel-card-image {
|
|
86
86
|
margin: 0 auto;
|
|
87
87
|
max-width: 100%;
|
|
88
88
|
max-height: 100%;
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
overflow: clip;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
.
|
|
96
|
+
.carousel-card-image {
|
|
97
97
|
img {
|
|
98
98
|
/* max-height: auto;
|
|
99
99
|
max-width: 100%;
|
|
@@ -131,22 +131,24 @@
|
|
|
131
131
|
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
.
|
|
134
|
+
.carousel-buttons {
|
|
135
135
|
width: 100%;
|
|
136
136
|
height: 50px;
|
|
137
137
|
text-align: center;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
.
|
|
140
|
+
.carousel-button {
|
|
141
141
|
font-size: 24px;
|
|
142
142
|
z-index: 900;
|
|
143
143
|
padding: 5px;
|
|
144
144
|
display: inline-block;
|
|
145
|
+
border: none;
|
|
146
|
+
background-color: transparent;
|
|
145
147
|
}
|
|
146
148
|
|
|
147
|
-
.
|
|
148
|
-
.
|
|
149
|
-
.
|
|
149
|
+
.carousel-arrow,
|
|
150
|
+
.carousel-arrow-left,
|
|
151
|
+
.carousel-arrow-right {
|
|
150
152
|
position: absolute;
|
|
151
153
|
font-size: 24px;
|
|
152
154
|
top: 50%;
|
|
@@ -155,15 +157,15 @@
|
|
|
155
157
|
padding: 5px;
|
|
156
158
|
}
|
|
157
159
|
|
|
158
|
-
.
|
|
160
|
+
.carousel-arrow-left {
|
|
159
161
|
left: 0;
|
|
160
162
|
}
|
|
161
163
|
|
|
162
|
-
.
|
|
164
|
+
.carousel-arrow-right {
|
|
163
165
|
right: 0;
|
|
164
166
|
}
|
|
165
167
|
|
|
166
|
-
.
|
|
168
|
+
.carousel-details {
|
|
167
169
|
position: absolute;
|
|
168
170
|
bottom: 20px;
|
|
169
171
|
z-index: 1000;
|
|
@@ -172,7 +174,7 @@
|
|
|
172
174
|
text-align: center;
|
|
173
175
|
}
|
|
174
176
|
|
|
175
|
-
.
|
|
177
|
+
.carousel-loading {
|
|
176
178
|
column-span: all;
|
|
177
179
|
text-align: center;
|
|
178
180
|
}
|
|
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
|
|
3
3
|
/*
|
|
4
4
|
if (props.draggable && props.draggable === true) {
|
|
5
5
|
if (debug) console.log('CarouselSimple: Dragging enabled');
|
|
6
|
-
DragHandler(cardIndex, '
|
|
6
|
+
DragHandler(cardIndex, 'carousel-card-wrapper', nextCard, previousCard);
|
|
7
7
|
} else {
|
|
8
8
|
if (debug) console.log('CarouselSimple: Dragging disabled');
|
|
9
9
|
}
|