import { mergeProps } from 'solid-js'

export function Web3StorageIconSVG(_props) {
	const props = mergeProps({ color: 'white' }, _props)
	return (
		<svg w-8 h-8 mr-10 text-white class='site-logo-image' viewBox='0 0 27.2 27.18' xmlns='http://www.w3.org/2000/svg'>
			<path
				d='M13.6 27.18A13.59 13.59 0 1127.2 13.6a13.61 13.61 0 01-13.6 13.58zM13.6 2a11.59 11.59 0 1011.6 11.6A11.62 11.62 0 0013.6 2z'
				fill={props.color}
			/>
			<path
				d='M12.82 9.9v2.53h1.6V9.9l2.09 1.21.77-1.21-2.16-1.32 2.16-1.32-.77-1.21-2.09 1.21V4.73h-1.6v2.53l-2-1.21L10 7.26l2.2 1.32L10 9.9l.78 1.21zM18 17.79v2.52h1.56v-2.52L21.63 19l.78-1.2-2.16-1.33 2.16-1.28-.78-1.19-2.08 1.2v-2.58H18v2.56L15.9 14l-.77 1.2 2.16 1.32-2.16 1.33.77 1.15zM8.13 17.79v2.52h1.56v-2.52L11.82 19l.77-1.2-2.16-1.33 2.12-1.28-.73-1.24-2.13 1.23v-2.56H8.13v2.56L6.05 14l-.78 1.2 2.16 1.3-2.16 1.33.78 1.17z'
				fill={props.color}
			/>
		</svg>
	)
}

export function DialogLabel() {
	return (
		<div flex='~ row' slot='label'>
			<Web3StorageIconSVG />
			Agent and Storage Setup
		</div>
	)
}
