Skip to content

Commit

Permalink
stack column in smaller screens
Browse files Browse the repository at this point in the history
  • Loading branch information
amtuannguyen committed Jan 7, 2025
1 parent 4a58f15 commit ec833d1
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions app/views/root/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,22 @@
</div>

<div class="container">
<div class="row row-cols-2">
<div class="col">
<div class="row">
<div class="col-md">
<h5 class="border-bottom pb-2">Passport York</h5>
<p class="text-muted">
Current York University students, faculty, and staff will normally have a Passport York account and a library card (in the form of a YU-card for students and some employee groups) through which they will be authenticated as authorized York University users.
</p>
<p class="text-center">
<a href="<%= ppy_login_path %>" class="btn btn-primary">Login with Passport York</a>
</p>
</div>
<div class="col">
<div class="col-md">
<h5 class="border-bottom pb-2">Library Barcode and Password</h5>
<p class="text-muted">
Other members of the York University community who do not have a Passport York account will need to authenticate using the barcode number on their library card and password.
</p>
</div>
<div class="col">
<p class="text-center">
<a href="<%= ppy_login_path %>" class="btn btn-primary">Login with Passport York</a>
</p>
</div>
<div class="col">
<br>
<p class="text-center">
<a href="<%= new_user_session_path %>" class="btn btn-secondary">Login with Library Barcode</a>
</p>
Expand Down

0 comments on commit ec833d1

Please sign in to comment.