adjust link and add rule
This commit is contained in:
parent
92e1609ef7
commit
1e1cc23723
2 changed files with 10 additions and 6 deletions
1
gui/rules.md
Normal file
1
gui/rules.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
- Whenever adding links in the `gui` that direct to `hub.continue.dev`, you should use an onClick handler that calls `ideMessenger.request("controlPlane/openUrl", { path, orgSlug: undefined });` instead of directly linking to the URL with an `href`.
|
||||
|
|
@ -111,14 +111,17 @@ export default function FreeTrialButton({
|
|||
allows you to use a variety of frontier models for a flat
|
||||
monthly fee. Read more about usage limits and what models are
|
||||
included{" "}
|
||||
<a
|
||||
href="https://hub.continue.dev/pricing"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-blue-400 underline hover:text-blue-300"
|
||||
<span
|
||||
onClick={async () => {
|
||||
await ideMessenger.request("controlPlane/openUrl", {
|
||||
path: "/pricing",
|
||||
orgSlug: undefined,
|
||||
});
|
||||
}}
|
||||
className="cursor-pointer text-blue-400 underline hover:text-blue-300"
|
||||
>
|
||||
here
|
||||
</a>
|
||||
</span>
|
||||
.
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue