refactor: convert siteMetadata from json to js
				
					
				
			This commit is contained in:
		
							
								
								
									
										21
									
								
								data/siteMetadata.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								data/siteMetadata.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| const siteMetadata = { | ||||
|   title: 'Next.js Starter Blog', | ||||
|   author: 'Tails Azimuth', | ||||
|   headerTitle: 'TailwindBlog', | ||||
|   description: 'A blog created with Next.js and Tailwind.css', | ||||
|   language: 'en-us', | ||||
|   siteUrl: 'https://tailwind-nextjs-starter-blog.vercel.app', | ||||
|   siteRepo: 'https://github.com/timlrx/tailwind-nextjs-starter-blog', | ||||
|   siteLogo: '/static/images/logo.png', | ||||
|   image: '/static/images/avatar.png', | ||||
|   socialBanner: '/static/images/twitter-card.png', | ||||
|   email: 'address@yoursite.com', | ||||
|   github: 'https://github.com', | ||||
|   twitter: 'https://twitter.com/Twitter', | ||||
|   facebook: 'https://facebook.com', | ||||
|   youtube: 'https://youtube.com', | ||||
|   linkedin: 'https://www.linkedin.com', | ||||
|   locale: 'en-US', | ||||
| } | ||||
|  | ||||
| module.exports = siteMetadata | ||||
| @@ -1,19 +0,0 @@ | ||||
| { | ||||
|   "title": "Next.js Starter Blog", | ||||
|   "author": "Tails Azimuth", | ||||
|   "headerTitle": "TailwindBlog", | ||||
|   "description": "A blog created with Next.js and Tailwind.css", | ||||
|   "language": "en-us", | ||||
|   "siteUrl": "https://tailwind-nextjs-starter-blog.vercel.app", | ||||
|   "siteRepo": "https://github.com/timlrx/tailwind-nextjs-starter-blog", | ||||
|   "siteLogo": "/static/images/logo.png", | ||||
|   "image": "/static/images/avatar.png", | ||||
|   "socialBanner": "/static/images/twitter-card.png", | ||||
|   "email": "address@yoursite.com", | ||||
|   "github": "https://github.com", | ||||
|   "twitter": "https://twitter.com/Twitter", | ||||
|   "facebook": "https://facebook.com", | ||||
|   "youtube": "https://youtube.com", | ||||
|   "linkedin": "https://www.linkedin.com", | ||||
|   "locale": "en-US" | ||||
| } | ||||
		Reference in New Issue
	
	Block a user