Skip to content

Commit

Permalink
update manga
Browse files Browse the repository at this point in the history
  • Loading branch information
imhson committed Aug 9, 2024
1 parent 0039749 commit 98342f4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
14 changes: 7 additions & 7 deletions public/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"REDIRECT_URL": "https://dev.punkga.me",
"REDIRECT_URL": "https://staging.punkga.me",
"CHAIN_ID": "aura_6321-3",
"CHAIN_INFO": {
"chainId": "aura_6321-3",
Expand All @@ -14,13 +14,13 @@
},
"explorer": "https://euphoria.aurascan.io"
},
"API_URL": "https://hasura.dev.punkga.me",
"AUTHORIZER_URL": "https://auth.dev.punkga.me",
"AUTHORIZER_CLIENT_ID": "abd40c73-3390-4613-bc44-b5bde4796d03",
"ADMIN_URL": "https://admin.dev.punkga.me",
"REST_API_URL": "https://api.dev.punkga.me",
"API_URL": "https://hasura.staging.punkga.me",
"AUTHORIZER_URL": "https://auth.staging.punkga.me",
"AUTHORIZER_CLIENT_ID": "06c9c437-15cd-4240-b435-5d16206b46c6",
"ADMIN_URL": "https://admin.staging.punkga.me",
"REST_API_URL": "https://api.staging.punkga.me",
"IN_MAINTENANCE_MODE": false,
"GTM_ID": "GTM-PF4MH72V",
"GTM_ID": "GTM-MMT4K22K",
"SEEKHYPE_URL": "https://staging.seekhype.io/",
"WALLET_CONNECT_PROJECT_ID": "ec40291093ad80fa0def54b1fb44c8ef"
}
14 changes: 13 additions & 1 deletion src/components/pages/homepage/manga.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,19 @@ export default function Manga(props: IComic) {
<Fragment key={index}>
<span className='text-text-brand-hover first:hidden'>, </span>
<span className='text-text-brand-hover'>
{author.slug ? <div className='author'>{t(author.name)}</div> : t(author.name)}
{author.slug ? (
<div
className='author'
onClick={(e) => {
router.push(`/artist/${author.slug}`)
e.stopPropagation()
e.preventDefault()
}}>
{t(author.name)}
</div>
) : (
t(author.name)
)}
</span>
</Fragment>
))}
Expand Down

0 comments on commit 98342f4

Please sign in to comment.