Skip to content

Commit

Permalink
add meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahriarKh committed Dec 9, 2022
1 parent d2e8a7b commit 808a501
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
5 changes: 3 additions & 2 deletions components/Footer.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
outline: none;
border-bottom: solid 2px transparent;

&:hover, &:focus {
&:hover,
&:focus {
border-bottom-color: $yellow;
}
}
}
}
2 changes: 2 additions & 0 deletions components/SearchBox.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
text-align: center;
// grid-column: 1 / span 3;
flex-grow: 3;
max-width: 100%;

&:focus {
outline-color: $yellow;
Expand All @@ -19,5 +20,6 @@
&::placeholder {
font-weight: 400;
font-style: italic;
color: $pink;
}
}
18 changes: 16 additions & 2 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,22 @@ export default function Home(props) {
<>
<Head>
<title>Twemoji Cheatsheet</title>
<meta
name="description"
content="🥪 A super simple cheatsheet to browse Twemojis! Filter by catgeroy (and, or) version and find the emoji you want. Easily grab the unicode, hexcode, download SVG or PNG and get some info about that emoji."
/>
<meta name="robots" content="index, follow" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<meta property="og:title" content="Twemoji Cheatsheet" />
<meta
property="og:description"
content="🥪 A super simple cheatsheet to browse Twemojis! Filter by catgeroy (and, or) version and find the emoji you want. Easily grab the unicode, hexcode, download SVG or PNG and get some info about that emoji."
/>
<meta
property="og:image"
content="https://user-images.githubusercontent.com/31452340/159780805-2e2b146d-5c50-4245-ba6b-9cc7dcdd9a18.png"
/>
</Head>

<main>
Expand All @@ -56,8 +72,6 @@ export default function Home(props) {
}
/>

{/* <SearchBox setAvailabeEmojis={setAvailabeEmojis} emojis={emojis}/> */}

<Grid>
{availableEmojis
.filter(
Expand Down

0 comments on commit 808a501

Please sign in to comment.