🐞 fix: Fix mobile issues, enablke deploy on push #skipGA
This commit is contained in:
+4
-1
@@ -13,6 +13,9 @@ global $views;
|
||||
$headerLogo = getFieldValue( 'header.header_logo.url' ) ? getFieldValue( 'header.header_logo.url' ) : get_theme_file_uri( '/static/img/logo.svg' );
|
||||
$linkResume = getFieldValue( 'header.resume_link' ) ? getFieldValue( 'header.resume_link' ) : '';
|
||||
|
||||
// Expose resume link to the main nav component (used by the mobile menu's footer area).
|
||||
$GLOBALS['ks_portfolio_link_resume'] = $linkResume;
|
||||
|
||||
// Check conditions for displaying the hero section
|
||||
$showHero = in_array(
|
||||
true,
|
||||
@@ -53,7 +56,7 @@ $showHero = in_array(
|
||||
|
||||
<?php get_template_part( 'views/components/nav-main' ); ?>
|
||||
|
||||
<div class="site-header__aux">
|
||||
<div class="site-header__aux hidden lg:flex">
|
||||
<a class="button button--outline" href="<?php echo esc_url( $linkResume ); ?>">
|
||||
<?php echo esc_html__( 'Resume', 'ks-portfolio' ); ?>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user