|
|
|
|
@ -72,6 +72,13 @@ export default class SiteSwitcher extends React.Component {
|
|
|
|
|
<div className="py-1">
|
|
|
|
|
{ this.state.sites.map(this.renderSiteLink.bind(this)) }
|
|
|
|
|
</div>
|
|
|
|
|
<div className="border-t border-gray-200 dark:border-gray-500"></div>
|
|
|
|
|
<div className="py-1">
|
|
|
|
|
<a href='/sites/new' className="group flex items-center px-4 py-2 md:text-sm leading-5 text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-900 hover:text-gray-900 dark:hover:text-gray-100 focus:outline-none focus:bg-gray-100 dark:focus:bg-gray-900 focus:text-gray-900 dark:focus:text-gray-100" role="menuitem">
|
|
|
|
|
<svg className="mr-2 h-4 w-4 text-gray-500 dark:text-gray-200 group-hover:text-gray-600 dark:group-hover:text-gray-400 group-focus:text-gray-500 dark:group-focus:text-gray-200" fill="none" stroke="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6"></path></svg>
|
|
|
|
|
Add Site
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</React.Fragment>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|