Skip to content

Commit 5412e41

Browse files
committed
fixes
1 parent 77c67af commit 5412e41

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

pages/_document.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class MyDocument extends Document {
1111
<Html className={classNames(randomColorClass, ' from-gray-900 to-black')} lang='en'>
1212
<Head>
1313
<link rel="preconnect" href="https://fonts.googleapis.com" />
14-
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="true" />
14+
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin />
1515
<link href="https://fonts.googleapis.com/css2?family=Chilanka&display=swap"
1616
rel="stylesheet"
1717
/>

pages/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const Home = ({ bio, avatar_url, blog, email, randomE }) => {
5353
<Head>
5454
<title>Profile Christian Quispe | Oxicode</title>
5555
<link rel="icon" href="/favicon.ico" />
56-
<meta property="description" content={bio} />
56+
<meta name="description" content={bio} />
5757
<meta property="og:title" content="Resume Christian Quispe" />
5858
<meta property="og:description" content={bio} />
5959
<meta property="og:image" content={avatar_url} />
@@ -170,8 +170,10 @@ export async function getStaticProps () {
170170
orientation: 'landscape'
171171
})
172172

173+
const filterResults = randomElement(removeBanned(result.response.results))
174+
173175
const randomE = (result.type === 'success')
174-
? randomElement(removeBanned(result.response.results))
176+
? filterResults.urls.full
175177
: ''
176178

177179
return {

0 commit comments

Comments
 (0)