Skip to content

Commit dde4ee0

Browse files
committed
Add splash page
1 parent 03f520d commit dde4ee0

File tree

5 files changed

+136
-20
lines changed

5 files changed

+136
-20
lines changed

docs/assets/splash.png

2.56 MB
Loading

docs/implementation_details.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ To submit issues or suggestions, please use our provided templates:
2323
* [Request a feature](https://github.com/VectorInstitute/reference-implementation-catalog/issues/new?template=feature_request.md) - for suggesting improvements or new additions
2424

2525
For any questions, please reach out to the AI Engineering team at Vector Institute.
26+
27+
<div style="margin-bottom: 4rem;"></div>

docs/index.md

Lines changed: 70 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,73 @@
1-
# Vector Institute Reference Implementation Catalog
2-
3-
<div class="catalog-header" markdown>
4-
Welcome to the Vector Institute Reference Implementation Catalog!
5-
The catalog is a curated collection of high quality implementations
6-
developed by researchers and engineers at the Vector Institute. This catalog provides
7-
access to repositories that demonstrate state-of-the-art techniques across a wide
8-
range of AI domains.
1+
---
2+
hide:
3+
- navigation
4+
- toc
5+
---
6+
7+
<!-- Hero section with background image -->
8+
<div class="hero-section" markdown>
9+
<div class="hero-content">
10+
<h1></h1>
11+
<p>A curated collection of high-quality AI implementations developed by researchers and engineers at the Vector Institute</p>
12+
<a href="#browse-implementations-by-year" class="md-button md-button--primary">Browse Implementations</a>
13+
<a href="https://github.com/VectorInstitute/reference-implementation-catalog" class="md-button md-button--primary">View on GitHub</a>
14+
</div>
915
</div>
1016

11-
<div class="catalog-stats">
12-
<div class="stat">
13-
<div class="stat-number">100+</div>
17+
<!-- Custom styling for the hero section -->
1418
<style>
19+
.hero-section {
20+
position: relative;
21+
padding: 5rem 4rem;
22+
text-align: center;
23+
color: white;
24+
background-color: var(--md-primary-fg-color);
25+
background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('assets/splash.png');
26+
background-size: cover;
27+
background-position: center;
28+
display: flex;
29+
justify-content: center;
30+
align-items: center;
31+
margin: 0; /* Remove margins */
32+
padding: 0;
33+
width: 100vw; /* Full viewport width */
34+
max-width: 100vw;
35+
position: relative;
36+
left: 50%;
37+
right: 50%;
38+
margin-left: -50vw;
39+
margin-right: -50vw;
40+
min-height: 70vh;
41+
}
42+
43+
.hero-content {
44+
max-width: 800px;
45+
z-index: 10;
46+
}
47+
48+
.hero-content h1 {
49+
font-size: 3rem;
50+
margin-bottom: 1rem;
51+
text-shadow: 0 2px 8px rgba(0,0,0,0.7);
52+
font-weight: 600;
53+
letter-spacing: 0.5px;
54+
color: #ffffff;
55+
font-family: 'Roboto', sans-serif;
56+
}
57+
58+
.hero-content p {
59+
font-size: 1.5rem;
60+
margin-bottom: 2rem;
61+
text-shadow: 0 2px 6px rgba(0,0,0,0.7);
62+
max-width: 700px;
63+
margin-left: auto;
64+
margin-right: auto;
65+
line-height: 1.4;
66+
color: #f8f8f8;
67+
font-family: 'Roboto', sans-serif;
68+
font-weight: 300;
69+
}
70+
1571
.dataset-tag {
1672
display: inline-block;
1773
background-color: #6a5acd;
@@ -26,6 +82,9 @@ range of AI domains.
2682
}
2783
</style>
2884

85+
<div class="catalog-stats">
86+
<div class="stat">
87+
<div class="stat-number">100+</div>
2988
<div class="stat-label">Reference Implementations</div>
3089
</div>
3190
<div class="stat">
@@ -456,4 +515,3 @@ range of AI domains.
456515
</div>
457516

458517
</div>
459-

docs/stylesheets/extra.css

Lines changed: 59 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* Vector brand colors */
22
[data-md-color-primary="vector"] {
3-
--md-primary-fg-color: #eb088a;
4-
--md-primary-fg-color--light: #f252a5;
5-
--md-primary-fg-color--dark: #b00068;
3+
--md-primary-fg-color: #c30672; /* Darker pink */
4+
--md-primary-fg-color--light: #d83a8e; /* Adjusted lighter shade */
5+
--md-primary-fg-color--dark: #9a0058; /* Adjusted darker shade */
66
--md-primary-bg-color: hsla(0, 0%, 100%, 1);
77
--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7);
88
}
@@ -52,6 +52,35 @@
5252
opacity: 1;
5353
}
5454

55+
/* Hero button styling */
56+
.md-button {
57+
display: inline-block;
58+
padding: 0.625em 1.25em;
59+
font-size: 0.85em;
60+
font-weight: 700;
61+
text-align: center;
62+
text-transform: uppercase;
63+
border-radius: 0.25em;
64+
transition: all 0.25s;
65+
box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
66+
cursor: pointer;
67+
margin: 0.5em;
68+
}
69+
70+
.md-button--primary {
71+
background-color: var(--md-primary-fg-color);
72+
border: 0.1em solid var(--md-primary-fg-color);
73+
color: var(--md-primary-bg-color);
74+
}
75+
76+
.md-button:hover {
77+
background-color: var(--md-accent-fg-color);
78+
border-color: var(--md-accent-fg-color);
79+
color: var(--md-primary-bg-color);
80+
transform: translateY(-1px);
81+
box-shadow: 0 4px 8px 0 rgba(0,0,0,.3);
82+
}
83+
5584
/* Make the inner footer grid elements distribute evenly */
5685
.md-footer-meta__inner {
5786
display: flex;
@@ -259,18 +288,40 @@
259288
.md-content {
260289
max-width: 100% !important;
261290
width: 100% !important;
291+
margin: 0 !important;
292+
padding: 0 !important;
293+
overflow-x: hidden !important;
262294
}
263295

264296
.md-content__inner {
265-
margin: 0 auto !important;
266-
padding: 0 1rem !important;
297+
margin: 0 !important;
298+
padding: 0 !important;
267299
max-width: 100% !important;
268300
width: 100% !important;
301+
overflow-x: hidden !important;
302+
}
303+
304+
/* Add padding to main content area, except for the hero section */
305+
.md-content__inner > *:not(.hero-section):not(style) {
306+
padding-left: 3rem !important;
307+
padding-right: 3rem !important;
269308
}
270309

271310
.md-grid {
272311
max-width: 100% !important;
273312
width: 100% !important;
313+
margin: 0 !important;
314+
}
315+
316+
/* Override any max-width restriction */
317+
.md-main {
318+
max-width: 100% !important;
319+
width: 100vw !important;
320+
overflow-x: hidden !important;
321+
}
322+
323+
body {
324+
overflow-x: hidden !important;
274325
}
275326

276327
/* Overwrite any container width limitations */
@@ -350,7 +401,8 @@
350401

351402
/* Header logo styling */
352403
.md-header__button.md-logo img {
353-
height: 2rem;
404+
height: 1.8rem;
354405
width: auto;
355-
opacity: 0.9;
406+
opacity: 1;
407+
padding: 0.2rem;
356408
}

mkdocs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,13 @@ theme:
5454
- toc.follow
5555
- navigation.expand
5656
- header.autohide
57+
- navigation.instant.progress
58+
- navigation.path
59+
- navigation.prune
60+
- content.tabs.link
5761
icon:
5862
repo: fontawesome/brands/github
59-
logo: assets/reference-implementations-logo.png
63+
logo: assets/vector-logo.svg
6064
logo_footer: assets/vector-logo.svg
6165
name: material
6266
palette:

0 commit comments

Comments
 (0)