Skip to content

Commit 329edcd

Browse files
committed
Aaaaaaaaaaaaaaaaaaaa
1 parent 6dd1ff2 commit 329edcd

File tree

7 files changed

+29
-4
lines changed

7 files changed

+29
-4
lines changed

_includes/comp-showcase.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
<section class="hero" id="comp-showcase">
2-
<figure class="hero-background" style="background-image: url('{{page.hero-image}}');">
2+
<figure class="hero-background" style="background-image: url('{{page.hero-bkg}}');">
33
<div class="overlay">
44
<div class="container">
5-
<div class="title-text">
5+
<div class="hero-content">
6+
<img src="{{page.full-logo}}" alt="Logo" class="hero-logo">
7+
</div>
8+
<!-- <div class="title-text">
69
<h1 class="title has-text-white-ter is-size-1 has-text-weight-bold">
710
{{page.title}}
811
</h1>
9-
</div>
12+
</div> -->
1013
</div>
1114
</div>
15+
<div class="wave-overlay" style="background: url('{{page.hero-overlay}}') no-repeat bottom center;"></div>
1216
</section>

_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.

assets/css/style.scss

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,4 +1333,23 @@ body { background-color: var(--background); }
13331333
.title-text {
13341334
text-align: center;
13351335
}
1336+
1337+
.wave-overlay {
1338+
position: absolute;
1339+
bottom: 0;
1340+
left: 0;
1341+
width: 100%;
1342+
height: 40%;
1343+
background-size: cover;
1344+
}
1345+
.container {
1346+
position: absolute;
1347+
top: 50%;
1348+
left: 50%;
1349+
transform: translate(-50%, -50%);
1350+
text-align: center;
1351+
}
1352+
.hero-logo {
1353+
max-width: 300px;
1354+
}
13361355
}
-1.01 MB
Binary file not shown.
12.9 KB
Loading

mate.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ title: "MATE"
44
full-logo: "https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/what-a-theme-test/assets/images/comps/mate-logo.webp"
55
title-logo:
66
hero-bkg: "https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/what-a-theme-test/assets/images/support-us-hero.webp"
7+
hero-overlay:
78
description: "The MATE ROV Competition is an international robotics competition in which teams create underwater Remotely Operated Vehicles (ROVs). ROVs are piloted, and are typically used for ocean exploration and precise manipulation of objects in hazardous areas. MATE ROV's competition attempts to mirror these missions, with tasks involving coral restoration, mooring array maintenance, and sample collections."
89
---

robosub.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ title: "RoboSub"
44
full-logo: "https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/what-a-theme-test/assets/images/comps/robosub-logo.webp"
55
title-logo:
66
hero-bkg: "https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/what-a-theme-test/assets/images/comps/robosub-hero-bkg.webp"
7+
hero-overlay: "https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/what-a-theme-test/assets/images/comps/robosub-hero-overlay.webp"
78
description: "RoboSub is an international robotics competition in which teams compete to create Autonomous Underwater Vehicles (AUVs). These AUVs are completely unmanned, and must use sensor data to navigate and complete various tasks in a live competition. The competition tasks mirror real-world AUV missions, such as seafloor mapping and sonar localisation."
89
---

0 commit comments

Comments
 (0)