Skip to content

Commit de72dfd

Browse files
committed
framework for seahawk feature showcase
1 parent 9a5577c commit de72dfd

File tree

8 files changed

+40
-4
lines changed

8 files changed

+40
-4
lines changed

_includes/seahawk-II-rov-features.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<section class="section" id="rov-features">
1+
<section class="section" id="seahawk-II-rov-features">
22
<div class="container">
33
<h2 class="title has-text-left has-text-white-ter is-size-2 has-text-weight-bold mgb-medium">
44
ROV Features
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<section class="section" id="seahawk-rov-features">
2+
<div class="container">
3+
<h2 class="title has-text-left has-text-white-ter is-size-2 has-text-weight-bold mgb-medium">
4+
ROV Features
5+
</h2>
6+
</div>
7+
</section>

_includes/seahawk.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<div class="container">
2+
<section class="hero" id="seahawk-info-graphic">
3+
<figure class="hero-background" style="background-image: url('https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/14d24d1b212df580f18441c23426d07a719ebab4/assets/images/seahawk-II/seahawk-II-info-graphic.webp');">
4+
</figure>
5+
</section>
6+
</div>
7+
8+
{% include seahawk-rov-features.html %}

_site/assets/css/style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_site/assets/css/style.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/style.scss

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ body { background-color: var(--background); }
279279
}
280280
}
281281

282-
#rov-features {
282+
#seahawk-II-rov-features {
283283
.features {
284284
display: flex;
285285
flex-wrap: wrap;
@@ -351,6 +351,26 @@ body { background-color: var(--background); }
351351
}
352352
}
353353

354+
#seahawk-info-graphic {
355+
position: relative;
356+
height: 80vh;
357+
overflow: hidden;
358+
display: flex;
359+
align-items: center;
360+
justify-content: center;
361+
362+
.hero-background {
363+
width: 100%;
364+
height: 100%;
365+
background-size: contain;
366+
background-position: center;
367+
background-repeat: no-repeat;
368+
position: absolute;
369+
top: 0;
370+
left: 0;
371+
}
372+
}
373+
354374
#about {
355375
// three buttons in a line, flexible sizes
356376
.buttons {
192 KB
Loading

seahawk.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ subtitle: "Pioneer First Place Overall MATE World Championship"
88
hero-image: https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/what-a-theme-test/assets/images/seahawk/seahawk-hero.webp
99
description: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
1010
pdf: technical-report-2023.pdf
11+
showcase: "seahawk.html"
1112
gallery:
1213
- image: https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/what-a-theme-test/assets/images/seahawk/gallery-seahawk/bonus-mission.webp
1314
text: Cabrillo Robotics at the Bonus Mission

0 commit comments

Comments
 (0)