Merge pull request #10 from bipproduction/amalia/4-jul-24
upd: tambahan mas malik
This commit is contained in:
@@ -30,7 +30,7 @@ export default function RootLayout({
|
|||||||
<head>
|
<head>
|
||||||
<ColorSchemeScript />
|
<ColorSchemeScript />
|
||||||
</head>
|
</head>
|
||||||
<body className={`${LatoFont.className}`}>
|
<body className={`${LatoFont.className}`} suppressHydrationWarning>
|
||||||
<MantineProvider>
|
<MantineProvider>
|
||||||
<Box bg={'#252A2F'}>
|
<Box bg={'#252A2F'}>
|
||||||
<Container h={"100vh"} p={0} size={rem(550)} bg={WARNA.bgWhite}>
|
<Container h={"100vh"} p={0} size={rem(550)} bg={WARNA.bgWhite}>
|
||||||
|
|||||||
@@ -4,20 +4,20 @@ import React from 'react';
|
|||||||
import { HiMagnifyingGlass, HiOutlineBell, HiOutlineUser } from "react-icons/hi2";
|
import { HiMagnifyingGlass, HiOutlineBell, HiOutlineUser } from "react-icons/hi2";
|
||||||
import Carosole from '../components/carosole';
|
import Carosole from '../components/carosole';
|
||||||
import Features from '../components/features';
|
import Features from '../components/features';
|
||||||
import { useRouter } from 'next/navigation';
|
// import { useRouter } from 'next/navigation';
|
||||||
|
|
||||||
|
|
||||||
export default function ViewHome() {
|
export default function ViewHome() {
|
||||||
const router = useRouter()
|
// const router = useRouter()
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<LayoutNavbarHome>
|
<LayoutNavbarHome>
|
||||||
<Group justify='space-between'>
|
<Group justify='space-between'>
|
||||||
<Text fw={'bold'} c={'white'} >Perbekal Darmasaba</Text>
|
<Text fw={'bold'} c={'white'} >Perbekal Darmasaba</Text>
|
||||||
<Group>
|
<Group>
|
||||||
<ActionIcon onClick={() => router.push('/search')} variant="light" bg={WARNA.bgIcon} size="lg" radius="lg" aria-label="Settings">
|
{/* <ActionIcon onClick={() => router.push('/search')} variant="light" bg={WARNA.bgIcon} size="lg" radius="lg" aria-label="Settings">
|
||||||
<HiMagnifyingGlass size={20} color='white' />
|
<HiMagnifyingGlass size={20} color='white' />
|
||||||
</ActionIcon>
|
</ActionIcon> */}
|
||||||
<ActionIcon variant="light" bg={WARNA.bgIcon} size="lg" radius="lg" aria-label="Settings">
|
<ActionIcon variant="light" bg={WARNA.bgIcon} size="lg" radius="lg" aria-label="Settings">
|
||||||
<HiOutlineBell size={20} color='white' />
|
<HiOutlineBell size={20} color='white' />
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
@@ -25,6 +25,8 @@ export default function ViewHome() {
|
|||||||
<HiOutlineUser size={20} color='white' />
|
<HiOutlineUser size={20} color='white' />
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
</Group>
|
</Group>
|
||||||
|
</Group>
|
||||||
|
</LayoutNavbarHome>
|
||||||
<Box p={20}>
|
<Box p={20}>
|
||||||
<Stack >
|
<Stack >
|
||||||
<Carosole />
|
<Carosole />
|
||||||
|
|||||||
Reference in New Issue
Block a user