aboutsummaryrefslogtreecommitdiff
path: root/apps/website/src
diff options
context:
space:
mode:
authorPauline <git@ethanlibs.co>2023-10-14 22:27:27 -0400
committerPauline <git@ethanlibs.co>2023-10-14 22:27:27 -0400
commit2582162cea2b3a59cd21c78f8b73cb03d0acad40 (patch)
tree432057475f3b51850a85e2cba9969bcb79f3a8e6 /apps/website/src
parent06f51ccdc496a6581d098edc424f3973e550221d (diff)
downloadNexus-2582162cea2b3a59cd21c78f8b73cb03d0acad40.tar.gz
Nexus-2582162cea2b3a59cd21c78f8b73cb03d0acad40.tar.bz2
Nexus-2582162cea2b3a59cd21c78f8b73cb03d0acad40.zip
refactor(trunk): refactor the entire project idk
Diffstat (limited to 'apps/website/src')
-rw-r--r--apps/website/src/styles/global.css10
-rw-r--r--apps/website/src/types/Config.d.ts48
2 files changed, 29 insertions, 29 deletions
diff --git a/apps/website/src/styles/global.css b/apps/website/src/styles/global.css
index 51f3c19..6520592 100644
--- a/apps/website/src/styles/global.css
+++ b/apps/website/src/styles/global.css
@@ -1,11 +1,11 @@
@tailwind base;
* {
- font-family: 'Poppins', sans-serif;
+ font-family: 'Poppins', sans-serif;
}
@layer base {
- :focus-visible {
- @apply outline-none ring ring-blue-500;
- }
-} \ No newline at end of file
+ :focus-visible {
+ @apply outline-none ring ring-blue-500;
+ }
+}
diff --git a/apps/website/src/types/Config.d.ts b/apps/website/src/types/Config.d.ts
index 82eb4d7..2781b1b 100644
--- a/apps/website/src/types/Config.d.ts
+++ b/apps/website/src/types/Config.d.ts
@@ -1,34 +1,34 @@
-import { type configConst } from "config";
+import { type configConst } from 'config';
-export type LogoType = typeof configConst.logos[number];
+export type LogoType = (typeof configConst.logos)[number];
export interface Project {
- name: string,
- description: string,
- logo?: LogoType,
- tag?: string,
+ name: string;
+ description: string;
+ logo?: LogoType;
+ tag?: string;
}
export type NavbarDropdown = {
- name: string,
- description: string,
- path: string,
- logo?: LogoType,
- tag?: string
-}
+ name: string;
+ description: string;
+ path: string;
+ logo?: LogoType;
+ tag?: string;
+};
export type NavbarElement = {
- text?: string,
- logo?: [string, number],
- path?: string,
- dropdown?: NavbarDropdown[],
-}
+ text?: string;
+ logo?: [string, number];
+ path?: string;
+ dropdown?: NavbarDropdown[];
+};
export interface Config {
- projects: Project[],
- logos: string[],
- navbar: {
- left: NavbarElement[],
- right: NavbarElement[],
- },
-} \ No newline at end of file
+ projects: Project[];
+ logos: string[];
+ navbar: {
+ left: NavbarElement[];
+ right: NavbarElement[];
+ };
+}