coach wording and style

This commit is contained in:
Thibault Duplessis 2016-09-01 19:34:42 +02:00
parent db1d6c0f6a
commit 983477f329
4 changed files with 11 additions and 6 deletions

View file

@ -16,7 +16,9 @@
<a href="@routes.Puzzle.home">@trans.training()</a>
<a href="@routes.Coordinate.home">@trans.coordinates()</a>
<a href="@routes.Study.allDefault(1)">Study</a>
@if(isGranted(_.Coach)) {
<a href="@routes.Coach.allDefault(1)">Chess coaches</a>
}
</div>
</section>
<section>

View file

@ -3,9 +3,9 @@
@side = {
<div class="coach-intro">
<img src="@staticUrl("images/icons/certification.svg")" class="certification" />
<h2>Selected coaches</h2>
<h2>Certified coaches</h2>
<p>
We have curated for you this list of the best online chess coaches.
We have curated this list of the best online chess coaches.
</p>
<p>
All of these renowned players have great chess skills,
@ -13,7 +13,7 @@
</p>
<p>
You cannot go wrong with them, so
make your choice, and enjoy learning chess!
make your choice and enjoy learning chess!
</p>
</div>
<div class="coach-add">

View file

@ -8,7 +8,7 @@
</div>
} else {
@if(ctx.isAuth) {
<button class="button toggle">Review this coach</button>
<a class="button toggle">Write a review</a>
} else {
<a href="@routes.Auth.login?autoref=1" class="button">Review this coach</a>
}

View file

@ -114,6 +114,9 @@ body.dark .coach .studies h1 {
margin-top: 30px;
text-align: center;
}
.review-form .toggle {
box-sizing: border-box;
}
.review-form form {
display: none;
}
@ -130,7 +133,7 @@ body.dark .coach .studies h1 {
margin-top: 5px;
}
.reviews {
margin-top: 20px;
margin: 20px 0;
}
.reviews h2 {
font-size: 1.5em;
@ -139,7 +142,7 @@ body.dark .coach .studies h1 {
}
.reviews .review {
margin-top: 15px;
border-top: 1px solid #ccc;
border-top: 1px solid #dadada;
padding-top: 15px;
}
.reviews .top {