Skip to content

Commit

Permalink
OG: Update title & image
Browse files Browse the repository at this point in the history
  • Loading branch information
tvillarete committed Dec 31, 2019
1 parent 800ef91 commit 1802f50
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions public/index.html
Expand Up @@ -5,18 +5,18 @@
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="An iPod Classic built with React" />
<meta name="description" content="An iPod Classic built for the web." />
<link rel="apple-touch-icon" href="logo192.png" />

<meta property="og:title" content="iPod Classic.js" />
<meta property="og:title" content="iPod.js" />
<meta property="og:type" content="website" />
<meta
property="og:description"
content="Ever miss that music player you used to carry around everywhere? Here's a close second – an iPod built for the web."
/>
<meta
property="og:image"
content="https://user-images.githubusercontent.com/21055469/71597009-70bd5880-2af6-11ea-92ae-96b556516124.png"
content="https://user-images.githubusercontent.com/21055469/71636084-6081a800-2be0-11ea-98ee-9599a3396c84.png"
/>
<meta property="og:url" content="http://tannerv.com/ipod" />

Expand All @@ -34,7 +34,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>iPod Classic.js</title>
<title>iPod.js</title>
</head>
<body style="margin: 0">
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
2 changes: 1 addition & 1 deletion src/App/views/AboutView/index.tsx
Expand Up @@ -62,7 +62,7 @@ const AboutView = () => {
<ListContainer>
<TitleContainer>
<Image alt="iPod" src="ipod_logo.svg" />
<Title>iPod Classic.js</Title>
<Title>iPod.js</Title>
</TitleContainer>
<Description>
Made with{" "}
Expand Down
2 changes: 1 addition & 1 deletion src/utils/index.ts
Expand Up @@ -22,5 +22,5 @@ export const formatTime = (seconds = 0, guide = seconds) => {
};

export const setDocumentSongTitle = (song?: Song) => {
document.title = song ? `${song.name} – iPod Classic.js` : "iPod Classic.js";
document.title = song ? `${song.name} – iPod.js` : "iPod.js";
};

0 comments on commit 1802f50

Please sign in to comment.