-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Applied modifications to embed lib
- Loading branch information
1 parent
4ab8366
commit 2d95796
Showing
8 changed files
with
54 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,29 +68,6 @@ | |
</div> | ||
<div class="hidden md:block"> | ||
<div class="ml-4 flex items-center md:ml-6"> | ||
<button | ||
class="bg-gray-800 p-1 rounded-full text-gray-400 hover:text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white" | ||
id="notification-bell" | ||
> | ||
<span class="sr-only">View notifications</span> | ||
<!-- Heroicon name: bell --> | ||
<svg | ||
class="h-6 w-6" | ||
xmlns="http://www.w3.org/2000/svg" | ||
fill="none" | ||
viewBox="0 0 24 24" | ||
stroke="currentColor" | ||
aria-hidden="true" | ||
> | ||
<path | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="2" | ||
d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9" | ||
/> | ||
</svg> | ||
</button> | ||
|
||
<!-- Profile dropdown --> | ||
<div class="ml-3 relative"> | ||
<div> | ||
|
@@ -254,8 +231,13 @@ | |
</nav> | ||
|
||
<header class="bg-white shadow"> | ||
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8"> | ||
<h1 class="text-3xl font-bold leading-tight text-gray-900">Dashboard</h1> | ||
<div class="grid grid-cols-2 max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8"> | ||
<h1 class="text-3xl font-bold leading-tight text-gray-900">Users</h1> | ||
<div> | ||
<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded float-right" id="import"> | ||
Import | ||
</button> | ||
</div> | ||
</div> | ||
</header> | ||
<main> | ||
|
@@ -287,12 +269,7 @@ <h1 class="text-3xl font-bold leading-tight text-gray-900">Dashboard</h1> | |
before.parentNode.insertBefore(elt, before); | ||
})(window, document, '../dist/embed.umd.min.js', 'impler', 'script'); | ||
|
||
impler.init('PdtLy9jK0ftg', '#notification-bell', { | ||
subscriberId: '123456', | ||
firstName: 'User', | ||
lastName: 'Last name', | ||
email: '[email protected]', | ||
}); | ||
impler.init('1234', '#import'); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.