Skip to content

Commit

Permalink
imptove styles
Browse files Browse the repository at this point in the history
  • Loading branch information
liz4chernyshova committed Feb 27, 2024
1 parent cef8f47 commit ffdd9bc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
6 changes: 3 additions & 3 deletions app/views/layouts/application.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ html.h-100 lang="#{I18n.locale}"
.col-md-12
= yield
- else
.col-md-9
.col-lg-9
- if content_for?(:header)
h1.mb-5 = yield :header
= yield
.col-md-3
.bg-light.rounded.py-2.px-3
.col-lg-3
.bg-light.rounded.py-2.px-3.mt-5
= render 'layouts/shared/last_answers'

= render 'layouts/shared/footer'
15 changes: 10 additions & 5 deletions app/views/web/resumes/_answer_requires.html.slim
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
.card.shadow-sm
.card-body.d-flex
.lead.me-auto.my-auto = t('.write_answer')
.my-1
= link_to t('.sign_in'), new_user_session_path, class: 'btn btn-primary btn-lg m-2'
= link_to t('.sign_up'), new_user_registration_path, class: 'btn btn-primary btn-lg ms-2'
.card-body
.row.align-items-center
.col-lg-8.col-xl-7
.lead.me-auto.my-auto = t('.write_answer')
.col-lg-4.col-xl-5
.row.row-cols-1.row-cols-sm-2.row-cols-lg-1.row-cols-xl-2.mt-2.mt-lg-0.gy-2
.col
= link_to t('.sign_in'), new_user_session_path, class: 'btn btn-primary fs-5 w-100'
.col
= link_to t('.sign_up'), new_user_registration_path, class: 'btn btn-primary fs-5 w-100'
4 changes: 2 additions & 2 deletions app/views/web/resumes/_information.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

hr.my-auto

.row.mb-3
.row.mb-3.pt-3
.col-sm-3
b = han('resume', 'summary')
.col-sm-9.hexlet-cv-content
Expand Down Expand Up @@ -101,7 +101,7 @@ hr.my-auto

hr.my-auto

.row.mb-3
.row.mb-3.pt-3
.col-sm-3
b = han('resume', 'about_myself')
.col-sm-9.hexlet-cv-content
Expand Down

0 comments on commit ffdd9bc

Please sign in to comment.