Update from twitter to x

This commit is contained in:
prototypa
2023-08-21 20:16:51 -04:00
parent 94bc3166d0
commit d36f60218b
4 changed files with 6 additions and 8 deletions

View File

@ -51,7 +51,6 @@ export default defineConfig({
'business-contact', 'business-contact',
'database', 'database',
], ],
ri: ['twitter-fill', 'facebook-box-fill', 'linkedin-box-fill', 'whatsapp-fill', 'mail-fill'],
}, },
}), }),

View File

@ -22,7 +22,6 @@
"@astrolib/seo": "^0.6.0", "@astrolib/seo": "^0.6.0",
"@fontsource-variable/inter": "^5.0.8", "@fontsource-variable/inter": "^5.0.8",
"@iconify-json/flat-color-icons": "^1.1.7", "@iconify-json/flat-color-icons": "^1.1.7",
"@iconify-json/ri": "^1.1.12",
"@iconify-json/tabler": "^1.1.88", "@iconify-json/tabler": "^1.1.88",
"@tailwindcss/typography": "^0.5.9", "@tailwindcss/typography": "^0.5.9",
"@types/lodash.merge": "^4.6.7", "@types/lodash.merge": "^4.6.7",

View File

@ -14,31 +14,31 @@ const { text, url, class: className = 'inline-block' } = Astro.props;
<span class="align-super font-bold text-gray-400 dark:text-slate-400">Share:</span> <span class="align-super font-bold text-gray-400 dark:text-slate-400">Share:</span>
<button class="ml-2 rtl:ml-0 rtl:mr-2" title="Twitter Share" data-aw-social-share="twitter" data-aw-url={url} data-aw-text={text} <button class="ml-2 rtl:ml-0 rtl:mr-2" title="Twitter Share" data-aw-social-share="twitter" data-aw-url={url} data-aw-text={text}
><Icon ><Icon
name="ri:twitter-fill" name="tabler:brand-x"
class="w-6 h-6 text-gray-400 dark:text-slate-500 hover:text-black dark:hover:text-slate-300" class="w-6 h-6 text-gray-400 dark:text-slate-500 hover:text-black dark:hover:text-slate-300"
/> />
</button> </button>
<button class="ml-2 rtl:ml-0 rtl:mr-2" title="Facebook Share" data-aw-social-share="facebook" data-aw-url={url} <button class="ml-2 rtl:ml-0 rtl:mr-2" title="Facebook Share" data-aw-social-share="facebook" data-aw-url={url}
><Icon ><Icon
name="ri:facebook-box-fill" name="tabler:brand-facebook"
class="w-6 h-6 text-gray-400 dark:text-slate-500 hover:text-black dark:hover:text-slate-300" class="w-6 h-6 text-gray-400 dark:text-slate-500 hover:text-black dark:hover:text-slate-300"
/> />
</button> </button>
<button class="ml-2 rtl:ml-0 rtl:mr-2" title="Linkedin Share" data-aw-social-share="linkedin" data-aw-url={url} data-aw-text={text} <button class="ml-2 rtl:ml-0 rtl:mr-2" title="Linkedin Share" data-aw-social-share="linkedin" data-aw-url={url} data-aw-text={text}
><Icon ><Icon
name="ri:linkedin-box-fill" name="tabler:brand-linkedin"
class="w-6 h-6 text-gray-400 dark:text-slate-500 hover:text-black dark:hover:text-slate-300" class="w-6 h-6 text-gray-400 dark:text-slate-500 hover:text-black dark:hover:text-slate-300"
/> />
</button> </button>
<button class="ml-2 rtl:ml-0 rtl:mr-2" title="Whatsapp Share" data-aw-social-share="whatsapp" data-aw-url={url} data-aw-text={text} <button class="ml-2 rtl:ml-0 rtl:mr-2" title="Whatsapp Share" data-aw-social-share="whatsapp" data-aw-url={url} data-aw-text={text}
><Icon ><Icon
name="ri:whatsapp-fill" name="tabler:brand-whatsapp"
class="w-6 h-6 text-gray-400 dark:text-slate-500 hover:text-black dark:hover:text-slate-300" class="w-6 h-6 text-gray-400 dark:text-slate-500 hover:text-black dark:hover:text-slate-300"
/> />
</button> </button>
<button class="ml-2 rtl:ml-0 rtl:mr-2" title="Email Share" data-aw-social-share="mail" data-aw-url={url} data-aw-text={text} <button class="ml-2 rtl:ml-0 rtl:mr-2" title="Email Share" data-aw-social-share="mail" data-aw-url={url} data-aw-text={text}
><Icon ><Icon
name="ri:mail-fill" name="tabler:mail"
class="w-6 h-6 text-gray-400 dark:text-slate-500 hover:text-black dark:hover:text-slate-300" class="w-6 h-6 text-gray-400 dark:text-slate-500 hover:text-black dark:hover:text-slate-300"
/> />
</button> </button>

View File

@ -170,7 +170,7 @@ export const footerData = {
{ text: 'Privacy Policy', href: getPermalink('/privacy') }, { text: 'Privacy Policy', href: getPermalink('/privacy') },
], ],
socialLinks: [ socialLinks: [
{ ariaLabel: 'Twitter', icon: 'tabler:brand-twitter', href: '#' }, { ariaLabel: 'X', icon: 'tabler:brand-x', href: '#' },
{ ariaLabel: 'Instagram', icon: 'tabler:brand-instagram', href: '#' }, { ariaLabel: 'Instagram', icon: 'tabler:brand-instagram', href: '#' },
{ ariaLabel: 'Facebook', icon: 'tabler:brand-facebook', href: '#' }, { ariaLabel: 'Facebook', icon: 'tabler:brand-facebook', href: '#' },
{ ariaLabel: 'RSS', icon: 'tabler:rss', href: getAsset('/rss.xml') }, { ariaLabel: 'RSS', icon: 'tabler:rss', href: getAsset('/rss.xml') },