Skip to content
Snippets Groups Projects
Commit bf3e116d authored by Gabriel Copat's avatar Gabriel Copat
Browse files

Updated some test data for the buttons

parent 387a71d4
No related branches found
No related tags found
1 merge request!11Resolve "As a user, I want to see all trails across a town and seamlessly move between them."
......@@ -17,10 +17,12 @@ public class Trail {
String description;
int nLandmarks;
int difficulty; //1-5
String imgPath;
public Trail(int id, String name, String description) {
this.id = id;
this.name = name;
this.description = description;
imgPath = "images/trails/trail" + id + ".jpg";
}
}
......@@ -40,13 +40,11 @@
.trailInfoBox {
animation: fadeIn 3s;
padding: 20px;
font-size: xx-large;
}
@keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}
@keyframes fadeGrey {
0% {}
100% { background-color: #656565 }
}
}
\ No newline at end of file
<section th:fragment="trailSection" class="trailInfoBox">
<h1 th:text="${searchList.description}"></h1>
</section>
\ No newline at end of file
<h1 th:text="${searchList.getName()}"></h1>
<p th:text="${searchList.getDescription()}"></p>
</section>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment