#1546 Remove private section mbz-purple color
This commit is contained in:
@@ -1,11 +1,5 @@
|
||||
<template>
|
||||
<section
|
||||
class="flex flex-col mb-3 border-2"
|
||||
:class="{
|
||||
'border-mbz-purple': privateSection,
|
||||
'border-yellow-1': !privateSection,
|
||||
}"
|
||||
>
|
||||
<section class="flex flex-col mb-3 border-2 border-yellow-1">
|
||||
<div class="flex items-stretch py-3 px-1 bg-yellow-1 text-violet-title">
|
||||
<div class="flex flex-1 gap-1">
|
||||
<o-icon :icon="icon" custom-size="36" />
|
||||
@@ -31,10 +25,9 @@ withDefaults(
|
||||
defineProps<{
|
||||
title: string;
|
||||
icon: string;
|
||||
privateSection?: boolean;
|
||||
route: { name: string; params: { preferredUsername: string } };
|
||||
}>(),
|
||||
{ privateSection: true }
|
||||
{}
|
||||
);
|
||||
const { t } = useI18n({ useScope: "global" });
|
||||
</script>
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
<group-section
|
||||
:title="t('Events')"
|
||||
icon="calendar"
|
||||
:privateSection="false"
|
||||
:route="{
|
||||
name: RouteName.GROUP_EVENTS,
|
||||
params: { preferredUsername: usernameWithDomain(group) },
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
<group-section
|
||||
:title="t('Announcements')"
|
||||
icon="bullhorn"
|
||||
:privateSection="false"
|
||||
:route="{
|
||||
name: RouteName.POSTS,
|
||||
params: { preferredUsername: usernameWithDomain(group) },
|
||||
|
||||
Reference in New Issue
Block a user