Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/blocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/eth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/nvir.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/svgs/arrowDown.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/svgs/camera.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/svgs/dollarCircle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/svgs/history.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/svgs/home.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions public/svgs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@ export { default as copy } from "./copy.svg";
export { default as control } from "./control.svg";
export { default as arrowLeft } from "./arrowLeft.svg";
export { default as outLink } from "./outLink.svg";
export { default as dollarCircle } from "./dollarCircle.svg";
export { default as message } from "./message.svg";
export { default as wallet } from "./wallet.svg";
export { default as history } from "./history.svg";
export { default as home } from "./home.svg";
export { default as setting } from "./setting.svg";
export { default as arrowDown } from "./arrowDown.svg";
export { default as camera } from "./camera.svg";
3 changes: 3 additions & 0 deletions public/svgs/message.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions public/svgs/setting.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions public/svgs/star.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/svgs/wallet.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
114 changes: 114 additions & 0 deletions src/app/philip/testPage1/container/PhilipContainer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
"use client";
import { Layout } from "antd";
import { Content, Footer, Header } from "antd/es/layout/layout";
import Image from "next/image";
import { useRouter } from "next/navigation";
import { useState } from "react";
import DrawerAtom from "~/components/Atoms/DrawerAtom/DrawerAtom";
import { PhilipTransactionAtom } from "~/components/Atoms/EmptyContentAtom/PhilipTransactionAtom";
import { PhilipFooterAtom } from "~/components/Atoms/FooterAtom/PhilipFooterAtom";
import { PhilipHeaderAtom } from "~/components/Atoms/HeaderAtom/PhilipHeaderAtom";
import Modal from "~/components/Atoms/Modal/Modal";

export const PhilipContainer = () => {
const [isDrawerOpen, setIsDrawerOpen] = useState(false);
const [modalOpen, setModalOpen] = useState(false);
return (
<Layout style={{ height: "100%" }}>
<Header style={{ padding: 0, height: 50 }}>
<PhilipHeaderAtom
title='Proxima 0S'
onClickLeftIcon={() => alert("Left icon clicked.")}
onClickRightIcon={() => alert("Settings icon clicked.")}
/>
</Header>
<Content
style={{
overflow: "auto",
paddingLeft: "25px",
paddingRight: "25px",
paddingTop: "16px",
paddingBottom: "16px",
gap: "20px",
display: "flex",
flexDirection: "column",
backgroundColor: "#1F1F1F",
}}
>
<div className='flex flex-col gap-y-[19px] text-white'>
<h3 className='leading-[33.89px text-[28px] font-semibold'>
Messages
</h3>
<div className='flex flex-row'>
<div className='flex w-[20%] flex-col gap-y-[9px]'>
<div className='flex aspect-[1/1] w-full items-center justify-center rounded-full bg-[#2C2D30]'>
<div className='relative aspect-[1/1] w-[70.77%]'>
<Image
src={"/svgs/star.svg"}
fill
className='h-full w-full'
alt='Proxima'
/>
</div>
</div>
<p className='text-center text-[16px] leading-[19.36px]'>
Proxima
</p>
</div>
</div>
</div>
<DrawerAtom
isDrawerOpen={isDrawerOpen}
setIsDrawerOpen={setIsDrawerOpen}
containerClassName='!h-[71.2%] !bg-[#2C2D30] p-5'
>
<PhilipTransactionAtom
logo='/eth.png'
token='ETH'
message='User: namulabs is fantasic company'
time='8:43 PM'
initial='N'
onClick={() => setModalOpen(true)}
/>
<PhilipTransactionAtom
logo='/nvir.png'
token='Nvir'
message='User: namulabs is fantasic company'
time='8:42 PM'
onClick={() => setModalOpen(true)}
/>
</DrawerAtom>
<Modal
containerClassName='p-5 !bg-[#2C2D30] rounded-[14px] flex flex-col gap-y-3 text-white max-w-[340px]'
isModalOpen={modalOpen}
setModalOpen={setModalOpen}
>
<h3 className='text-center text-[24px] leading-[31px]'>
Transaction
<br /> processing
</h3>
<div className='relative mx-auto h-[154px] w-[267px]'>
<Image
src='/blocks.png'
fill
className='h-full w-full object-cover'
alt='Blockchain'
/>
</div>
<p className='text- text-center'>
Uploading your transaction to the node. please wait for a moment...
<br /> This may take up to 2 minutes.
</p>
</Modal>
</Content>
<Footer style={{ padding: 0, minHeight: 50, zIndex: 9999 }}>
<PhilipFooterAtom
drawerProps={{
isDrawerOpen,
setIsDrawerOpen,
}}
/>
</Footer>
</Layout>
);
};
8 changes: 8 additions & 0 deletions src/app/philip/testPage1/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"use client";
import { PhilipContainer } from "./container/PhilipContainer";

const TestPage1 = () => {
return <PhilipContainer />;
};

export default TestPage1;
Loading