Format shit

This commit is contained in:
MotorTruck1221
2025-05-04 23:57:30 -06:00
parent a78ab8e1b2
commit 5f640d8e06
21 changed files with 338 additions and 298 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
import { Icon } from "astro-icon/components";
import type { SettingsProps as Props } from "@utils/types.ts";
const { active } = Astro.props;
const { active } = Astro.props;
---
<div class="h-full w-full flex flex-col font-inter p-4 pl-8 pt-8 gap-2">
<a href="/settings/" class=`gap-2 px-4 py-2 rounded-lg h-10 w-full text-sm font-medium transition-colors items-center justify-start inline-flex ${active === "proxy" ? 'bg-(--secondary) hover:bg-(--secondary)/[0.8]' : 'bg-(--background) hover:bg-(--accent)'}`>
+2 -2
View File
@@ -1,10 +1,10 @@
---
import { Icon } from 'astro-icon/components';
import { Icon } from "astro-icon/components";
interface Props {
id: string;
text: string;
icon?: string
icon?: string;
}
const { id, text, icon } = Astro.props;
---
+1 -1
View File
@@ -10,7 +10,7 @@ interface Props {
imageSrc: string;
text: string;
id: string;
};
}
const { imageSrc, text, id, link } = Astro.props;
---