Skip to content

Commit

Permalink
Merge pull request #78 from yaigrie/new-og-description
Browse files Browse the repository at this point in the history
add new description
  • Loading branch information
yaigrie authored Feb 19, 2024
2 parents 07300f1 + 48b5e1e commit 4839a2d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@
<svelte:head>
<title>Svelte Promise Modals</title>
<meta property="og:title" content="Svelte Promise Modals" />
<meta property="og:site_name" content="Svelte Promise Modals" />
<meta property="og:site_name" content="Svelte Promise Modals - Modals made easy." />
<meta property="og:url" content="https://svelte-promise-modals.com/" />
<meta property="og:description" content="Modals in Svelte made easy." />
<meta
property="og:description"
content="svelte-promise-modals is the out-of-the-box, fully customizable package that makes it safe and easy to handle opening and closing modal dialogs and get results from them, written in TypeScript."
/>
<meta property="og:type" content="website" />
<meta property="og:image" content={ogImageURL} />
<meta name="twitter:card" content="summary_large_image" />
Expand Down Expand Up @@ -86,7 +89,8 @@
let result = await openModal(FooComponent);
console.log(result); // Whatever the modal returned when it was closed
}
<`+dedent`/script>
<` +
dedent`/script>
<button type="button" on:click={() => openFooModal()}>
A simple modal with a button to close it
Expand Down
Binary file modified src/routes/assets/og-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4839a2d

Please sign in to comment.