Skip to content

Commit

Permalink
added new css links for using more icon sources to get icons for spec…
Browse files Browse the repository at this point in the history
…ific sliders
  • Loading branch information
ihorvasiuta committed Jul 27, 2024
1 parent 9c82878 commit 6ea39b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/ui/preview/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ const RenderPreview: React.FC<PreviewProps> = ({ codes }) => {
<body>
${codes.html}
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
const navLinks = document.querySelectorAll('.nav__link');
Expand Down
3 changes: 3 additions & 0 deletions src/components/ui/preview/preview_phone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ const RenderPreviewPhone: React.FC<PreviewProps> = ({ codes }) => {
<body>
${codes.html}
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
const navLinks = document.querySelectorAll('.nav__link');
Expand Down

0 comments on commit 6ea39b3

Please sign in to comment.