File tree 4 files changed +9
-8
lines changed
website/src/components/site-manager
4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
3
- export const playgroundLogo = ( props ?: React . SVGProps < SVGSVGElement > ) => {
3
+ export const PlaygroundLogo = ( props ?: React . SVGProps < SVGSVGElement > ) => {
4
4
return (
5
5
< svg
6
6
width = "32"
Original file line number Diff line number Diff line change @@ -14,14 +14,17 @@ import {
14
14
DropdownMenu ,
15
15
} from '@wordpress/components' ;
16
16
import { moreVertical , page } from '@wordpress/icons' ;
17
- import { ClockIcon , WordPressIcon } from '@wp-playground/components' ;
17
+ import {
18
+ PlaygroundLogo ,
19
+ ClockIcon ,
20
+ WordPressIcon ,
21
+ } from '@wp-playground/components' ;
18
22
import {
19
23
setActiveSite ,
20
24
useActiveSite ,
21
25
useAppDispatch ,
22
26
useAppSelector ,
23
27
} from '../../../lib/state/redux/store' ;
24
- import { SiteLogo } from '../../../lib/site-metadata' ;
25
28
import {
26
29
selectSortedSites ,
27
30
selectTemporarySite ,
@@ -100,8 +103,7 @@ export function Sidebar({
100
103
>
101
104
< h1 className = "sr-only" > WordPress Playground</ h1 >
102
105
< div className = { css . sidebarHeader } >
103
- { /* Remove Playground logo because branding isn't finalized. */ }
104
- { /* <Logo className={css.sidebarLogoButton} /> */ }
106
+ < PlaygroundLogo className = { css . sidebarLogo } />
105
107
</ div >
106
108
< DropdownMenu
107
109
className = { css . componentsDropdown }
Original file line number Diff line number Diff line change 77
77
flex-shrink : 0 ;
78
78
}
79
79
80
- .sidebar-logo-button {
81
- cursor : pointer;
80
+ .sidebar-logo {
82
81
border : none;
83
82
background : none;
84
83
margin : 0 ;
Original file line number Diff line number Diff line change 4
4
padding : var (--site-manager-border-width );
5
5
background-color : var (--site-manager-background-color );
6
6
/* Remove Playground background graphic because branding isn't finalized. */
7
- /* background-image: url(../../../public/site-manager-background.svg); */
7
+ background-image : url(../ ../ ../ public/site-manager-background.svg);
8
8
background-position : bottom left;
9
9
background-repeat : no-repeat;
10
10
width : 100% ;
You can’t perform that action at this time.
0 commit comments