Skip to content

Commit 3c5a363

Browse files
committed
fix: links
1 parent 8ab6146 commit 3c5a363

File tree

14 files changed

+250
-250
lines changed

14 files changed

+250
-250
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@tailwindcss/vite": "^4.1.4",
4242
"@testing-library/jest-dom": "^6.6.3",
4343
"@testing-library/svelte": "^5.2.7",
44-
"apexcharts": "^4.6.0",
44+
"apexcharts": "^4.7.0",
4545
"dayjs": "^1.11.13",
4646
"eslint": "^9.25.1",
4747
"eslint-config-prettier": "^10.1.2",
@@ -58,17 +58,17 @@
5858
"publint": "^0.3.12",
5959
"runatics": "^0.1.4",
6060
"runes-meta-tags": "^0.4.3",
61-
"svelte": "^5.28.1",
61+
"svelte": "^5.28.2",
6262
"svelte-check": "^4.1.6",
63-
"svelte-lib-helpers": "^0.4.25",
63+
"svelte-lib-helpers": "^0.4.26",
6464
"svelte-meta-tags": "^4.2.0",
6565
"svelte-rune-highlight": "^0.6.6",
6666
"tailwind-merge": "^3.2.0",
6767
"tailwind-variants": "^1.0.0",
6868
"tailwindcss": "^4.1.4",
6969
"typescript": "^5.8.3",
7070
"typescript-eslint": "^8.31.0",
71-
"vite": "^6.3.2",
71+
"vite": "^6.3.3",
7272
"vitest": "^3.1.2"
7373
},
7474
"pnpm": {

pnpm-lock.yaml

Lines changed: 212 additions & 212 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/routes/(no-layout)/pages/pricing/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
<NavUl class="ms-8 me-auto">
2626
<NavLi href="/">Home</NavLi>
2727
<NavLi href="/">Team</NavLi>
28-
<NavLi href="/pricing">Pricing</NavLi>
29-
<NavLi href="/contact">Contact</NavLi>
28+
<NavLi href="/">Pricing</NavLi>
29+
<NavLi href="/">Contact</NavLi>
3030
</NavUl>
3131
<div class="py-4">
3232
<DarkMode />

src/routes/(no-layout)/pages/pricing/data.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const faqs = [
2828
with FlowBite either as a UI kit, theme, or template, it's fine.
2929
</p>
3030
<p class="text-gray-600 dark:text-gray-300">
31-
Find out more information by <link href="/license" class="text-primary-600 dark:text-primary-500 font-medium underline hover:no-underline" />reading the license.
31+
Find out more information by <link href="/" class="text-primary-600 dark:text-primary-500 font-medium underline hover:no-underline" />reading the license.
3232
</p>`
3333
},
3434
{
@@ -77,7 +77,7 @@ export const faqs = [
7777
title: 'Can I build/sell templates or themes using FlowBite?',
7878
answer: `<p class="text-gray-600 dark:text-gray-300">It is not allowed to use FlowBite or parts of the project to build themes, templates, UI kits, or page builders.</p>
7979
<p class="text-gray-600 dark:text-gray-300">
80-
Find out more information by <link href="/license" class="text-primary-600 dark:text-primary-500 font-medium underline hover:no-underline" />reading the license.
80+
Find out more information by <link href="/" class="text-primary-600 dark:text-primary-500 font-medium underline hover:no-underline" />reading the license.
8181
</p>`
8282
},
8383
{
@@ -88,15 +88,15 @@ export const faqs = [
8888
</p>
8989
<p class="text-gray-600 dark:text-gray-300">With that being said, feel free to use this design kit for your open-source projects.</p>
9090
<p class="text-gray-600 dark:text-gray-300">
91-
Find out more information by <link href="/license" class="text-primary-600 dark:text-primary-500 font-medium underline hover:no-underline" />reading the license.
91+
Find out more information by <link href="/" class="text-primary-600 dark:text-primary-500 font-medium underline hover:no-underline" />reading the license.
9292
</p>`
9393
},
9494
{
9595
title: 'Can I use FlowBite for commercial purposes?',
9696
answer: `<p class="text-gray-600 dark:text-gray-300">Absolutely! You can use this design kit to build any type of commercial business, whether it's a SaaS, an e-commerce app, an application UI.</p>
9797
<p class="text-gray-600 dark:text-gray-300">As long as it is not a design resource that you will re-sell, it is alright to use it for commercial purposes.</p>
9898
<p class="text-gray-600 dark:text-gray-300">
99-
Find out more information by <link href="/license" class="text-primary-600 dark:text-primary-500 font-medium underline hover:no-underline" />reading the license.
99+
Find out more information by <link href="/" class="text-primary-600 dark:text-primary-500 font-medium underline hover:no-underline" />reading the license.
100100
</p>`
101101
},
102102
{

src/routes/(sidebar)/+page.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const json = (r: Response) => r.json();
2-
export const prerender = true;
2+
// export const prerender = true;
33
import type { PageServerLoad } from "./$types";
44

55
export const load: PageServerLoad = async ({ fetch }) => {

src/routes/(sidebar)/Navbar.svelte

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
let { fluid = true, drawerHidden = $bindable(false), list = false }: Props = $props();
2727
2828
const menu = [
29-
{ name: 'Sales', href: '/sales', icon: ShoppingBagSolid },
30-
{ name: 'Users', href: '/users', icon: UsersGroupSolid },
31-
{ name: 'Inbox', href: '/inbox', icon: InboxOutline },
32-
{ name: 'Profile', href: '/profile', icon: ProfileCardOutline },
29+
{ name: 'Sales', href: '/', icon: ShoppingBagSolid },
30+
{ name: 'Users', href: '/', icon: UsersGroupSolid },
31+
{ name: 'Inbox', href: '/', icon: InboxOutline },
32+
{ name: 'Profile', href: '/', icon: ProfileCardOutline },
3333
{ name: 'Settings', href: '/settings', icon: CogOutline },
34-
{ name: 'Prouducts', href: '/products', icon: ArchiveSolid },
35-
{ name: 'Pricing', href: '/pricing', icon: DollarOutline },
36-
{ name: 'Billing', href: '/billing', icon: SalePercentOutline },
37-
{ name: 'Logout', href: '/logout', icon: ArrowRightToBracketOutline }
34+
{ name: 'Prouducts', href: '/', icon: ArchiveSolid },
35+
{ name: 'Pricing', href: '/pages/pricing', icon: DollarOutline },
36+
{ name: 'Billing', href: '/', icon: SalePercentOutline },
37+
{ name: 'Logout', href: '/', icon: ArrowRightToBracketOutline }
3838
];
3939
const menuItems = ['Dashboard', 'Settings', 'Earnings'];
4040
</script>

src/routes/(sidebar)/Sidebar.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
docsRoute: string[];
2626
}
2727
let { drawerHidden = $bindable(false), docsRoute }: Props = $props();
28-
console.log('data in Sidebar docsRoute:', docsRoute)
28+
// console.log('data in Sidebar docsRoute:', docsRoute)
2929
const closeDrawer = () => {
3030
drawerHidden = true;
3131
};

src/routes/(sidebar)/docs/authentication/examples/SignInEx.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
let rememberMe = true;
1313
let lostPassword = true;
1414
let createAccount = true;
15-
let lostPasswordLink = 'forgot-password';
15+
let lostPasswordLink = '/';
1616
let loginTitle = 'Login to your account';
17-
let registerLink = 'sign-up';
17+
let registerLink = '/';
1818
let createAccountTitle = 'Create account';
1919
2020
const onSubmit = (e: Event) => {

src/routes/(sidebar)/docs/authentication/examples/SignUpEx.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
const haveAccount = true;
1414
const btnTitle = 'Create account';
1515
const termsLink = '/';
16-
const loginLink = 'sign-in';
16+
const loginLink = '/';
1717
const labelClass = 'space-y-2 dark:text-white';
1818
const onSubmit = (e: Event) => {
1919
const formData = new FormData(e.target as HTMLFormElement);

src/routes/(sidebar)/settings/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
<div class="col-span-full xl:mb-0">
132132
<Breadcrumb class="mb-6">
133133
<BreadcrumbItem home>Home</BreadcrumbItem>
134-
<BreadcrumbItem class="hover:text-primary-600 inline-flex items-center text-gray-700 dark:text-gray-300 dark:hover:text-white" href="/curd/users">Users</BreadcrumbItem>
134+
<BreadcrumbItem class="hover:text-primary-600 inline-flex items-center text-gray-700 dark:text-gray-300 dark:hover:text-white" href="/crud/users">Users</BreadcrumbItem>
135135
<BreadcrumbItem>Settings</BreadcrumbItem>
136136
</Breadcrumb>
137137

src/routes/+layout.server.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import type { LayoutServerLoad } from './$types';
2-
import { ANALYTICS_ID } from '$env/static/private';
2+
import { ANALYTICS_ID_FLOWBITE } from '$env/static/private';
33
const json = (r: Response) => r.json();
4-
export const prerender = true;
4+
// export const prerender = true;
55

66
export const load: LayoutServerLoad = async ({ fetch }) => {
77
try {
88
const posts = await fetch("/api/posts").then(json);
99
// console.log('posts: ', posts);
10-
return { ANALYTICS_ID, posts };
10+
return { ANALYTICS_ID_FLOWBITE, posts };
1111
} catch (error) {
1212
console.error(`Error in load function for /: ${error}`);
1313
}

src/routes/+layout.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
import { Runatics } from 'runatics';
66
77
let { children, data }: LayoutProps = $props();
8-
const analyticsId = data.ANALYTICS_ID as string;
9-
// console.log('analyticsId', data.ANALYTICS_ID);
8+
const analyticsId = data.ANALYTICS_ID_FLOWBITE as string;
9+
// console.log('analyticsId', data.ANALYTICS_ID_FLOWBITE);
1010
1111
onMount(modeobserver);
1212
</script>

src/routes/authentication/sign-in.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
let createAccount = true;
1515
let lostPasswordLink = 'forgot-password';
1616
let loginTitle = 'Login to your account';
17-
let registerLink = 'sign-up';
17+
let registerLink = '/';
1818
let createAccountTitle = 'Create account';
1919
2020
const onSubmit = (e: Event) => {

src/routes/utils/widgets/AppsMenu.svelte

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
} from 'flowbite-svelte-icons';
1515
1616
const menu = [
17-
{ name: 'Sales', href: '/sales', icon: ShoppingBagSolid },
18-
{ name: 'Users', href: '/users', icon: UsersGroupSolid },
19-
{ name: 'Inbox', href: '/inbox', icon: InboxOutline },
20-
{ name: 'Profile', href: '/profile', icon: ProfileCardOutline },
17+
{ name: 'Sales', href: '/', icon: ShoppingBagSolid },
18+
{ name: 'Users', href: '/', icon: UsersGroupSolid },
19+
{ name: 'Inbox', href: '/', icon: InboxOutline },
20+
{ name: 'Profile', href: '/', icon: ProfileCardOutline },
2121
{ name: 'Settings', href: '/settings', icon: CogOutline },
22-
{ name: 'Prouducts', href: '/products', icon: ArchiveSolid },
23-
{ name: 'Pricing', href: '/pricing', icon: DollarOutline },
24-
{ name: 'Billing', href: '/billing', icon: SalePercentOutline },
25-
{ name: 'Logout', href: '/logout', icon: ArrowRightToBracketOutline }
22+
{ name: 'Prouducts', href: '/', icon: ArchiveSolid },
23+
{ name: 'Pricing', href: '/pages/pricing', icon: DollarOutline },
24+
{ name: 'Billing', href: '/', icon: SalePercentOutline },
25+
{ name: 'Logout', href: '/', icon: ArrowRightToBracketOutline }
2626
];
2727
let { open = $bindable() } = $props();
2828
</script>

0 commit comments

Comments
 (0)