Fix link position on test page

This commit is contained in:
Jonathan Abbett 2021-04-16 16:25:16 -04:00
parent ae06540ea0
commit 8663c2ed6c
2 changed files with 6 additions and 6 deletions

View File

@ -10,9 +10,9 @@ Abraham makes it easy to show guided tours to users of your Rails application. W
* Define tour content with simple YAML files, in any/many languages.
* Organize tours by controller and action.
* Trigger tours automatically on page load or manually via JavaScript event.
* Trigger tours automatically on page load or manually via JavaScript method.
* Built with the [Shepherd JS](https://shepherdjs.dev/) library. Plays nicely with Turbolinks.
* Ships with two basic CSS themes (default & dark) -- or write your own
* Ships with two basic CSS themes (default & dark) or write your own
## Requirements
@ -195,7 +195,7 @@ We provide a [small example app](https://github.com/actmd/abraham-example) that
## Upgrading from version 1
Abraham v1 was built using Shepherd 1.8, v2 now uses Shepherd 6 -- quite a jump, yes.
Abraham v1 was built using Shepherd 1.8, v2 now uses Shepherd 6 quite a jump, yes.
If you were using Abraham v1, you'll want to take the following steps to upgrade:

View File

@ -1,6 +1,8 @@
<h1>Dashboard#home</h1>
<p>Find me in app/views/dashboard/home.html.erb</p>
<%= link_to "Other Page", dashboard_other_url %>
<div class="notice-me" style="width:300px;height:300px;background-color:whitesmoke;">
a content element to notice
</div>
@ -21,6 +23,4 @@
document.querySelector("#show_another_manual").addEventListener("click", function() {
Abraham.startTour("another_manual_tour");
});
</script>
<%= link_to "Other Page", dashboard_other_url %>
</script>