Skip to content

Commit

Permalink
Merge pull request #26 from iron-security/feat/configurator
Browse files Browse the repository at this point in the history
Feature: add quote configurator to public website
  • Loading branch information
hazcod authored Apr 25, 2023
2 parents 4f74d17 + 3d58dfa commit 1178e4f
Show file tree
Hide file tree
Showing 24 changed files with 2,919 additions and 3,365 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
-
name: Setup Hugo
uses: peaceiris/actions-hugo@v2
-
name: npm install
run: npm install
-
name: hugo build
run: hugo --minify --gc --config=config.yml
Expand All @@ -22,3 +25,4 @@ jobs:
with:
environment: prd
command: build
apiToken: ${{ secrets.CF_API_TOKEN }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ resources/
dev.env
**/.hugo_build.lock
.dccache
.vscode/
.vscode/
*.dev
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dev-wrangler-build:
npx rangler build --env dev --log-level=debug --local

dev-wrangler:
npx wrangler dev --env dev --log-level=debug --local --ip 127.0.0.1 --port $(PORT)
npx wrangler dev --env dev --log-level=debug --experimental-local --ip 127.0.0.1 --port $(PORT)

build-hugo:
npm run build
Expand Down
2 changes: 0 additions & 2 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ languages:


disableHugoGeneratorInject: true
#disableLiveReload: true

enableRobotsTXT: true

permalinks:
Expand Down
6 changes: 6 additions & 0 deletions content/solution/licenses/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "CrowdStrike Licenses - IRON"
kind: "page"
layout: "licenses"
---

79 changes: 37 additions & 42 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ <h2 class="bold display-4">
<div class="swiper-wrapper px-1">

<div class="swiper-slide px-2 px-sm-1 py--4" data-swiper-slide-index="0">
<div class="card strong-top-bordered-card">
<div class="card b-1">
<div class="row no-gutters">
<div class="col-md-6 d-none d-xl-block">
<div class="">
Expand Down Expand Up @@ -499,8 +499,41 @@ <h2 class="bold display-4">
</div>
</div>

<!--
<div class="swiper-slide px-2 px-sm-1 py--4" data-swiper-slide-index="0">
<div class="card">
<div class="row no-gutters">
<div class="col-md-6 d-none d-xl-block">
<div class="">
<figure class="m-0 image-background cover">
<img src="/img/customers/cresco.png" alt="Intigriti logo" class="img-responsive h-100" />
</figure>
</div>
</div>
<div class="col-md-12 col-xl-6">
<div class="card-body d-flex flex-column justify-content-center">
<blockquote class="blockquote text-center mb-0">
<figure class="mockup mb-4">
<img src="/img/customers/cresco-logo.png" alt="Intigriti logo" class="img-responsive" />
</figure>
<p class="mb-4 mb-md-4">
Providing Managed EDR to our customers helps them protect their assets in a very cost-effective way,
using a trusted partner.
</p>
</blockquote>
</div>
</div>
</div>
</div>
</div>
-->

<div class="swiper-slide px-2 px-sm-1 py--4" data-swiper-slide-index="1">
<div class="card strong-top-bordered-card">
<div class="card">
<div class="row no-gutters">
<div class="col-md-6 d-none d-xl-block">
<div class="">
Expand Down Expand Up @@ -535,53 +568,15 @@ <h2 class="bold display-4">
</div>
</div>
</section>

<!--
<section class="screenshots coverflow d-none d-md-block">
<div class="container">
<div class="section-heading text-center mb-n3">
<h2 class="bold display-4">
Platform Sneak-Peek
</h2>
<p class="text-secondary">
Just to give you an idea of how things will work in Q1 2022.
</p>
</div>
<div
class="swiper-container"
data-sw-centered-slides="true"
data-sw-autoplay="10000"
data-sw-show-items="1"
data-sw-space-between="0"
data-sw-breakpoints='{"1200": {"slidesPerView": 1}}'
>
<div class="swiper-wrapper">
<div class="swiper-slide">
<img
class="img-responsive"
src="img/screens/platform_index.png"
alt="..."
/>
</div>
</div>
<div class="swiper-button swiper-button-next rounded-circle shadow">
<i class="fa fa-arrow-right text-primary"></i>
</div>
<div class="swiper-button swiper-button-prev rounded-circle shadow">
<i class="fa fa-arrow-left text-primary"></i>
</div>
</div>
</div>
</section>
-->

{{ partial "footer.html" . }}

</main>

{{ partial "scripts.html" . }}

{{ $pageJS := resources.Get "js/index.js" | minify | fingerprint }}
<script src="{{ $pageJS.Permalink }}" integrity="{{ $pageJS.Data.Integrity }}" crossorigin="anonymous"></script>
</body>

</html>
10 changes: 5 additions & 5 deletions layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@ <h4 class="text-uppercase regular">
<i class="fa fa-shield-virus icon"></i>
Threat Detection & Response
</a>
<!--
<a class="dropdown-item bold disabled" href="{{ "/solution/mdm/" | relURL }}">
<i class="fa fa-brain icon"></i>
Endpoint Management

<a class="dropdown-item bold" href="{{ "/solution/licenses/" | relURL }}">
<i class="fa fa-file-signature icon"></i>
CrowdStrike Licenses
</a>
-->

</div>
</div>
</div>
Expand Down
3 changes: 1 addition & 2 deletions layouts/partials/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@
{{ $jsTYP := resources.Get "js/typed.js" }}
{{ $jsPRI := resources.Get "js/prism.js" }}
{{ $jsSIT := resources.Get "js/site.js" }}
{{ $jsCUS := resources.Get "js/custom.js" }}
{{ $jsBundle := slice $jsJQU $jsBOO $jsCOU $jsNOF $jsSWI $jsAOS $jsCOM $jsSTR $jsTYP $jsPRI $jsSIT $jsCUS | resources.Concat "js/bundle.js" | fingerprint }}
{{ $jsBundle := slice $jsJQU $jsBOO $jsCOU $jsNOF $jsSWI $jsAOS $jsCOM $jsSTR $jsTYP $jsPRI $jsSIT | resources.Concat "js/bundle.js" | fingerprint }}
<script src="{{ $jsBundle.Permalink }}" integrity="{{ $jsBundle.Data.Integrity }}" crossorigin="anonymous"></script>
3 changes: 3 additions & 0 deletions layouts/section/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ <h4 class="me-3">
{{ partial "scripts.html" . }}

<script src="https://www.google.com/recaptcha/api.js"></script>

{{ $pageJS := resources.Get "js/contact.js" | minify | fingerprint }}
<script src="{{ $pageJS.Permalink }}" integrity="{{ $pageJS.Data.Integrity }}" crossorigin="anonymous"></script>
</body>

</html>
Loading

0 comments on commit 1178e4f

Please sign in to comment.