Skip to content

Commit d8bc8a7

Browse files
Update index.js
1 parent c2040af commit d8bc8a7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pages/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ const Home = (props) => {
8888
>
8989
<div>
9090
{locales.map((all_languages, index) => (
91-
<Link href={debug(`/${langcode(index).replace('en','')}`)}>
91+
<Link href={locales[index].short}>
9292
<Fragment key={index}>
93-
<Link href={debug(`/${langcode(index).replace('en','')}`)}>
93+
<Link href={locales[index].short}>
9494
<div className="home-language-switcher-item">
9595
<span className="home-language-link">
9696
{all_languages?.name}
@@ -180,7 +180,7 @@ const Home = (props) => {
180180
easing="ease-in-out"
181181
iteration="1"
182182
>
183-
<a href="https://github.com/JustStudio7/Encoder" target="_blank" className='hideOn322'>
183+
<Link href="https://github.com/JustStudio7/Encoder" target="_blank" className='hideOn322'>
184184
<button
185185
type="button"
186186
data-thq-animate-on-reveal="true"
@@ -201,7 +201,7 @@ const Home = (props) => {
201201
}}
202202
></span>
203203
</button>
204-
</a>
204+
</Link>
205205
<Link href="/docs">
206206
<button
207207
type="button"
@@ -215,7 +215,7 @@ const Home = (props) => {
215215
}}
216216
></span>
217217
<span></span>
218-
<span className="home-text7"></span>
218+
<span className="home-text7 removethat"></span>
219219
</span>
220220
<span
221221
dangerouslySetInnerHTML={{

0 commit comments

Comments
 (0)