mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
feat: 🎨 Design refactor of all pages
This commit is contained in:
parent
9467cef34b
commit
a45c04258e
20 changed files with 407 additions and 267 deletions
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue