Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/frontend/public/styles.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import "tailwindcss";
@plugin "./daisyui.js" {
themes: light --default, dark --prefersdark;
include: alert, button, card, checkbox, collapse, input, label, skeleton, select, tooltip;
include: alert, button, card, checkbox, collapse, input, label, link, skeleton, select, tooltip;
logs: false;
}

Expand Down
5 changes: 4 additions & 1 deletion crates/frontend/src/components/content.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ pub fn ContentItem(

view! {
<div>
<p class="uppercase text-current/80 font-bold text-sm" id=content_description_id.clone()>
<p
class="uppercase text-current/80 font-bold text-sm"
id=content_description_id.clone()
>
{screen.name}
</p>
<div class="aspect-16/9 border">
Expand Down
28 changes: 24 additions & 4 deletions crates/frontend/src/components/rules_body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,21 @@ pub fn RulesBody() -> impl IntoView {
view! {
<ul
role="list"
class="list-outside list-disc ps-[2ch] marker:content-['§_'] marker:font-bold marker:text-[1.2em] flex flex-col gap-1"
class="list-outside list-disc ps-[2ch] marker:content-['§_'] marker:font-bold marker:text-[1.2em] flex flex-col gap-1 max-w-[60ch]"
>
<li>
"Uploaded slide media must follow the chapters "
<a href="https://styrdokument.datasektionen.se/policies/uppforandepolicy">
"Code of Conduct"
"Uploaded slide media must follow the "
<a
class="link hover:text-current/80"
href="https://styrdokument.datasektionen.se/policies/uppforandepolicy"
>
"data chapter's Code of Conduct"
</a> " as well as the "
<a
class="link hover:text-current/80"
href="https://storage.googleapis.com/medieteknik-static/documents/2024/3/19/Uppförandepolicy%20EN.pdf"
>
"media chapter's Code of Conduct"
</a> "."
</li>
<li>"Animated media must not contain blinking lights."</li>
Expand All @@ -21,6 +30,17 @@ pub fn RulesBody() -> impl IntoView {
"This does not apply for slides only shown during an event."
</p>
</li>
<li>
"Per the "
<a
class="link hover:text-current/80"
href="https://styrdokument.datasektionen.se/pm/pm_informationsspridning#7-användning-av-generativ-ai"
>
"data chapter's PM for Information Exchange"
</a>
" as well as the media chapter's Policy for Officials, slide media must not use "
"images or video created with generative AI."
</li>
</ul>
}
}