11---
22import Icon from ' ./Icon.astro' ;
3+ import { version as astroVersion } from ' astro/package.json' ;
4+
35const currentYear = new Date ().getFullYear ();
46const endCopyYear = new Date ().getFullYear () + 2 ;
57---
68
7- <footer >
9+ <footer class = " footer-shell glass-panel flush " >
810 <div class =" group" >
911 <p >
10- Designed & Developed in Austin, Texas with <a href =" https://astro.build/" >Astro 5.14.1 </a >
12+ Designed & Developed in Austin, Texas with <a href =" https://astro.build/" >Astro { astroVersion } </a >
1113 <Icon icon =" rocket-launch" size =" 1.2em" />
1214 </p >
1315 <p >© { currentYear } - { endCopyYear } Abdon Morales.</p >
@@ -19,26 +21,29 @@ const endCopyYear = new Date().getFullYear() + 2;
1921 </p >
2022</footer >
2123<style >
22- footer {
24+ . footer-shell {
2325 display: flex;
2426 flex-direction: column;
25- gap: 3rem ;
27+ gap: 2rem ;
2628 margin-top: auto;
27- padding: 3rem 2rem 3rem;
29+ padding: 2.5rem clamp(1.5rem, 3vw, 3rem) ;
2830 text-align: center;
2931 color: var(--gray-400);
3032 font-size: var(--text-sm);
33+ border-radius: 1.5rem;
34+ backdrop-filter: var(--glass-blur-light);
35+ -webkit-backdrop-filter: var(--glass-blur-light);
3136 }
3237
33- footer a {
38+ . footer-shell a {
3439 color: var(--gray-400);
3540 text-decoration: 1px solid underline transparent;
3641 text-underline-offset: 0.25em;
3742 transition: text-decoration-color var(--theme-transition);
3843 }
3944
40- footer a:hover,
41- footer a:focus {
45+ . footer-shell a:hover,
46+ . footer-shell a:focus {
4247 text-decoration-color: currentColor;
4348 }
4449
@@ -56,10 +61,10 @@ const endCopyYear = new Date().getFullYear() + 2;
5661 }
5762
5863 @media (min-width: 50em) {
59- footer {
64+ . footer-shell {
6065 flex-direction: row;
6166 justify-content: space-between;
62- padding: 2.5rem 5rem ;
67+ padding: 2.5rem clamp(2rem, 4vw, 4rem) ;
6368 }
6469
6570 .group {
0 commit comments