Skip to content

Commit

Permalink
📝 Add hero image GIF to README
Browse files Browse the repository at this point in the history
  • Loading branch information
marcreichel committed Aug 17, 2022
1 parent 0539824 commit 63c3c4c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
</a>
</p>

![hero](examples/hero.gif)

## 🚀 Installation

### CDN
Expand Down
Binary file added examples/hero.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Examples</title>

<script src="https://cdn.tailwindcss.com"></script>

<script defer src="../dist/alpine-typewriter.min.js"></script>
<script defer src="https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js"></script>
</head>
<body>
<div x-data x-typewriter="['Hello', 'World']"></div>
<body class="h-screen flex items-center justify-center text-5xl">
<div x-data x-typewriter="['Typewriter', 'Alpine.js', 'JavaScript']"></div>
</body>
</html>

0 comments on commit 63c3c4c

Please sign in to comment.