summaryrefslogtreecommitdiff
path: root/examples/blog/src/components/Footer.astro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blog/src/components/Footer.astro')
-rw-r--r--examples/blog/src/components/Footer.astro13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/blog/src/components/Footer.astro b/examples/blog/src/components/Footer.astro
new file mode 100644
index 000000000..08395a4d1
--- /dev/null
+++ b/examples/blog/src/components/Footer.astro
@@ -0,0 +1,13 @@
+---
+const today = new Date();
+---
+
+<footer>
+ &copy; {today.getFullYear()} YOUR NAME HERE. All rights reserved.
+</footer>
+<style>
+ footer {
+ padding: 25px;
+ text-align: center;
+ }
+</style>