<?php
if(wire('user')->hasPermission('page-edit')) {
    $userBar .= '
    <a href="'.wire('config')->urls->admin.'" title="Admin">
        <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 20 20.2" enable-background="new 0 0 20 20.2" xml:space="preserve">
            <g>
            <path fill="none" stroke="'.\TracyDebugger::getDataValue("userBarIconColor").'" stroke-width="4.2" stroke-miterlimit="10" d="M5.8,9.8"/>
            <path fill="none" stroke="'.\TracyDebugger::getDataValue("userBarIconColor").'" stroke-width="4.2" stroke-miterlimit="10" d="M5.9,11.3"/>
            <path fill="'.\TracyDebugger::getDataValue("userBarIconColor").'" d="M11.1,11.8c-0.3,0.2-0.6,0.4-0.8,0.4c-0.4,0.1-0.9,0.2-1.3,0.2c-0.1,0-0.1,0-0.1,0.1l-0.1,0.7
                C8.7,13.7,9,13.9,9.1,14c0.6,0.2,1.1,0.2,1.6,0.2c0.6,0,1.1-0.2,1.6-0.5l-0.9-2.3C11.3,11.6,11.2,11.7,11.1,11.8z"/>
            <path fill="'.\TracyDebugger::getDataValue("userBarIconColor").'" d="M19.8,7.9c-0.2-1.2-0.8-2.5-1.5-3.5c-0.6-0.9-1.6-2-2.6-2.6c-2.1-1.5-4.5-2-6.7-1.7C6.7,0.3,4.8,1.1,3.2,2.6
                C1.7,3.9,0.8,5.5,0.3,7c-0.4,1.5-0.4,3-0.2,4c0.2,1.1,0.7,2.5,0.7,2.5c0.1,0.3,0.3,0.4,0.3,0.4c0.4,0.2,1.1,0,1.6-0.6
                c-0.1-0.6-0.2-1-0.2-1.3c-0.1-0.6-0.2-1.6-0.1-2.6c0-0.5,0.1-1.1,0.3-1.6C3,6.7,3.8,5.5,4.9,4.5c1.2-1.1,2.7-1.7,4.2-1.9
                c0.5-0.1,1.5-0.1,2.7,0.2c0.3,0.1,1.3,0.3,2.5,1.1c0.8,0.6,1.5,1.3,2,2c0.5,0.7,1,1.8,1.1,2.6c0.2,0.9,0.2,1.9,0.1,2.9
                c-0.2,1-0.5,1.9-1.1,2.7c-0.4,0.6-1.1,1.5-2,2.1c-0.8,0.6-1.7,1-2.6,1.2c-0.5,0.1-1,0.2-1.4,0.2c-0.4,0-1,0-1.4-0.1
                c-0.6-0.1-0.7-0.3-0.9-0.5c0,0-0.1-0.2-0.1-0.6c0-3.7,0-2.7,0-4.6c0-0.5,0-1,0-1.5c0-0.7,0.1-1.2,0.6-1.8C8.8,8.3,9.4,8,9.9,8
                c0.2,0,0.8,0,1.3,0.5c0.6,0.5,0.7,1.1,0.7,1.3c0.1,0.7-0.2,1.3-0.5,1.7c0.1,0.7,0.4,1.4,0.9,2.3c0.3-0.2,0.6-0.4,0.9-0.7
                c0.6-0.6,1-1.4,1.1-2.2c0.1-0.9,0-2-0.5-2.8c-0.5-0.9-1.3-1.7-2.3-2.2c-1.1-0.4-1.9-0.4-3-0.2C7.9,6,7.3,6.3,6.6,6.9
                c-0.4,0.5-0.8,1-1,1.6c-0.2,0.6-0.3,1.1-0.3,1.8c0,0.5,0,1,0,1.5c0,0.5,0,1,0,1.5c0,0.5,0,1,0,1.6c0,1,0,1.2,0,1.7
                c0,0.3,0.1,0.7,0.2,1.1C5.7,18.3,6,18.8,6.3,19c0.3,0.3,0.7,0.6,1.1,0.8c0.9,0.4,2.1,0.5,3,0.4c0.6,0,1.3-0.1,1.9-0.3
                c1.3-0.3,2.5-0.8,3.5-1.6c1.1-0.8,2.1-1.9,2.7-2.9c0.7-1.1,1.2-2.4,1.4-3.6C20.1,10.5,20.1,9.2,19.8,7.9z"/>
            </g>
        </svg>
    </a>';
}