<?php
$menu_args = array(
    'theme_location' => 'laniakea-pre-header-menu',
    'depth' => 0,
    'container_class' => 'laniakea-pre-menu d-flex',
    'menu_class' => 'd-flex',
    'fallback_cb' => 'wp_page_menu'
);

?>
<div class="pre-header">
    <div class="contained d-flex justify-right">
        <?php wp_nav_menu($menu_args); ?>
    </div>
</div>