upd: pembatasan user role
This commit is contained in:
@@ -31,7 +31,7 @@ export default function ViewDetailFeature() {
|
|||||||
radius={100}
|
radius={100}
|
||||||
// gradient={{ from: '#DFDA7C', to: '#F2AF46', deg: 174 }}
|
// gradient={{ from: '#DFDA7C', to: '#F2AF46', deg: 174 }}
|
||||||
bg={tema.get().bgFiturHome}
|
bg={tema.get().bgFiturHome}
|
||||||
>
|
>
|
||||||
<HiMiniUserGroup size={isMobile ? 25 : 35} color={tema.get().utama} />
|
<HiMiniUserGroup size={isMobile ? 25 : 35} color={tema.get().utama} />
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
</Center>
|
</Center>
|
||||||
@@ -47,7 +47,7 @@ export default function ViewDetailFeature() {
|
|||||||
radius={100}
|
radius={100}
|
||||||
// gradient={{ from: '#DFDA7C', to: '#F2AF46', deg: 174 }}
|
// gradient={{ from: '#DFDA7C', to: '#F2AF46', deg: 174 }}
|
||||||
bg={tema.get().bgFiturHome}
|
bg={tema.get().bgFiturHome}
|
||||||
>
|
>
|
||||||
<HiMiniPresentationChartBar size={isMobile ? 25 : 35} color={tema.get().utama} />
|
<HiMiniPresentationChartBar size={isMobile ? 25 : 35} color={tema.get().utama} />
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
</Center>
|
</Center>
|
||||||
@@ -63,7 +63,7 @@ export default function ViewDetailFeature() {
|
|||||||
radius={100}
|
radius={100}
|
||||||
// gradient={{ from: '#DFDA7C', to: '#F2AF46', deg: 174 }}
|
// gradient={{ from: '#DFDA7C', to: '#F2AF46', deg: 174 }}
|
||||||
bg={tema.get().bgFiturHome}
|
bg={tema.get().bgFiturHome}
|
||||||
>
|
>
|
||||||
<HiMegaphone size={isMobile ? 25 : 35} color={tema.get().utama} />
|
<HiMegaphone size={isMobile ? 25 : 35} color={tema.get().utama} />
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
</Center>
|
</Center>
|
||||||
@@ -79,7 +79,7 @@ export default function ViewDetailFeature() {
|
|||||||
radius={100}
|
radius={100}
|
||||||
// gradient={{ from: '#DFDA7C', to: '#F2AF46', deg: 174 }}
|
// gradient={{ from: '#DFDA7C', to: '#F2AF46', deg: 174 }}
|
||||||
bg={tema.get().bgFiturHome}
|
bg={tema.get().bgFiturHome}
|
||||||
>
|
>
|
||||||
<PiUsersFourFill size={isMobile ? 25 : 35} color={tema.get().utama} />
|
<PiUsersFourFill size={isMobile ? 25 : 35} color={tema.get().utama} />
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
</Center>
|
</Center>
|
||||||
@@ -95,7 +95,7 @@ export default function ViewDetailFeature() {
|
|||||||
radius={100}
|
radius={100}
|
||||||
// gradient={{ from: '#DFDA7C', to: '#F2AF46', deg: 174 }}
|
// gradient={{ from: '#DFDA7C', to: '#F2AF46', deg: 174 }}
|
||||||
bg={tema.get().bgFiturHome}
|
bg={tema.get().bgFiturHome}
|
||||||
>
|
>
|
||||||
<FaUserTie size={isMobile ? 25 : 35} color={tema.get().utama} />
|
<FaUserTie size={isMobile ? 25 : 35} color={tema.get().utama} />
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
</Center>
|
</Center>
|
||||||
@@ -105,41 +105,40 @@ export default function ViewDetailFeature() {
|
|||||||
</Box>
|
</Box>
|
||||||
{
|
{
|
||||||
roleLogin.get() == "supadmin" &&
|
roleLogin.get() == "supadmin" &&
|
||||||
<Box onClick={() => router.push('/group')}>
|
<>
|
||||||
<Center>
|
<Box onClick={() => router.push('/group')}>
|
||||||
<ActionIcon variant="gradient"
|
<Center>
|
||||||
size={isMobile ? 50 : 68}
|
<ActionIcon variant="gradient"
|
||||||
aria-label="Gradient action icon"
|
size={isMobile ? 50 : 68}
|
||||||
radius={100}
|
aria-label="Gradient action icon"
|
||||||
// gradient={{ from: '#DFDA7C', to: '#F2AF46', deg: 174 }}
|
radius={100}
|
||||||
bg={tema.get().bgFiturHome}
|
// gradient={{ from: '#DFDA7C', to: '#F2AF46', deg: 174 }}
|
||||||
|
bg={tema.get().bgFiturHome}
|
||||||
>
|
>
|
||||||
<FaUserTag size={isMobile ? 25 : 35} color={tema.get().utama} />
|
<FaUserTag size={isMobile ? 25 : 35} color={tema.get().utama} />
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
</Center>
|
</Center>
|
||||||
<Center>
|
<Center>
|
||||||
<Text fz={15} c={tema.get().utama}>Grup</Text>
|
<Text fz={15} c={tema.get().utama}>Grup</Text>
|
||||||
</Center>
|
</Center>
|
||||||
</Box>
|
</Box>
|
||||||
}
|
<Box onClick={() => router.push('/color-palette')}>
|
||||||
{
|
<Center>
|
||||||
roleLogin.get() == "supadmin" &&
|
<ActionIcon variant="gradient"
|
||||||
<Box onClick={() => router.push('/color-palette')}>
|
size={isMobile ? 50 : 68}
|
||||||
<Center>
|
aria-label="Gradient action icon"
|
||||||
<ActionIcon variant="gradient"
|
radius={100}
|
||||||
size={isMobile ? 50 : 68}
|
// gradient={{ from: '#DFDA7C', to: '#F2AF46', deg: 174 }}
|
||||||
aria-label="Gradient action icon"
|
bg={tema.get().bgFiturHome}
|
||||||
radius={100}
|
|
||||||
// gradient={{ from: '#DFDA7C', to: '#F2AF46', deg: 174 }}
|
|
||||||
bg={tema.get().bgFiturHome}
|
|
||||||
>
|
>
|
||||||
<IoColorPalette size={isMobile ? 25 : 35} color={tema.get().utama} />
|
<IoColorPalette size={isMobile ? 25 : 35} color={tema.get().utama} />
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
</Center>
|
</Center>
|
||||||
<Center>
|
<Center>
|
||||||
<Text fz={15} c={tema.get().utama}>Tema</Text>
|
<Text fz={15} c={tema.get().utama}>Tema</Text>
|
||||||
</Center>
|
</Center>
|
||||||
</Box>
|
</Box>
|
||||||
|
</>
|
||||||
}
|
}
|
||||||
|
|
||||||
</SimpleGrid>
|
</SimpleGrid>
|
||||||
|
|||||||
Reference in New Issue
Block a user