Skip to content

Commit

Permalink
ci: change static url logo.png to cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
jzllove9 committed Sep 14, 2024
1 parent 1838a2d commit 0625cf5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .dumi/theme/builtins/IndexFooter/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Box, Button, Stack, Typography } from '@mui/material';
import React from 'react';
import { history } from 'umi';

export default () => {
return (
<Box
Expand All @@ -17,7 +18,7 @@ export default () => {
height: 100,
margin: '0 auto',
margin: '0 auto',
background: 'url(./logo.png) center center no-repeat',
background: 'url(https://s2.loli.net/2024/09/14/X1jv7en4szq3hwM.png) center center no-repeat',
backgroundSize: '125% 125%',
}}
></Box>
Expand Down
2 changes: 1 addition & 1 deletion .dumi/theme/builtins/IndexHeader/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default () => {
width: 300,
height: 300,
margin: '0 auto',
background: 'url(./logo.png) center center no-repeat',
background: 'url(https://s2.loli.net/2024/09/14/X1jv7en4szq3hwM.png) center center no-repeat',
backgroundSize: '125% 125%',
}}
></Box>
Expand Down
2 changes: 1 addition & 1 deletion .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig } from 'dumi';

const isDev = process.env.NODE_ENV === 'development';
export const basePath = isDev ? '/' : '/XForm/';
const logoPath = `${basePath}logo.png`;
export const logoPath = `${basePath}logo.png`;

export default defineConfig({
base: basePath,
Expand Down

0 comments on commit 0625cf5

Please sign in to comment.