diff options
author | 2023-09-28 03:21:56 +0800 | |
---|---|---|
committer | 2023-09-27 15:21:56 -0400 | |
commit | e6be2d8146c3ada274cd3630e15cafc42ce80b2d (patch) | |
tree | b5f7bf8157584ac1aaa5fbeddb4345f0579a4056 /examples/view-transitions/src/components/Footer.astro | |
parent | 5121740de72535edd5cf227d1ab18da1024546c8 (diff) | |
download | astro-e6be2d8146c3ada274cd3630e15cafc42ce80b2d.tar.gz astro-e6be2d8146c3ada274cd3630e15cafc42ce80b2d.tar.zst astro-e6be2d8146c3ada274cd3630e15cafc42ce80b2d.zip |
Add View Transitions announcer (#8621)
* Add View Transitions announcer
* fix astro check
* Append the text in a setTimeout
* Use 60 for the timeout
* Add comment on magic number
* Add a changeset
* Update .changeset/small-rules-relax.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Bring back announce logic
* Remove mention of env file
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Diffstat (limited to 'examples/view-transitions/src/components/Footer.astro')
-rw-r--r-- | examples/view-transitions/src/components/Footer.astro | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/view-transitions/src/components/Footer.astro b/examples/view-transitions/src/components/Footer.astro new file mode 100644 index 000000000..45f1338b0 --- /dev/null +++ b/examples/view-transitions/src/components/Footer.astro @@ -0,0 +1,17 @@ +<footer class="border border-t border-gray-800"> + <div class="container mx-auto text-sm px-4 py-6"> + Made with ❤️ by <a + href="https://www.twitter.com/charca" + target="_blank" + class="underline hover:text-gray-300">Maxi Ferreira</a + > — Powered by <a + href="https://astro.build" + target="_blank" + class="underline hover:text-gray-300">Astro</a + > and <a + href="https://www.themoviedb.org/documentation/api" + target="_blank" + class="underline hover:text-gray-300">TMDb API</a + >. + </div> +</footer> |