+
There's a server for everyone
@@ -551,6 +550,8 @@
+
+
{
}
};
-const planQuery = () => {
- if (route.query.plan) {
- document.getElementById("plan").scrollIntoView();
- selectProduct(route.query.plan);
+const planQuery = async () => {
+ if ("plan" in route.query) {
+ await nextTick();
+ const planElement = document.getElementById("plan");
+ if (planElement) {
+ planElement.scrollIntoView({ behavior: "smooth" });
+ await selectProduct(route.query.plan);
+ }
}
};
diff --git a/packages/assets/generated-icons.ts b/packages/assets/generated-icons.ts
index f01044155..9d345a9e1 100644
--- a/packages/assets/generated-icons.ts
+++ b/packages/assets/generated-icons.ts
@@ -33,6 +33,7 @@ import _ChevronRightIcon from './icons/chevron-right.svg?component'
import _ClearIcon from './icons/clear.svg?component'
import _ClientIcon from './icons/client.svg?component'
import _ClipboardCopyIcon from './icons/clipboard-copy.svg?component'
+import _ClockIcon from './icons/clock.svg?component'
import _CloudIcon from './icons/cloud.svg?component'
import _CodeIcon from './icons/code.svg?component'
import _CoffeeIcon from './icons/coffee.svg?component'
@@ -226,6 +227,7 @@ export const ChevronRightIcon = _ChevronRightIcon
export const ClearIcon = _ClearIcon
export const ClientIcon = _ClientIcon
export const ClipboardCopyIcon = _ClipboardCopyIcon
+export const ClockIcon = _ClockIcon
export const CloudIcon = _CloudIcon
export const CodeIcon = _CodeIcon
export const CoffeeIcon = _CoffeeIcon
diff --git a/packages/assets/icons/clock.svg b/packages/assets/icons/clock.svg
new file mode 100644
index 000000000..98c2fac7c
--- /dev/null
+++ b/packages/assets/icons/clock.svg
@@ -0,0 +1 @@
+
\ No newline at end of file