Dashboard Admin

This commit is contained in:
2025-04-21 17:49:13 +08:00
parent cdfbbb412c
commit 7b0fb9332e
79 changed files with 1764 additions and 30 deletions

View File

@@ -0,0 +1,11 @@
import React from 'react';
function Page() {
return (
<div>
APBDes
</div>
);
}
export default Page;

View File

@@ -0,0 +1,11 @@
import React from 'react';
function Page() {
return (
<div>
Desa Anti Korupsi
</div>
);
}
export default Page;

View File

@@ -0,0 +1,11 @@
import React from 'react';
function Page() {
return (
<div>
Indeks Kepuasan MAsyarakat
</div>
);
}
export default Page;

View File

@@ -0,0 +1,12 @@
import React from 'react';
import { Text } from '@mantine/core';
function CompTextLengh({input, maxLength}: {input: string, maxLength: number}) {
return (
<div>
<Text fz={"xs"}>{input.length}/{maxLength}</Text>
</div>
);
}
export default CompTextLengh;

View File

@@ -0,0 +1 @@
export const maxLength = 2000

View File

@@ -0,0 +1,31 @@
'use client'
import colors from '@/con/colors';
import { Box, Button, Group, Stack, Text, Textarea, Title } from '@mantine/core';
import { useState } from 'react';
import CompTextLengh from './_comp_textLengh';
import { maxLength } from './gs_maxLength';
function Page(
) {
const [value, setValue] = useState("")
return (
<Box>
<Stack gap={"xs"}>
<Title order={2}>Layanan</Title>
<Textarea
label={<Text>Deskripsi</Text>}
placeholder='tambah deskripsi'
maxLength={maxLength}
value={value}
onChange={(e) => setValue(e.target.value)}
/>
<CompTextLengh input={value} maxLength={maxLength}/>
<Group>
<Button bg={colors['blue-button']} fz={'md'}>Submit</Button>
</Group>
</Stack>
</Box>
);
}
export default Page;

View File

@@ -0,0 +1,11 @@
import React from 'react';
function Page() {
return (
<div>
Penghargaan
</div>
);
}
export default Page;

View File

@@ -0,0 +1,11 @@
import React from 'react';
function Page() {
return (
<div>
Potensi
</div>
);
}
export default Page;

View File

@@ -0,0 +1,11 @@
import React from 'react';
function Page() {
return (
<div>
Prestasi Desa
</div>
);
}
export default Page;

View File

@@ -0,0 +1,11 @@
import React from 'react';
function Page() {
return (
<div>
Profile
</div>
);
}
export default Page;

View File

@@ -0,0 +1,11 @@
import React from 'react';
function Page() {
return (
<div>
SDGS Desa
</div>
);
}
export default Page;