Dashboard Admin
This commit is contained in:
11
src/app/admin/(dashboard)/landing-page/apbdes/page.tsx
Normal file
11
src/app/admin/(dashboard)/landing-page/apbdes/page.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<div>
|
||||
APBDes
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Page;
|
||||
@@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<div>
|
||||
Desa Anti Korupsi
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Page;
|
||||
@@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<div>
|
||||
Indeks Kepuasan MAsyarakat
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Page;
|
||||
@@ -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;
|
||||
@@ -0,0 +1 @@
|
||||
export const maxLength = 2000
|
||||
31
src/app/admin/(dashboard)/landing-page/layanan/page.tsx
Normal file
31
src/app/admin/(dashboard)/landing-page/layanan/page.tsx
Normal 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;
|
||||
11
src/app/admin/(dashboard)/landing-page/penghargaan/page.tsx
Normal file
11
src/app/admin/(dashboard)/landing-page/penghargaan/page.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<div>
|
||||
Penghargaan
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Page;
|
||||
11
src/app/admin/(dashboard)/landing-page/potensi/page.tsx
Normal file
11
src/app/admin/(dashboard)/landing-page/potensi/page.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<div>
|
||||
Potensi
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Page;
|
||||
@@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<div>
|
||||
Prestasi Desa
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Page;
|
||||
11
src/app/admin/(dashboard)/landing-page/profile/page.tsx
Normal file
11
src/app/admin/(dashboard)/landing-page/profile/page.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<div>
|
||||
Profile
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Page;
|
||||
11
src/app/admin/(dashboard)/landing-page/sdgs-desa/page.tsx
Normal file
11
src/app/admin/(dashboard)/landing-page/sdgs-desa/page.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<div>
|
||||
SDGS Desa
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Page;
|
||||
Reference in New Issue
Block a user