Skip to content

Commit 51c02f0

Browse files
committed
Updates
1 parent 6bc8d6c commit 51c02f0

File tree

1 file changed

+20
-23
lines changed

1 file changed

+20
-23
lines changed

app/pages/index.vue

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,26 @@ const register = (region) => {
117117
</template>
118118
</ULandingHero>
119119

120-
<ULandingCTA
121-
:title="`Your unique domain is https://${id}.fleetkey.cc`"
122-
card
123-
/>
120+
<ULandingCTA :title="`Your unique domain is ${id}.fleetkey.cc`" card />
124121
<ULandingSection
125-
title="Do this first (Step 3)"
122+
title="Application (Step 2)"
123+
:description="`Create a Tesla Fleet application and set its origin to https://fleetkey.cc, and redirect to https://my.home-assistant.io/redirect/oauth.`"
124+
>
125+
<UButton
126+
to="https://developer.tesla.com/request"
127+
label="Create Fleet API application"
128+
target="_blank"
129+
block
130+
size="xl"
131+
/>
132+
<UAlert
133+
type="info"
134+
title="If you are unable to set the origin domain to fleetkey.cc"
135+
description="Register with any other valid domain then edit it in the Tesla Developer portal."
136+
/>
137+
</ULandingSection>
138+
<ULandingSection
139+
title="Key creation (Step 3)"
126140
description="A public key must be hosted on the application's domain before making calls to Fleet API. The key is used to validate ownership of the domain and provide additional security when using Vehicle Commands and Fleet Telemetry."
127141
>
128142
<div>
@@ -160,26 +174,9 @@ m5+vb6BWO6+bItnWq3dO5zjyFEi7N1RCigc9hgKtWPMZSLBi9rvoepv7fQ==
160174
/>
161175
</div>
162176
</ULandingSection>
163-
<ULandingSection
164-
title="Application (Step 2)"
165-
:description="`Create a Tesla Fleet application and set its origin to https://${id}.fleetkey.cc, and redirect to https://my.home-assistant.io/redirect/oauth.`"
166-
>
167-
<UButton
168-
to="https://developer.tesla.com/request"
169-
label="Create Fleet API application"
170-
target="_blank"
171-
block
172-
size="xl"
173-
/>
174-
<UAlert type="info">
175-
If you are unable to set your origin domain to fleetkey.cc, please
176-
register with any other valid domain then edit it in the Tesla Developer
177-
Portal.
178-
</UAlert>
179-
</ULandingSection>
180177

181178
<ULandingSection
182-
title="Registration (Step 4)"
179+
title="Manual Registration (Step 4)"
183180
description="Generate a partner authentication token and use it to call the register endpoint to complete registration with Fleet API. You can run these commands manually if you prefer, however these details are not stored."
184181
>
185182
<div class="flex gap-4 flex-col">

0 commit comments

Comments
 (0)