File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22import contactData from ' @content/contact.json'
3- import { absoluteUrl } from ' @components/scripts/utils'
3+ import { getSiteUrl } from ' @components/scripts/utils/siteUrlClient '
44import { formatPhoneNumber } from ' @components/Footer/server'
55import Avatar from ' @components/Avatar/index.astro'
66import Icon from ' @components/Icon/index.astro'
@@ -126,7 +126,7 @@ const year = new Date().getFullYear()
126126 { /* Page footer RSS link */ }
127127 <span class:list ={ [styles .footerFeedIcon , ' flex items-center w-12 lg:h-12 lg:w-12' ]} >
128128 <a
129- href ={ absoluteUrl ( ' /feed.xml' , Astro . site ) }
129+ href ={ ` ${ getSiteUrl ()} /feed.xml` }
130130 title =" RSS Feed"
131131 class =" text-text [&_.icon]:fill-text! [&_.icon]:stroke-text! [&_.icon]:h-10 [&_.icon]:w-10 hover:[&_.icon]:fill-secondary! hover:[&_.icon]:stroke-secondary! focus:[&_.icon]:fill-secondary! focus:[&_.icon]:stroke-secondary! focus:outline-none"
132132 >
@@ -141,7 +141,7 @@ const year = new Date().getFullYear()
141141 © 2018– { year }
142142 </span >
143143 <span class =" ml-4" >
144- <a rel =" me" href ={ absoluteUrl ( ' / ' , Astro . site ) } class =" text-text underline decoration-dotted decoration-text underline-offset-4 hover:text-secondary hover:decoration-secondary focus:text-secondary focus:decoration-secondary focus:outline-none" >
144+ <a rel =" me" href ={ ` ${ getSiteUrl ()}/ ` } class =" text-text underline decoration-dotted decoration-text underline-offset-4 hover:text-secondary hover:decoration-secondary focus:text-secondary focus:decoration-secondary focus:outline-none" >
145145 { contactData .company .name }
146146 </a >
147147 </span >
You can’t perform that action at this time.
0 commit comments