chore: dry up nav + icon links

This commit is contained in:
Cory Dransfeldt 2023-08-13 19:51:28 -07:00
parent 9ddd1459d3
commit 314367c1b1
No known key found for this signature in database
21 changed files with 62 additions and 116 deletions

33
src/_data/nav.js Normal file
View file

@ -0,0 +1,33 @@
module.exports = async function () {
return {
footer: [{ name: 'Uses' }, { name: 'Referrals' }],
menu: [
{ name: 'Now' },
{ name: 'About' },
{ name: 'Tags', icon: 'tags' },
{ name: 'Search', icon: 'search' },
{ name: 'Feeds', icon: 'rss' },
{ name: 'Webrings', icon: 'heart-handshake' },
],
social: [
{ name: 'Email', url: 'mailto:hi@coryd.dev', icon: 'at' },
{ name: 'GitHub', url: 'https://github.com/cdransf', icon: 'brand-github' },
{ name: 'Mastodon', url: 'https://social.lol/@cory', icon: 'brand-mastodon' },
{ name: 'Last.fm', url: 'https://www.last.fm/user/cdrn_', icon: 'brand-lastfm' },
{
name: 'Spotify',
url: 'https://open.spotify.com/user/mdh0acvmvfsbunzt6ywnq2tg3',
icon: 'brand-spotify',
},
{ name: 'Letterboxd', url: 'https://letterboxd.com/cdme', icon: 'brand-letterboxd' },
{ name: 'Trakt', url: 'https://trakt.tv/users/cdransf', icon: 'device-tv' },
{ name: 'Goodreads', url: 'https://www.goodreads.com/cdransf', icon: 'books' },
{ name: 'Buy Me a Coffee', url: 'https://www.buymeacoffee.com/cory', icon: 'cup' },
],
resume: [
{ name: 'GitHub', url: 'https://github.com/cdransf', icon: 'brand-github' },
{ name: 'LinkedIn', url: 'https://www.linkedin.com/in/cdransf/', icon: 'brand-linkedin' },
{ name: 'SavvyCal', url: 'https://savvycal.com/coryd/quick-call', icon: 'calendar-plus' },
],
}
}