Skip to content

Commit

Permalink
Costomize background images with svg.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramirisu committed Feb 17, 2024
1 parent 476002d commit 8491255
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 3 deletions.
Binary file removed src/assets/background/background-1.webp
Binary file not shown.
Binary file removed src/assets/background/background-2.webp
Binary file not shown.
9 changes: 9 additions & 0 deletions src/assets/background/bg1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/assets/background/bg2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/modules/main/Main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import Header from './header/Header'
import Footer from './footer/Footer'
import { reduceWithDelimiter } from '../../utils/range'

import bg1 from '../../assets/background/background-1.webp'
import bg2 from '../../assets/background/background-2.webp'
import bg1 from '../../assets/background/bg1.svg'
import bg2 from '../../assets/background/bg2.svg'

const { Content } = Layout

Expand Down
2 changes: 1 addition & 1 deletion src/pages/Result.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ const Result = () => {
align='center'
gap={20}
style={{
backgroundColor: 'transparent',
backgroundColor: 'white',
border: 'crimson solid 4px',
borderRadius: '20px',
...getContentMaxWidth(),
Expand Down

0 comments on commit 8491255

Please sign in to comment.