Skip to content

Commit

Permalink
Add AI Assessment buttons (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellemaxwell authored Feb 27, 2025
1 parent ce5418e commit 398c3c5
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 14 deletions.
3 changes: 3 additions & 0 deletions content/en/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ date: 2023-02-09T10:21:41-06:00
intro: WELCOME TO ROTATIONAL
header: YOUR GO-TO AI <span>INNOVATION PARTNER</span>
headertext: We work with enterprises to build trusted data foundations and AI solutions for sustainable business impact.
headeractions:
- action: Start Your AI Assessment
link: https://team.rotational.ai/assessment
services:
- service: STRATEGIC ADVISORY & AI ASSESSMENTS
description: |
Expand Down
2 changes: 2 additions & 0 deletions content/en/services/ai-assessments.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ innovate:
contact:
- text: View Case Studies
url: /case-studies
- text: Start Your AI Assessment
url: https://team.rotational.ai/assessment
- text: Contact Us
url: /contact
clients:
Expand Down
2 changes: 2 additions & 0 deletions content/en/services/ai-ops-and-data-foundations.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ innovate:
contact:
- text: View Case Studies
url: /case-studies
- text: Start Your AI Assessment
url: https://team.rotational.ai/assessment
- text: Contact Us
url: /contact
- text: Learn About Endeavor
Expand Down
2 changes: 2 additions & 0 deletions content/en/services/ai-product-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ innovate:
contact:
- text: View Case Studies
url: /case-studies
- text: Start Your AI Assessment
url: https://team.rotational.ai/assessment
- text: Contact Us
url: /contact
clients:
Expand Down
30 changes: 18 additions & 12 deletions layouts/partials/site-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,20 @@ <h5 class="mb-4 text-lg font-bold">{{ $intro | markdownify }}</h5>
<h1 class="font-extrabold text-3xl md:text-5xl *:block">{{ . | markdownify }}</h1>
</div>
{{ end}}
{{ $headertext := .Params.headertext }}
{{ $headertextmore := .Params.headertextmore }}
{{ with $headertext }}
<p class="mt-6 text-sm md:text-xl">
{{ . | markdownify }}
</p>
{{ if $headertextmore }}
<p class="mt-6 text-sm md:text-xl">{{ $headertextmore | markdownify }}{{ end }}</p>
{{ end }}
{{ with .Params.headertext }}
<p class="mt-6 text-sm md:text-xl">
{{ . | markdownify }}
</p>
{{ end }}

{{ if .Params.headeractions }}
{{ range .Params.headeractions}}
<div class="mt-6">
<a href="{{ .link }}" target="_blank" class="text-sm h-14 p-4 lg:text-base text-center font-semibold rounded-lg bg-[#192E5B] hover:bg-[#192E5B]/80 uppercase mr-3">{{ .action }}</a>
</div>
{{ end }}
{{ end}}

</div>
<div class="mx-auto">
<picture>
Expand All @@ -42,6 +47,7 @@ <h1 class="font-extrabold text-3xl md:text-5xl *:block">{{ . | markdownify }}</h
</div>
</div>
</div>

{{ if .Params.services }}
<div class="relative md:-mt-8 lg:-mt-28 xl:-mt-32 md:mb-10 md:z-10 md:mx-auto w-full max-w-screen-xl text-white md:px-4">
<section class="grid sm:grid-cols-3">
Expand Down Expand Up @@ -97,7 +103,7 @@ <h1 class="font-bold text-3xl uppercase lg:text-5xl">{{ .Title }}</h1>
<div class="my-8">
{{ range .Params.headeractions }}
{{ if in .action "Download" }}
<button id="{{ .id }}" data-dropdown-toggle="dropdown" class="text-sm h-14 p-4 lg:text-base text-center font-semibold rounded-lg bg-[#192E5B] hover:bg-[#72A3C0] uppercase mr-3">
<button id="{{ .id }}" data-dropdown-toggle="dropdown" class="text-sm h-14 p-4 lg:text-base text-center font-semibold rounded-lg bg-[#192E5B] hover:bg-[#192E5B]/80 uppercase mr-3">
<div class="">
<span>{{ .action }}</span>
<i id="dropdown-icon" class="{{ .icon }} md:mr-2 lg:mr-0"></i>
Expand All @@ -111,7 +117,7 @@ <h1 class="font-bold text-3xl uppercase lg:text-5xl">{{ .Title }}</h1>
<div class="rounded-lg shadow bg-white">
<ul class="pt-4 px-4 w-60 md:w-64">
{{ range .Params.download }}
<li class="pb-4"><a href="{{ .link }}" class="block p-1 font-semibold text-center text-[#192E5B] text-base hover:text-black ">{{ .text }}</a></li>
<li class="pb-4"><a href="{{ .link }}" class="block p-1 font-semibold text-center text-[#192E5B] text-base hover:text-black ">{{ .text }}</a></li>
{{ end }}
</ul>
</div>
Expand All @@ -134,4 +140,4 @@ <h1 class="font-bold text-3xl uppercase lg:text-5xl">{{ .Title }}</h1>
</div>
</div>
</div>
{{end}}
{{end}}
2 changes: 1 addition & 1 deletion layouts/services/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h2 class="py-2 text-2xl md:text-4xl font-extrabold uppercase">{{ .title }}</h2>
<ul>
{{ range .Params.contact }}
<li class="py-4">
<a href="{{ .url }}" class="uppercase w-64 inline-block bg-[#192E5B] hover:bg-[#1D65A6] p-4 font-bold text-white text-center">{{ .text }}</a>
<a href="{{ .url }}" target="_blank" class="uppercase w-72 inline-block bg-[#192E5B] hover:bg-[#1D65A6] p-4 font-bold text-white text-center">{{ .text }}</a>
</li>
{{ end }}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion static/output.css

Large diffs are not rendered by default.

0 comments on commit 398c3c5

Please sign in to comment.