File "index.js"
Full Path: /home/warrior1/public_html/languages/wp-content/plugins/astra-sites/inc/lib/onboarding/assets/src/components/logo/index.js
File size: 677 bytes
MIME-type: text/plain
Charset: utf-8
import React from 'react';
import { __ } from '@wordpress/i18n';
import { Logo as SiteLogo } from '@brainstormforce/starter-templates-components';
import './style.scss';
import { whiteLabelEnabled, getWhileLabelName } from '../../utils/functions';
const { imageDir } = starterTemplates;
const Logo = () => {
return (
<div className="branding-wrap">
{ whiteLabelEnabled() ? (
<h3>{ getWhileLabelName() }</h3>
) : (
<SiteLogo
className="ist-logo"
src={ `${ imageDir }logo.svg` }
alt={ __( 'Starter Templates', 'astra-sites' ) }
href={ astraSitesVars.st_page_url }
/>
) }
</div>
);
};
export default Logo;