Skip to content

Commit

Permalink
feat(services): adds spacelift service + icon (#33)
Browse files Browse the repository at this point in the history
* feat(services): adds spacelift service + icon

* Service Badge Support + New BG Image for Spacelift

---------

Co-authored-by: kristopherray <kris@kristopherray.com>
  • Loading branch information
Gowiem and kristopherray authored Oct 10, 2024
1 parent bfc084d commit ed53559
Show file tree
Hide file tree
Showing 6 changed files with 132 additions and 8 deletions.
23 changes: 23 additions & 0 deletions assets/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1215,6 +1215,11 @@ footer {
}
}
}

.serviceBadge {
@extend.serviceIcon;
padding:0;
}
.serviceDesc {
padding-top: 0.5em;
font-size: 0.88rem;
Expand Down Expand Up @@ -2215,6 +2220,24 @@ footer {
}
}

#spacelift {
padding: 7.5rem 0 6.4rem;
background: #fff;
.bg-image {
width: 100%;
position: absolute;
&:before {
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0) 3.4%,
rgba(255, 255, 255, 0.675) 34.51%,
rgba(255, 255, 255, 0.9) 70.11%,
rgba(255, 255, 255, 0) 103.07%
);
}
}
}

#managed-service-partners {
padding: 7.5rem 0 6.4rem;
background: #000;
Expand Down
13 changes: 13 additions & 0 deletions content/services/spacelift.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
visible: true
draft: false
title: Spacelift-Powered IaC Automation
weight: 5
badge: /img/services/spacelift_certified.svg
image: /img/services/spacelift-bg.png
id: spacelift
description: >-
Supercharge your Infrastructure as Code with Spacelift. As one of the first certified Spacelift partners, we offer expert implementation of this cutting-edge SaaS automation platform to streamline your IaC workflows.
---

Supercharge your Infrastructure as Code with Spacelift. As one of the first certified Spacelift partners, we offer expert implementation of this cutting-edge SaaS automation platform to streamline your IaC workflows. Our team will set up and optimize Spacelift for your organization, enabling you to automate, manage, and secure your infrastructure with unprecedented ease and efficiency.
9 changes: 7 additions & 2 deletions layouts/services/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,16 @@ <h3>
{{end}}
<div class="container">
<div class="serviceBx text-center">
{{if .Params.icon}}
<div class="serviceIcon bg-gradient">
{{if .Params.icon}}
<img src="{{.Params.icon}}" />
{{end}}
</div>
{{end}}
{{if .Params.badge}}
<div class="serviceBadge">
<img src="{{.Params.badge}}" />
</div>
{{end}}
<h3 class="serviceTitle">
{{ if .Params.list_title}}
{{.Params.list_title | safeHTML}}
Expand Down
17 changes: 11 additions & 6 deletions layouts/shortcodes/services.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
<div class="services-row row">
<div class="services-row row justify-content-center">
{{ range where (.Site.RegularPages.ByWeight) "Type" "services" }}
<div class="col col-12 col-md-6">
<div class="serviceBx">
<div class="serviceIcon bg-gradient">
{{if .Params.icon}}
<img src="{{.Params.icon}}" />
{{end}}
</div>
{{if .Params.icon}}
<div class="serviceIcon bg-gradient">
<img src="{{.Params.icon}}" />
</div>
{{end}}
{{if .Params.badge}}
<div class="serviceBadge">
<img src="{{.Params.badge}}" />
</div>
{{end}}
<h3 class="serviceTitle">
{{.Title}}
</h3>
Expand Down
Binary file added static/img/services/spacelift-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ed53559

Please sign in to comment.