<?php
$home = home_url('/');
$logo_image_id = breek_lite_get_option('logo_image');
$logo_image_url = $logo_image_id ? wp_get_attachment_image_url( $logo_image_id, 'full' ) : '';
?>
<?php if( breek_lite_get_option('logo_type') == 1 && breek_lite_get_option('logo_image') ): ?>
    <div class="logo">
        <a href="<?php echo esc_url( $home ); ?>"><img src="<?php echo esc_url( $logo_image_url ); ?>" alt="<?php bloginfo('name'); ?>" width="<?php echo esc_attr( breek_lite_get_option('logo_width') ); ?>" /></a>
    </div>
<?php else: ?>
    <div class="logo text-logo">
        <a href="<?php echo esc_url( $home ); ?>" class="title white no-margin">
            <?php bloginfo('name'); ?>
        </a>
    </div>
<?php endif; ?>