Skip to content

Commit fbba187

Browse files
committed
chore: run formatter
1 parent 98d37e9 commit fbba187

File tree

4 files changed

+44
-45
lines changed

4 files changed

+44
-45
lines changed

docs/src/components/Navigation.astro

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,13 @@ const { isAlwaysActive } = Astro.props;
7777
}
7878
</style>
7979

80-
<div class:list={["navigation-wrapper", {"navigation-wrapper--sticky": isAlwaysActive}]} id="navigation-menu">
80+
<div
81+
class:list={[
82+
"navigation-wrapper",
83+
{ "navigation-wrapper--sticky": isAlwaysActive },
84+
]}
85+
id="navigation-menu"
86+
>
8187
<div class="navigation grid">
8288
<nav aria-label="Main navigation">
8389
<ul>
@@ -103,7 +109,7 @@ const { isAlwaysActive } = Astro.props;
103109
}
104110

105111
// Don't observe if the sticky class is already applied
106-
if(el.classList.contains("navigation-wrapper--sticky")){
112+
if (el.classList.contains("navigation-wrapper--sticky")) {
107113
return null;
108114
}
109115

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<style>
2-
32
.form-wrapper {
43
margin-top: 1rem;
54
}
@@ -11,13 +10,12 @@
1110
}
1211
</style>
1312

14-
<div class="grid form-wrapper" data-aos="fade-up">
15-
<div class="form">
16-
<script
17-
is:inline
18-
async
19-
data-uid="44112f6fd3"
20-
src="https://rocketsim.ck.page/44112f6fd3/index.js"></script>
21-
</div>
13+
<div class="grid form-wrapper" data-aos="fade-up">
14+
<div class="form">
15+
<script
16+
is:inline
17+
async
18+
data-uid="44112f6fd3"
19+
src="https://rocketsim.ck.page/44112f6fd3/index.js"></script>
2220
</div>
23-
21+
</div>

docs/src/components/SubscribeToNewsletter.astro

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import NewsLetterForm from "./NewsLetterForm.astro";
1414
text-align: center;
1515
}
1616
}
17-
1817
</style>
1918

2019
<section>
@@ -24,7 +23,7 @@ import NewsLetterForm from "./NewsLetterForm.astro";
2423
subtitle="Enjoy 30% off RocketSim Pro"
2524
smallTitle
2625
text="And be the first to discover new features & time-saving tricks."
27-
/>
28-
<NewsLetterForm />
26+
/>
27+
<NewsLetterForm />
2928
</div>
3029
</section>

docs/src/pages/thank-you.astro

Lines changed: 26 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import appIcon from "../assets/rocketsim-app-icon.png";
3131
.logo-image {
3232
width: 4rem;
3333
height: auto;
34-
3534
}
3635

3736
section {
@@ -61,51 +60,48 @@ import appIcon from "../assets/rocketsim-app-icon.png";
6160
padding-bottom: 8rem;
6261
}
6362
}
64-
6563
</style>
6664

6765
<BaseLayout
6866
pageTitle="Thank you - RocketSim"
6967
pageDescription="Thank you for your order! Your order is being processed and you will receive an email soon."
70-
>
68+
>
7169
<header>
7270
<div class="logo">
7371
<a href="/">
74-
<Image
75-
src={appIcon}
76-
widths={[128, 512]}
77-
sizes="(max-width: 767px) 4rem, 16rem"
78-
alt="RocketSim app icon"
79-
class="logo-image"
72+
<Image
73+
src={appIcon}
74+
widths={[128, 512]}
75+
sizes="(max-width: 767px) 4rem, 16rem"
76+
alt="RocketSim app icon"
77+
class="logo-image"
8078
/>
8179
</a>
8280
</div>
83-
<Navigation isAlwaysActive={true}>
84-
<NavigationLink href="/">All Features</NavigationLink>
85-
<NavigationLink href="https://docs.rocketsim.app" target="_blank">
86-
Documentation
87-
</NavigationLink>
88-
<NavigationLink
89-
href="https://docs.rocketsim.app/support/4FNpAbMLD25WbYwAhdxd37/faq/p3eKWj5LcsvBE7AqGuSty9"
90-
target="_blank"
91-
>
92-
FAQ
93-
</NavigationLink>
94-
</Navigation>
81+
<Navigation isAlwaysActive={true}>
82+
<NavigationLink href="/">All Features</NavigationLink>
83+
<NavigationLink href="https://docs.rocketsim.app" target="_blank">
84+
Documentation
85+
</NavigationLink>
86+
<NavigationLink
87+
href="https://docs.rocketsim.app/support/4FNpAbMLD25WbYwAhdxd37/faq/p3eKWj5LcsvBE7AqGuSty9"
88+
target="_blank"
89+
>
90+
FAQ
91+
</NavigationLink>
92+
</Navigation>
9593
</header>
9694
<main>
9795
<section class="grid thank-you">
98-
<SectionHeader
99-
title="Thanks for purchasing RocketSim!"
100-
/>
101-
<p>An invitation email with further instructions has been send to you.</p>
96+
<SectionHeader title="Thanks for purchasing RocketSim!" />
97+
<p>An invitation email with further instructions has been send to you.</p>
10298
</section>
10399
<section class="newsletter">
104-
<SectionHeader
105-
title="While you await your invitation email"
106-
subtitle="Subscribe to our newsletter"
107-
smallTitle
108-
text="And be the first to discover new features & time-saving tricks."
100+
<SectionHeader
101+
title="While you await your invitation email"
102+
subtitle="Subscribe to our newsletter"
103+
smallTitle
104+
text="And be the first to discover new features & time-saving tricks."
109105
/>
110106
<NewsLetterForm />
111107
</section>

0 commit comments

Comments
 (0)