Skip to content

Commit

Permalink
Merge pull request #337 from davidjerleke/feature/v7-docs
Browse files Browse the repository at this point in the history
v7 docs
  • Loading branch information
davidjerleke authored Jul 31, 2022
2 parents 5a722e2 + 5c5c418 commit 505ff44
Show file tree
Hide file tree
Showing 117 changed files with 1,384 additions and 818 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<br />
<div align="center">
<p align="center">
<a href="https://www.embla-carousel.com/"><img width="70" height="70" src="https://www.embla-carousel.com/embla-logo.svg" alt="Embla Carousel">
<a href="https://www.embla-carousel.com/"><img width="160" height="160" src="https://www.embla-carousel.com/embla-logo.svg" alt="Embla Carousel">
</a>
</p>

Expand Down Expand Up @@ -64,6 +64,11 @@
<a href="https://www.embla-carousel.com/get-started/react/">
<img src="https://www.embla-carousel.com/react-logo.svg" width="45" height="45" />
</a>
&nbsp;
<a href="https://www.embla-carousel.com/get-started/vue/">
<img src="https://www.embla-carousel.com/vue-logo.svg" width="45"
height="45" />
</a>
</p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion packages/embla-carousel-auto-height/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<br />
<div align="center">
<p align="center">
<a href="https://www.embla-carousel.com/"><img width="70" height="70" src="https://www.embla-carousel.com/embla-logo.svg" alt="Embla Carousel">
<a href="https://www.embla-carousel.com/"><img width="160" height="160" src="https://www.embla-carousel.com/embla-logo.svg" alt="Embla Carousel">
</a>
</p>

Expand Down
2 changes: 1 addition & 1 deletion packages/embla-carousel-autoplay/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<br />
<div align="center">
<p align="center">
<a href="https://www.embla-carousel.com/"><img width="70" height="70" src="https://www.embla-carousel.com/embla-logo.svg" alt="Embla Carousel">
<a href="https://www.embla-carousel.com/"><img width="160" height="160" src="https://www.embla-carousel.com/embla-logo.svg" alt="Embla Carousel">
</a>
</p>

Expand Down
2 changes: 1 addition & 1 deletion packages/embla-carousel-class-names/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<br />
<div align="center">
<p align="center">
<a href="https://www.embla-carousel.com/"><img width="70" height="70" src="https://www.embla-carousel.com/embla-logo.svg" alt="Embla Carousel">
<a href="https://www.embla-carousel.com/"><img width="160" height="160" src="https://www.embla-carousel.com/embla-logo.svg" alt="Embla Carousel">
</a>
</p>

Expand Down
2 changes: 1 addition & 1 deletion packages/embla-carousel-docs/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<br />
<div align="center">
<p align="center">
<a href="https://www.embla-carousel.com/"><img width="70" height="70" src="https://www.embla-carousel.com/embla-logo.svg" alt="Embla Carousel">
<a href="https://www.embla-carousel.com/"><img width="160" height="160" src="https://www.embla-carousel.com/embla-logo.svg" alt="Embla Carousel">
</a>
</p>

Expand Down
2 changes: 2 additions & 0 deletions packages/embla-carousel-docs/gatsby-browser.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'inter-ui/inter.css'

export const onClientEntry = async () => {
if (typeof window.IntersectionObserver === 'undefined') {
await import('intersection-observer')
Expand Down
6 changes: 3 additions & 3 deletions packages/embla-carousel-docs/gatsby-ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const onRenderBody = ({
<meta
key="theme-color"
name="theme-color"
content={THEME_COLORS[THEME_KEYS.LIGHT].backgroundSite}
content={THEME_COLORS[THEME_KEYS.LIGHT].BACKGROUND_SITE}
/>,
<style
key="theme-style"
Expand All @@ -40,8 +40,8 @@ export const onRenderBody = ({
(function() {
var selectedTheme;
var themeColors = {
light: '${THEME_COLORS[THEME_KEYS.LIGHT].backgroundSite}',
dark: '${THEME_COLORS[THEME_KEYS.DARK].backgroundSite}'
light: '${THEME_COLORS[THEME_KEYS.LIGHT].BACKGROUND_SITE}',
dark: '${THEME_COLORS[THEME_KEYS.DARK].BACKGROUND_SITE}'
};
try {
Expand Down
1 change: 1 addition & 0 deletions packages/embla-carousel-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"gatsby-remark-autolink-headers": "^5.6.0",
"gatsby-remark-prismjs": "^6.6.0",
"gatsby-source-filesystem": "^4.6.0",
"inter-ui": "^3.19.3",
"intersection-observer": "^0.12.0",
"lodash": "^4.17.21",
"prismjs": "^1.26.0",
Expand Down
4 changes: 1 addition & 3 deletions packages/embla-carousel-docs/src/assets/icons/arrow-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/embla-carousel-docs/src/assets/icons/cross.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 505ff44

Please sign in to comment.