@ansiversa/components 0.0.10 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
---
|
|
2
2
|
import AvButton from "./AvButton.astro";
|
|
3
|
-
import { actions } from "astro:actions";
|
|
4
3
|
|
|
5
4
|
interface NavLink {
|
|
6
5
|
label: string;
|
|
@@ -61,15 +60,15 @@ function renderIcon(label: string) {
|
|
|
61
60
|
|
|
62
61
|
// ALWAYS SHOW THESE LINKS
|
|
63
62
|
const baseLinks: NavLink[] = [
|
|
64
|
-
{ label: "Apps", href: "/apps" },
|
|
65
|
-
{ label: "Pricing", href: "/pricing" },
|
|
66
|
-
{ label: "About", href: "/about" },
|
|
63
|
+
{ label: "Apps", href: "https://www.ansiversa.com/apps" },
|
|
64
|
+
{ label: "Pricing", href: "https://www.ansiversa.com/pricing" },
|
|
65
|
+
{ label: "About", href: "https://www.ansiversa.com/about" },
|
|
67
66
|
];
|
|
68
67
|
|
|
69
68
|
// SIGN-IN link only for guests
|
|
70
69
|
const authLink: NavLink = {
|
|
71
70
|
label: "Sign in",
|
|
72
|
-
href: "/login",
|
|
71
|
+
href: "https://www.ansiversa.com/login",
|
|
73
72
|
variant: "primary",
|
|
74
73
|
};
|
|
75
74
|
|
|
@@ -126,23 +125,23 @@ const userInitial =
|
|
|
126
125
|
<div class="av-user-menu-divider"></div>
|
|
127
126
|
|
|
128
127
|
<div class="av-nav-user-menu">
|
|
129
|
-
<a href="/dashboard" class="av-user-menu-item av-dropdown-item" role="menuitem">
|
|
128
|
+
<a href="https://www.ansiversa.com/dashboard" class="av-user-menu-item av-dropdown-item" role="menuitem">
|
|
130
129
|
<span>Dashboard</span>
|
|
131
130
|
</a>
|
|
132
131
|
|
|
133
132
|
<a
|
|
134
|
-
href="/change-password"
|
|
133
|
+
href="https://www.ansiversa.com/change-password"
|
|
135
134
|
class="av-user-menu-item av-dropdown-item"
|
|
136
135
|
role="menuitem"
|
|
137
136
|
>
|
|
138
137
|
<span>Change password</span>
|
|
139
138
|
</a>
|
|
140
139
|
|
|
141
|
-
<a href="/settings" class="av-user-menu-item av-dropdown-item" role="menuitem">
|
|
140
|
+
<a href="https://www.ansiversa.com/settings" class="av-user-menu-item av-dropdown-item" role="menuitem">
|
|
142
141
|
<span>Settings</span>
|
|
143
142
|
</a>
|
|
144
143
|
|
|
145
|
-
<form method="POST" action="/signout">
|
|
144
|
+
<form method="POST" action="https://www.ansiversa.com/signout">
|
|
146
145
|
<button
|
|
147
146
|
type="submit"
|
|
148
147
|
class="av-user-menu-item av-dropdown-item av-user-menu-item--danger"
|