feat: 🎨 Design refactor of all pages

This commit is contained in:
Jesse Wierzbinski 2024-04-25 19:54:02 -10:00
parent 9467cef34b
commit a45c04258e
No known key found for this signature in database
20 changed files with 407 additions and 267 deletions

View file

@ -21,6 +21,7 @@ const props = withDefaults(
maxWidth?: number;
widthUnit?: "px" | "%";
class?: string;
lines?: number;
}>(),
{
shape: "rect",
@ -49,5 +50,5 @@ const getWidth = (index: number, lines: number) => {
return undefined;
};
const lines = isContent.value ? Math.ceil(Math.random() * 5) : 1;
const lines = isContent.value ? props.lines ?? Math.ceil(Math.random() * 5) : 1;
</script>