{% load i18n %}

<script nonce="{{request.csp_nonce}}">
const initiateTour = new Shepherd.Tour({
    exitOnEsc: true,
});

function checkResponsiveState(anchor) {
    let menu = document.querySelector('#navbar-dropdown');
    let display = window.getComputedStyle(menu).display;
    return display == 'flex' ? anchor : '.navbar-burger';
}

initiateTour.addSteps([
    {
        text: "{% trans 'Welcome to Bookwyrm!<br><br>Would you like to take the guided tour to help you get started?' %}",
            title: 