Re-worked icons
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m48s
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m48s
This commit is contained in:
16
src/types.ts
16
src/types.ts
@@ -1,12 +1,6 @@
|
||||
import type { ImageMetadata } from "astro";
|
||||
import type { Component } from "vue";
|
||||
import type { GiteaRepoInfo } from "./utils/gitea";
|
||||
|
||||
// Icon Types
|
||||
export type LucideIcon = Component;
|
||||
export type AstroIconName = string;
|
||||
export type CustomIconComponent = Component;
|
||||
export type IconType = LucideIcon | AstroIconName | CustomIconComponent;
|
||||
import type { IconName } from "./config/icons";
|
||||
|
||||
export interface Talk {
|
||||
id: string;
|
||||
@@ -32,7 +26,7 @@ export interface SocialLink {
|
||||
id: string;
|
||||
name: string;
|
||||
url: string;
|
||||
icon: IconType;
|
||||
icon: IconName;
|
||||
ariaLabel: string;
|
||||
}
|
||||
|
||||
@@ -40,7 +34,7 @@ export interface TechLink {
|
||||
id: string;
|
||||
name: string;
|
||||
url: string;
|
||||
icon: IconType;
|
||||
icon: IconName;
|
||||
ariaLabel: string;
|
||||
}
|
||||
|
||||
@@ -49,7 +43,7 @@ export interface NavigationItem {
|
||||
name: string;
|
||||
path: string;
|
||||
tooltip: string;
|
||||
icon: IconType;
|
||||
icon: IconName;
|
||||
enabled?: boolean;
|
||||
isActive?: (path: string) => boolean;
|
||||
}
|
||||
@@ -64,7 +58,7 @@ export type ResumeSectionKey =
|
||||
| "awards";
|
||||
|
||||
export interface ResumeConfig {
|
||||
tomlFile: string; // Can be a file path or raw TOML content
|
||||
tomlFile: string;
|
||||
layout?: {
|
||||
leftColumn?: ResumeSectionKey[];
|
||||
rightColumn?: ResumeSectionKey[];
|
||||
|
||||
Reference in New Issue
Block a user