summaryrefslogtreecommitdiff
path: root/Views
diff options
context:
space:
mode:
Diffstat (limited to 'Views')
-rw-r--r--Views/Bundle/Show.cshtml14
-rw-r--r--Views/Home/Index.cshtml2
2 files changed, 15 insertions, 1 deletions
diff --git a/Views/Bundle/Show.cshtml b/Views/Bundle/Show.cshtml
new file mode 100644
index 0000000..8d3e055
--- /dev/null
+++ b/Views/Bundle/Show.cshtml
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+
+<html>
+
+<head>
+ <title>@Model?.Name</title>
+</head>
+
+<body>
+ <p>@Model?.Name</p>
+ <p>@Model?.Description</p>
+</body>
+
+</html>
diff --git a/Views/Home/Index.cshtml b/Views/Home/Index.cshtml
index cd9f21f..71e16da 100644
--- a/Views/Home/Index.cshtml
+++ b/Views/Home/Index.cshtml
@@ -71,7 +71,7 @@
{
<div class="col mb-5">
<div class="card h-100">
- <img class="card-img-top" src="@bundle.Figures.FirstOrDefault().FilePath" alt="..." />
+ <a href="/bundle/show/@bundle.Id"><img class="card-img-top" src="@bundle.Figures.FirstOrDefault()?.FilePath" alt="..." /></a>
<div class="card-body p-4">
<div class="text-center">
<h5 class="fw-bolder">@bundle.Name</h5>