Skip to content

Commit

Permalink
replace header with fmb logo
Browse files Browse the repository at this point in the history
  • Loading branch information
JuzerShakir committed Dec 28, 2023
1 parent cc1bcf6 commit 2105d4c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/sessions/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<% content_for :title, "Login" %>

<%# * Heading %>
<h2 class="heading fs-1">Faiz al-Mawaid al-Burhaniyah</h2>
<div class="text-center">
<%= image_tag("fmb-logo-full.png", alt: "FMB logo", id: "home__header-logo") %>
</div>

<%# * Login Form %>
<%= render "form" %>
4 changes: 4 additions & 0 deletions spec/features/sessions/new_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@

it { expect(page).to have_title "Login" }

it "logo" do
expect(page).to have_css("img[src*='fmb-logo-full']")
end

it "shows footer" do
expect(page).to have_css("#footer")
end
Expand Down

0 comments on commit 2105d4c

Please sign in to comment.