mirror of
https://github.com/apotdevin/thunderhub.git
synced 2024-11-19 01:40:03 +01:00
fix: image url
This commit is contained in:
parent
d70e1345a7
commit
f6620a2373
@ -12,7 +12,7 @@ import { useLoginAmbossMutation } from 'src/graphql/mutations/__generated__/logi
|
||||
import { toast } from 'react-toastify';
|
||||
import { ColorButton } from 'src/components/buttons/colorButton/ColorButton';
|
||||
import { useGetAmbossLoginTokenLazyQuery } from 'src/graphql/queries/__generated__/getAmbossLoginToken.generated';
|
||||
import ambossLogo from '../src/views/token/AmbossLogo.png';
|
||||
import { appendBasePath } from 'src/utils/basePath';
|
||||
|
||||
const S = {
|
||||
center: styled.div`
|
||||
@ -121,7 +121,12 @@ const TokenView = () => {
|
||||
return (
|
||||
<Card>
|
||||
<S.center>
|
||||
<Image src={ambossLogo} width={320} height={42} alt={'Amboss Logo'} />
|
||||
<Image
|
||||
src={appendBasePath('/assets/amboss_logo.png')}
|
||||
width={320}
|
||||
height={42}
|
||||
alt={'Amboss Logo'}
|
||||
/>
|
||||
</S.center>
|
||||
<S.text>
|
||||
In collaboration with
|
||||
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
@ -11,7 +11,7 @@ import {
|
||||
} from 'src/styles/Themes';
|
||||
import styled from 'styled-components';
|
||||
import Image from 'next/image';
|
||||
import ambossLogo from './AmbossLogo.png';
|
||||
import { appendBasePath } from 'src/utils/basePath';
|
||||
|
||||
const QuickTitle = styled.div`
|
||||
font-size: 12px;
|
||||
@ -89,7 +89,12 @@ export const AmbossCard = () => {
|
||||
}}
|
||||
disabled={loading}
|
||||
>
|
||||
<Image src={ambossLogo} width={32} height={32} alt={'Amboss Logo'} />
|
||||
<Image
|
||||
src={appendBasePath('/assets/amboss_icon.png')}
|
||||
width={32}
|
||||
height={32}
|
||||
alt={'Amboss Logo'}
|
||||
/>
|
||||
<QuickTitle>{loading ? 'Loading...' : 'Login'}</QuickTitle>
|
||||
</QuickCard>
|
||||
);
|
||||
@ -103,7 +108,12 @@ export const AmbossCard = () => {
|
||||
}}
|
||||
disabled={tokenLoading}
|
||||
>
|
||||
<Image src={ambossLogo} width={32} height={32} alt={'Amboss Logo'} />
|
||||
<Image
|
||||
src={appendBasePath('/assets/amboss_icon.png')}
|
||||
width={32}
|
||||
height={32}
|
||||
alt={'Amboss Logo'}
|
||||
/>
|
||||
<QuickTitle>{tokenLoading ? 'Loading...' : 'Go To'}</QuickTitle>
|
||||
</QuickCard>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user