File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed
website/src/components/site-manager Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22
3- export const playgroundLogo = ( props ?: React . SVGProps < SVGSVGElement > ) => {
3+ export const PlaygroundLogo = ( props ?: React . SVGProps < SVGSVGElement > ) => {
44 return (
55 < svg
66 width = "32"
Original file line number Diff line number Diff line change @@ -14,14 +14,17 @@ import {
1414 DropdownMenu ,
1515} from '@wordpress/components' ;
1616import { 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' ;
1822import {
1923 setActiveSite ,
2024 useActiveSite ,
2125 useAppDispatch ,
2226 useAppSelector ,
2327} from '../../../lib/state/redux/store' ;
24- import { SiteLogo } from '../../../lib/site-metadata' ;
2528import {
2629 selectSortedSites ,
2730 selectTemporarySite ,
@@ -100,8 +103,7 @@ export function Sidebar({
100103 >
101104 < h1 className = "sr-only" > WordPress Playground</ h1 >
102105 < div className = { css . sidebarHeader } >
103- { /* Remove Playground logo because branding isn't finalized. */ }
104- { /* <Logo className={css.sidebarLogoButton} /> */ }
106+ < PlaygroundLogo className = { css . sidebarLogo } />
105107 </ div >
106108 < DropdownMenu
107109 className = { css . componentsDropdown }
Original file line number Diff line number Diff line change 7777 flex-shrink : 0 ;
7878}
7979
80- .sidebar-logo-button {
81- cursor : pointer;
80+ .sidebar-logo {
8281 border : none;
8382 background : none;
8483 margin : 0 ;
Original file line number Diff line number Diff line change 44 padding : var (--site-manager-border-width );
55 background-color : var (--site-manager-background-color );
66 /* 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);
88 background-position : bottom left;
99 background-repeat : no-repeat;
1010 width : 100% ;
You can’t perform that action at this time.
0 commit comments