Component cleanup
This commit is contained in:
@@ -25,6 +25,15 @@ export function getAssetPath(assetPath: string): string {
|
||||
return assetPath.startsWith("/") ? assetPath : `/${assetPath}`;
|
||||
}
|
||||
|
||||
/**
|
||||
* Decorative vector marks in `public/assets/vector/<kebab-case>.svg`
|
||||
* (Figma Asset / Vector). Same folder pattern as governance template marks
|
||||
* under `assets/template-mark/`.
|
||||
*/
|
||||
export function vectorMarkPath(slug: string): string {
|
||||
return `assets/vector/${slug}.svg`;
|
||||
}
|
||||
|
||||
/**
|
||||
* Asset paths for common components
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user