Skip to content

Commit

Permalink
Merge pull request #2 from ForkbombEu/didroom-components
Browse files Browse the repository at this point in the history
feat: import didroom-components
  • Loading branch information
phoebus-84 authored Jan 24, 2024
2 parents 7cf56aa + 77303fb commit 61e0b54
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
5 changes: 1 addition & 4 deletions src/app.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
<!doctype html>
<html lang="en">

<html dir="ltr" lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width" />
%sveltekit.head%
</head>

<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
</body>

</html>
14 changes: 14 additions & 0 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
<script lang="ts">
import { setupIonicBase } from 'ionic-svelte';
setupIonicBase();
import '@fontsource/poppins';
import 'ionic-svelte/components/all';
import '../theme/variables.css';
</script>

<svelte:head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" />
<script
type="module"
src="https://cdn.jsdelivr.net/npm/@didroom/components/dist/didroom-components/didroom-components.esm.js"
></script>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@didroom/components/dist/didroom-components/didroom-components.css"
/>
</svelte:head>

<ion-app>
<slot />
</ion-app>

0 comments on commit 61e0b54

Please sign in to comment.