mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
21 lines
979 B
Text
21 lines
979 B
Text
<% if user_signed_in? %>
|
|
<div data-controller="onboarding-modal"
|
|
data-onboarding-modal-showable-value="<%= onboarding_modal_showable?(current_user) %>">
|
|
<dialog id="getting_started" class="modal" data-onboarding-modal-target="modal">
|
|
<div class="modal-box">
|
|
<h3 class="text-lg font-bold">Start tracking your location!</h3>
|
|
<p class="py-4">
|
|
To start tracking your location and putting it on the map, you need to configure your mobile application.
|
|
</p>
|
|
<p>
|
|
To do so, grab the API key from <%= link_to 'here', settings_path, class: 'link' %> and follow the instructions in the <%= link_to 'documentation', 'https://dawarich.app/docs/tutorials/track-your-location?utm_source=app&utm_medium=referral&utm_campaign=onboarding', class: 'link' %>.
|
|
</p>
|
|
<div class="modal-action">
|
|
<form method="dialog">
|
|
<button class="btn">Close</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</dialog>
|
|
</div>
|
|
<% end %>
|