Skip to content

Instantly share code, notes, and snippets.

@MiguelCamilo
Last active February 18, 2023 23:42
Show Gist options
  • Save MiguelCamilo/9bc1a49c95f1d1249cc74fe0c67ac653 to your computer and use it in GitHub Desktop.
Save MiguelCamilo/9bc1a49c95f1d1249cc74fe0c67ac653 to your computer and use it in GitHub Desktop.
How to set up Meta Tags and Favicons ! πŸ‘‡πŸΌ
<!-- REMEMBER TO CHANGE THE LINKS AND DESCRIPTION OF EACH META TAGS -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Meta: General -->
<meta name="title" content="Weather Wise built with React JS" />
<meta name="description" content="Look up a city's weather by its name. Built with React JS!" />
<!-- Meta: Facebook -->
<meta property="og:title" content="Weather Wise built with React JS" />
<meta property="og:description" content="Look up a city's weather by its name. Built with React JS!" />
<meta property="og:image" content="https://weather-wise-app.firebaseapp.com/images/social-share.webp" />
<meta property="og:url" content="https://weather-wise-app.firebaseapp.com" />
<meta property="og:type" content="website" />
<!-- Meta: Twitter -->
<meta property="twitter:title" content="Weather Wise built with React JS" />
<meta property="twitter:description" content="Look up a city's weather by its name. Built with React JS!" />
<meta property="twitter:image" content="https://weather-wise-app.firebaseapp.com/images/social-share.webp" />
<meta property="twitter:url" content="https://weather-wise-app.firebaseapp.com" />
<meta property="twitter:card" content="summary_large_image" />
<!-- tailwind css -->
<link href="/dist/output.css" rel="stylesheet" />
<title>Weather Wise</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment