mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-10-03 21:14:30 +02:00
Update component header, format, streamline SV5 components
This commit is contained in:
@@ -1,13 +1,18 @@
|
||||
<!--
|
||||
@component Admin edit notice.txt content card
|
||||
-->
|
||||
@component Admin edit notice content card
|
||||
|
||||
Properties:
|
||||
- `ncontent String`: The homepage notice content
|
||||
-->
|
||||
|
||||
<script>
|
||||
import { Col, Card, CardTitle, CardBody } from "@sveltestrap/sveltestrap";
|
||||
import { fade } from "svelte/transition";
|
||||
|
||||
/* Svelte 5 Props */
|
||||
let { ncontent } = $props();
|
||||
let {
|
||||
ncontent
|
||||
} = $props();
|
||||
|
||||
/* State Init */
|
||||
let message = $state({ msg: "", color: "#d63384" });
|
||||
|
Reference in New Issue
Block a user