Skip to content

Commit

Permalink
Update create event button design
Browse files Browse the repository at this point in the history
  • Loading branch information
trymebytes committed Jun 10, 2024
1 parent 603c8dd commit 3f65b0f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion templates/parts/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,13 @@ function () use ( $html_title, $url, $html_description, $image_url ) {
<?php endif; ?>
<li><a href="<?php echo esc_url( Urls::my_events() ); ?>">My Events</a></li>
<?php if ( current_user_can( 'create_translation_event' ) ) : ?>
<li><a class="button is-primary" href="<?php echo esc_url( Urls::event_create() ); ?>">Create Event</a></li>
<li>
<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex create-event-btn" style="margin-top:var(--wp--preset--spacing--30)">
<div class="wp-block-button is-style-outline">
<a class="wp-block-button__link wp-element-button" href="<?php echo esc_url( Urls::event_create() ); ?>">Create Event</a>
</div>
</div>
</li>
<?php endif; ?>
<?php endif; ?>
</ul>
Expand Down

0 comments on commit 3f65b0f

Please sign in to comment.