Skip to content

Commit

Permalink
fix applayout and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Safouene1 committed Feb 9, 2025
1 parent 59ead9c commit adb862d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 0 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
<title>Sveltos Dashboard</title>
</head>
<body class="min-h-screen">
<div data-tf-live="01HX9Q850M9T9MMPQW2GDCN5SK"></div>
<script src="//embed.typeform.com/next/embed.js"></script>
<noscript> To use SveltosUI, please enable JavaScript. </noscript>
<div id="root" class="relative flex min-h-screen flex-col"></div>
<script type="module" src="/src/main.tsx"></script>
Expand Down
10 changes: 10 additions & 0 deletions src/lib/components/layouts/AppLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
import { Outlet } from "react-router-dom";
import { Header } from "./Header";
import { Footer } from "./Footer";
import { Logo } from "@/lib/components/assets/logo/logo";
import { appConfig } from "@/config/app";

export function Applayout() {
return (
<>
<Header />
<a
href={appConfig.github.url}
target="_blank"
className="fixed right-2 top-1/2 -translate-y-1/2 bg-primary text-white px-6 py-2 rounded-lg shadow-lg rotate-90 flex items-center space-x-2"
rel="noreferrer"
>
<span>Powered by</span> <Logo />
</a>
<div className="flex-grow flex flex-col">
<div className="container px-4 md:px-8 flex-grow flex flex-col">
<Outlet />
Expand Down
2 changes: 1 addition & 1 deletion src/modules/profiles/profiles-list/ProfileList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function ProfileList() {
<PageHeading
title={"Profiles"}
description={
"You can view all tiers , profiles and visualize dependants and dependencies "
"You can view all tiers , profiles and visualize dependents and dependencies "
}
/>
{(isLoading || isPreviousData) && <LoadingTier />}
Expand Down

0 comments on commit adb862d

Please sign in to comment.