Skip to content

Commit 84c4700

Browse files
authored
Merge branch 'docs/updating-terragrunt-homepage' into fix/fixing-line-numbering-in-docs
2 parents 1617edf + 4db28af commit 84c4700

11 files changed

Lines changed: 21 additions & 29 deletions

docs-starlight/src/components/Header.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ try {
7878
<div class="flex items-center gap-3 md:gap-3.5">
7979
<!-- Buttons -->
8080
<a href="#" class="hidden md:flex secondary-button h-[43px]">
81-
Automate your pipeline
81+
CI/CD for Terragrunt
8282
</a>
8383
<a href="#" class="flex md:hidden secondary-button !p-3">
8484
<Image
@@ -111,7 +111,7 @@ try {
111111
</div>
112112
</div>
113113
<div class="block md:hidden justify-center bg-bg-dark px-5 py-2.5 border-b border-stroke-dark">
114-
<div class="flex items-center border border-white/10 bg-white/5 rounded-md px-3">
114+
<div class="flex items-center">
115115
{shouldRenderSearch && <Search {...Astro.props} />}
116116
</div>
117117
</div>

docs-starlight/src/components/ResponsiveTable.astro

Lines changed: 0 additions & 10 deletions
This file was deleted.

docs-starlight/src/components/dv-ConsistencySection.astro

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ const scaffoldLink = '/docs/features/scaffold';
2424
<!-- Content Wrapper -->
2525
<div class="flex flex-col lg:flex-row md:px-6">
2626
<Card title="Automate Using Hooks" titleSize="text-md" class="flex-1/3">
27-
<p class="text-sm font-sans text-gray-1">Don’t pretend you’ll always remember to do things before/after updating IaC. Codify those tasks with <a href={hooksLink} class="text-accent-1 border-b-1 border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out">hooks</a> so that they’re done automatically.</p>
27+
<p class="text-sm font-sans text-gray-1">Don’t pretend you’ll always remember to do things before/after updating IaC. Codify those tasks with <a href={hooksLink} class="text-accent-1 border-b border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out">hooks</a> so that they’re done automatically.</p>
2828
</Card>
2929
<Card title="Handle Expected Errors" titleSize="text-md" class="flex-1/3">
30-
<p class="text-sm font-sans text-gray-1">You know networks can be flaky, and cloud providers aren’t perfect. Automatically handle the errors they produce using built-in <a href={errorHandlingLink} class="text-accent-1 border-b-1 border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out">error handling</a>.</p>
30+
<p class="text-sm font-sans text-gray-1">You know networks can be flaky, and cloud providers aren’t perfect. Automatically handle the errors they produce using built-in <a href={errorHandlingLink} class="text-accent-1 border-b border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out">error handling</a>.</p>
3131
</Card>
3232
<Card title="Integrate Early and Often" titleSize="text-md" class="flex-1/3">
33-
<p class="text-sm font-sans text-gray-1">Get you and your teammates on the same page. Work on a consistent, unified codebase, but gradually roll out new infrastructure features using <a href={featureFlagsLink} class="text-accent-1 border-b-1 border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out">feature flags</a>.</p>
33+
<p class="text-sm font-sans text-gray-1">Get you and your teammates on the same page. Work on a consistent, unified codebase, but gradually roll out new infrastructure features using <a href={featureFlagsLink} class="text-accent-1 border-b border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out">feature flags</a>.</p>
3434
</Card>
3535
</div>
3636
<div class="md:px-6">
@@ -46,10 +46,10 @@ const scaffoldLink = '/docs/features/scaffold';
4646
<!-- Content Wrapper -->
4747
<div class="flex flex-col lg:flex-row md:px-6">
4848
<Card title="Leverage a Proven Infrastructure Catalog" titleSize="text-md" class="flex-1/2">
49-
<p class="text-sm font-sans text-gray-1">Catalog standard infrastructure patterns for reuse across your your organization using the <a href={catalogLink} class="text-accent-1 border-b-1 border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out">catalog</a> Terminal User Interface (TUI).</p>
49+
<p class="text-sm font-sans text-gray-1">Catalog standard infrastructure patterns for reuse across your organization using the <a href={catalogLink} class="text-accent-1 border-b border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out">catalog</a> Terminal User Interface (TUI).</p>
5050
</Card>
5151
<Card title="Empower All Your Engineers" titleSize="text-md" class="flex-1/2">
52-
<p class="text-sm font-sans text-gray-1">Design opinionated templates to <a href={scaffoldLink} class="text-accent-1 border-b-1 border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out">scaffold</a> exactly the right infrastructure that’s needed without writing any IaC by hand.</p>
52+
<p class="text-sm font-sans text-gray-1">Design opinionated templates to <a href={scaffoldLink} class="text-accent-1 border-b border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out">scaffold</a> exactly the right infrastructure that’s needed without writing any IaC by hand.</p>
5353
</Card>
5454
</div>
5555
</div>

docs-starlight/src/components/dv-DrySection.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ const stacksLink = '/docs/features/stacks';
1818
<!-- Content Wrapper -->
1919
<div class="flex flex-col md:flex-row gap-6 ">
2020
<Card class="flex-1 border-solid border-4 rounded-lg !border-[#F1F1F1] shadow-[0_0_0_2px_white]" title="Reuse Common Infrastructure Configurations">
21-
<p class="text-sm font-sans text-gray-1">Define reusable infrastructure configurations, like module inputs, backend configurations, and providers once, then reference them wherever they’re needed using <a href={includesLink} class="text-accent-1 border-b-1 border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out">includes</a>.</p>
21+
<p class="text-sm font-sans text-gray-1">Define reusable infrastructure configurations, like module inputs, backend configurations, and providers once, then reference them wherever they’re needed using <a href={includesLink} class="text-accent-1 border-b border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out">includes</a>.</p>
2222
</Card>
2323
<Card class="flex-1 border-solid border-4 rounded-lg !border-[#F1F1F1] shadow-[0_0_0_2px_white]" title="Reuse Production-Ready Patterns">
24-
<p class="text-sm font-sans text-gray-1">Leverage <a href={stacksLink} class="text-accent-1 border-b-1 border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out">Terragrunt Stack</a> to encapsulate higher level collections of infrastructure components as a unified stack.</p>
24+
<p class="text-sm font-sans text-gray-1">Leverage <a href={stacksLink} class="text-accent-1 border-b border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out">Terragrunt Stack</a> to encapsulate higher level collections of infrastructure components as a unified stack.</p>
2525
</Card>
2626
</div>
2727
</div>

docs-starlight/src/components/dv-FeaturedBrands.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const brands = Array.isArray(brandsCollection) ? brandsCollection : [];
1212
const sortedBrands = brands.sort((a, b) => (a.data.order || 0) - (b.data.order || 0));
1313
---
1414
<!-- Logos Container -->
15-
<section class="w-full bg-[#FAFAFA] border-b-1 border-gray-3 py-6 lg:py-9">
15+
<section class="w-full bg-[#FAFAFA] border-b border-gray-3 py-6 lg:py-9">
1616
<!-- Logos Wrapper -->
1717
<div class="relative flex flex-col lg:flex-row justify-center items-center gap-8 lg:gap-auto lg:px-0 lg:pr-10 lg:pl-20">
1818
<p class="text-center text-xs font-mono text-gray-2">

docs-starlight/src/components/dv-Footer.astro

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ import IconCloudnuke from '@assets/icon-cloudnuke.svg';
1010
import IconGitxargs from '@assets/icon-gitxargs.svg';
1111
---
1212
<footer class="flex flex-col bg-[#FAFAFA]">
13-
<!-- Subscribe to Newsletter Responsiveness-->
14-
<div class="bg-bg-dark flex flex-col md:flex-row items-center justify-between gap-4 px-6 xl:px-8 py-6">
13+
<div class="max-w-[1312px] mx-auto w-full">
14+
<!-- Subscribe to Newsletter Responsiveness-->
15+
<div class="bg-bg-dark flex flex-col md:flex-row items-center justify-between gap-4 px-6 xl:px-8 py-6">
1516
<p class="text-white w-full md:flex-1">
1617
Subscribe to the newsletter <span class="text-gray-1">to hear about the latest updates, features and innovations in Terragrunt</span>
1718
</p>
@@ -109,6 +110,7 @@ import IconGitxargs from '@assets/icon-gitxargs.svg';
109110
</p>
110111
</div>
111112
</div>
113+
</div>
112114
</footer>
113115

114116
<script src="https://js.hsforms.net/forms/v2.js"></script>

docs-starlight/src/components/dv-Navbar.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ try {
117117
</div>
118118
</div>
119119
<div class="block md:hidden justify-center bg-bg-dark px-5 py-2.5 border-b border-stroke-dark">
120-
<div class="flex items-center border border-white/10 bg-white/5 rounded-md px-3">
120+
<div class="flex items-center">
121121
{shouldRenderSearch && <Search {...Astro.props} />}
122122
</div>
123123
</div>

docs-starlight/src/components/dv-OrchestrateSection.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ const authenticationLink = '/docs/features/authentication';
2121
<div class="flex flex-col flex-1">
2222
<Card title="Segment Your Infrastructure">
2323
<p class="text-sm font-sans text-gray-1">Break down your monolithic infrastructure into manageable
24-
<a href={unitsLink} class="text-accent-1 border-b-1 border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out"> units </a>
24+
<a href={unitsLink} class="text-accent-1 border-b border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out"> units </a>
2525
that are safe to update independently, and have their own state.</p>
2626
</Card>
2727
<Divider />
2828
<Card title="Control Your Infrastructure">
2929
<p class="text-sm font-sans text-gray-1">Reject all-or-nothing updates. Control exactly what infrastructure is updated, how it gets updated, and in what order by taking advantage of the
30-
<a href={runQueueLink} class="text-accent-1 border-b-1 border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out"> Run Queue</a>
30+
<a href={runQueueLink} class="text-accent-1 border-b border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out"> Run Queue</a>
3131
.</p>
3232
</Card>
3333
<Divider />
3434
<Card title="Secure Your Infrastructure">
35-
<p class="text-sm font-sans text-gray-1">Terragrunt <a href={authenticationLink} class="text-accent-1 border-b-1 border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out">authentication tooling</a> makes it trivial to manage infrastructure across any number of environments or cloud providers with least privilege access.</p>
35+
<p class="text-sm font-sans text-gray-1">Terragrunt <a href={authenticationLink} class="text-accent-1 border-b border-gray-1/50 hover:cursor-pointer hover:text-accent transition .025s ease-in-out">authentication tooling</a> makes it trivial to manage infrastructure across any number of environments or cloud providers with least privilege access.</p>
3636
</Card>
3737
</div>
3838
</div>

docs-starlight/src/components/dv-Testimonials.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import LogoBrand11 from '@assets/logo-brand-11.png';
2121
---
2222

2323
<section class="max-w-dvw justify-center items-center px-5 md:px-0 max-h-[80dvh] md:max-h-[90dvh] overflow-hidden relative">
24-
<div class="flex flex-col w-full md:w-[680px] lg:w-[900px]">
24+
<div class="flex flex-col w-full md:w-[680px] lg:w-[900px] mx-auto">
2525
<!-- Header Section -->
2626
<div class="flex flex-col gap-4 md:gap-8 pb-6 md:pb-[60px] md:pl-12 md:pr-8">
2727
<Eyebrow text="TESTIMONIALS" />

docs-starlight/src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import Testimonials from '@components/dv-Testimonials.astro';
2828
<div class="absolute top-[149px] md:top-[83px] w-full">
2929
<Hero />
3030
<div class="overflow-hidden lg:px-8 xl:px-24 2xl:px-76">
31-
<div class="relative flex flex-col lg:border-l-1 lg:border-r-1 lg:border-gray-3">
31+
<div class="relative flex flex-col lg:border-l-1 lg:border-r-1 lg:border-gray-3 max-w-[1312px] mx-auto w-full">
3232
<div class="z-10">
3333
<FeaturedBrands />
3434
</div>

0 commit comments

Comments
 (0)