Skip to content

Commit 15032aa

Browse files
committed
Link to collection pages from the project page
1 parent 8ed6a40 commit 15032aa

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

lib/html-assets/project.html

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,28 @@
113113
<div class="flex-1 text-sm font-semibold leading-6 text-gray-900">Caliber</div>
114114
</div>
115115

116-
<main class="py-10 lg:pl-72">
117-
<div class="px-4 sm:px-6 lg:px-8">
118-
<div class="mx-auto max-w-2xl text-center">
119-
<h2 class="mt-2 text-4xl font-bold tracking-tight text-gray-900 sm:text-6xl">{{project_name}}</h2>
116+
<main class="py-10 lg:pl-72">
117+
<div class="px-4 sm:px-6 lg:px-8">
118+
<div class="mx-auto max-w-2xl text-center">
119+
<h2 class="mt-2 text-4xl font-bold tracking-tight text-gray-900 sm:text-6xl">{{project_name}}</h2>
120+
<div class="max-w-lg mx-auto">
121+
<p class="py-10 max-w-lg mx-auto">
122+
Choose one of the benchmark collections to view the results
123+
</p>
124+
<div class="bg-white rounded-lg border border-gray-200 w-48 text-gray-900 text-sm font-medium">
125+
<div class="mt-2 space-y-2">
126+
{{#collections}}
127+
<a href="{{project_name}}--{{.}}.html" class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ . }}</a>
128+
{{/collections}}
129+
</div>
130+
</div>
131+
</div>
132+
</div>
120133
</div>
121134
</div>
122135
</main>
123136
</div>
124137
</div>
125138
</body>
126139

127-
</html>
140+
</html>

0 commit comments

Comments
 (0)