mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-27 03:56:42 +07:00
logo selecting
This commit is contained in:
parent
898176a68f
commit
0c6dc387de
12 changed files with 104 additions and 17 deletions
13
src/components/logo/LogoPreview.jsx
Normal file
13
src/components/logo/LogoPreview.jsx
Normal file
|
@ -0,0 +1,13 @@
|
|||
import React from 'react';
|
||||
import { LOGOS } from '$constants/logos';
|
||||
|
||||
export const LogoPreview = ({ logo }) => (
|
||||
<div
|
||||
className="logo-preview"
|
||||
style={{
|
||||
backgroundImage: logo
|
||||
? `url(${LOGOS[logo][1]})`
|
||||
: 'none'
|
||||
}}
|
||||
/>
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue