Skip to content

Commit 4e01c65

Browse files
author
Jon Myrick
authored
Merge pull request CodewarsClone#121 from CodewarsClone/voting
Voting
2 parents d6b9af3 + df68ddf commit 4e01c65

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

src/components/home/home.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,12 @@ <h6 class="font16-reg-efefef">Upgrade To Clonewars Red!</h6>
6868
</div>
6969
</div>
7070
<div class='home-solutions-div'>
71-
<p class="font16-reg-efefef show-solutions">Your solutions:</p>
71+
<div class="home-solution-button-div">
72+
<p class="font16-reg-efefef show-solutions">Your solutions</p>
73+
<a class="font16-reg-efefef" id="kata-name" href="/#/solutions/{{kata.id}}">
74+
<p>See Other Solutions</p>
75+
</a>
76+
</div>
7277
<div class="home-repeated-solutions-div">
7378
<textarea class="solution-text repeated-completed-solutions-home" id="{{$index}}" codemirror-directive>
7479
</textarea>

src/components/home/home.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,17 @@ $grey-color: #C0C0C0;
193193
margin-top: 5px;
194194
}
195195

196+
.home-solution-button-div {
197+
display: flex;
198+
}
199+
196200
.show-solutions {
197201
cursor: pointer;
202+
margin-right: 30px;
203+
}
204+
205+
.show-solutions:hover {
206+
color: $blue-color;
198207
}
199208

200209
.home-repeated-solutions-div {

0 commit comments

Comments
 (0)