Skip to content

Commit

Permalink
Restore the branding UI elements
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Nov 22, 2024
1 parent 2c1b687 commit 481f18f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/playground/components/src/icons.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

export const playgroundLogo = (props?: React.SVGProps<SVGSVGElement>) => {
export const PlaygroundLogo = (props?: React.SVGProps<SVGSVGElement>) => {
return (
<svg
width="32"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ import {
DropdownMenu,
} from '@wordpress/components';
import { moreVertical, page } from '@wordpress/icons';
import { ClockIcon, WordPressIcon } from '@wp-playground/components';
import {
PlaygroundLogo,
ClockIcon,
WordPressIcon,
} from '@wp-playground/components';
import {
setActiveSite,
useActiveSite,
useAppDispatch,
useAppSelector,
} from '../../../lib/state/redux/store';
import { SiteLogo } from '../../../lib/site-metadata';
import {
selectSortedSites,
selectTemporarySite,
Expand Down Expand Up @@ -100,8 +103,7 @@ export function Sidebar({
>
<h1 className="sr-only">WordPress Playground</h1>
<div className={css.sidebarHeader}>
{/* Remove Playground logo because branding isn't finalized. */}
{/* <Logo className={css.sidebarLogoButton} /> */}
<PlaygroundLogo className={css.sidebarLogo} />
</div>
<DropdownMenu
className={css.componentsDropdown}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@
flex-shrink: 0;
}

.sidebar-logo-button {
cursor: pointer;
.sidebar-logo {
border: none;
background: none;
margin: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
padding: var(--site-manager-border-width);
background-color: var(--site-manager-background-color);
/* Remove Playground background graphic because branding isn't finalized. */
/* background-image: url(../../../public/site-manager-background.svg); */
background-image: url(../../../public/site-manager-background.svg);
background-position: bottom left;
background-repeat: no-repeat;
width: 100%;
Expand Down

0 comments on commit 481f18f

Please sign in to comment.