Skip to content

Commit

Permalink
Modify ui
Browse files Browse the repository at this point in the history
  • Loading branch information
picascaz committed Apr 18, 2024
1 parent da8d3dc commit dd5aae6
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 23 deletions.
13 changes: 6 additions & 7 deletions app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ input {

.outline {
height: 300px;
width: 470px;
width: 430px;
outline-offset: -1px;
transition: all .3s linear;
cursor: pointer;
Expand All @@ -427,7 +427,7 @@ input {
.border_container_top{
position: relative;
top:-355px;
left: 140px;
left: 170px;
border-top: 2px solid;
border-right: 2px solid;
width: 10px;
Expand All @@ -453,7 +453,7 @@ input {
}
.border_container_right{
position: relative;
right: -365px;
right: -325px;
top:-310px;
display: inline-block;
border-top: 2px solid;
Expand Down Expand Up @@ -497,7 +497,7 @@ input {
content: ' ';
position: relative;
top: -360px;
left: 180px;
left: 190px;
transform: translateY(-50%);
width: 50px;
height: 50px;
Expand Down Expand Up @@ -543,7 +543,7 @@ input {
content: ' ';
position: relative;
top:-295px;
left: 455px;
left: 405px;
transform: translateY(-50%);
width: 50px;
height: 50px;
Expand Down Expand Up @@ -951,5 +951,4 @@ input {
100% {
background-position: 0 0, 0 0, 0 -20px;
}
}

}
35 changes: 19 additions & 16 deletions components/Home/ANewAgg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,18 @@ const ANewAgg = () => {
<div className='flex flex-col gap-4 font-medium relative top-[100px] ssm:left-[-20px] '>
<div className='text-[#8F4FFF] border-[#8F4FFF] border rounded-[50px] px-5 w-[110px] h-8 flex items-center'>Blob Tx</div>
<div className='text-[#E08900] border-[#E08900] border rounded-[50px] px-5 w-[110px] h-8 flex items-center'>Blob Tx</div>
{/* <div>
<div className='flex items-center relative right-[170px] '>
<div className='borderLine leftLine'></div>
<div className=' border-l border-white border-b w-[55px] h-10 relative top-[-17px]'></div>
<div
style={{ fontFamily: 'inter' }}
className=' border text-white text-[12px] font-medium border-white h-8 flex items-center justify-center rounded-[50px] w-[227px] '
>
<img src='./interface.svg' className=' mr-1' /> On-chain Interface for Agg. Data
</div>
</div>
</div> */}
{/* <div className='flex items-center relative right-[170px] '>
<div className='borderLine leftLine'></div>
<div className=' border-l border-white border-b w-[55px]'>22</div>
Expand All @@ -188,16 +200,7 @@ const ANewAgg = () => {
<div className='text-[#E08900] border-[#E08900] border rounded-[50px] px-5 md:px-[10px] w-[120px] md:w-[80px] h-8 flex items-center'>
Blob Tx
</div>
<div className='flex items-center relative right-[170px] '>
<div className='borderLine leftLine'></div>
<div className=' border-l border-white border-b w-[55px] h-10 relative top-[-17px]'></div>
<div
style={{ fontFamily: 'inter' }}
className=' border text-white text-[12px] font-medium border-white h-8 flex items-center justify-center rounded-[50px] w-[227px] '
>
<img src='./interface.svg' className=' mr-1' /> On-chain Interface for Agg. Data
</div>
</div>
</div>
*/}
</div>
Expand Down Expand Up @@ -235,16 +238,16 @@ const ANewAgg = () => {
<div className='flex flex-col justify-between h-full'>
<div className=' text-white px-[15px] pt-5 flex justify-between'>
<span>Tx</span>
<div className=' pt-4 ml-[50px]'>Users</div>
<div className=' pt-4 ml-[50px] md:ml-[100px]'>Users</div>
<span>Accessible</span>
</div>
<div className=' text-white px-[15px] pb-[28px] flex justify-between'>
<span>Blobs</span>
<span>Agg.Data</span>
</div>
</div>
<div className='border_container border_container_top'></div>
<div className='border_container border_container_top_img'></div>
<div className='border_container border_container_top md:!left-[155px]'></div>
<div className='border_container border_container_top_img md:!left-[190px]'></div>
<div className='border_container border_container_right_img md:!left-[355px]'></div>
<div className='border_container border_container_right md:!left-[275px]'></div>
<div className='border_container border_container_left_bottom'></div>
Expand All @@ -269,7 +272,7 @@ const ANewAgg = () => {
</div>
<div className='flex justify-between w-full items-center font-medium text-sm'>
<div>Benefit-Sharing</div>
<div className='centerPos'>
<div className='centerPos md:!left-[25px]'>
<div className=' ml-[10px] mt-[-20px]'>PoS</div>
</div>
<div className=' md:mr-10'>Protocal Incentive</div>
Expand Down Expand Up @@ -379,8 +382,8 @@ const ANewAgg = () => {
<div className='flex mt-6'>{item.other1}</div>
</div>
</div>
<div className='flex justify-center md:mx-[30px] md:block items-center '>
<div className=' bg-cover object-cover bg-repeat'>{item.img}</div>
<div className='flex mx-[40px] md:block items-center '>
<div className=' bg-cover object-cover bg-repeat '>{item.img}</div>
</div>
</div>
</div>
Expand Down

0 comments on commit dd5aae6

Please sign in to comment.