Skip to content

Commit 4aae2f5

Browse files
authored
Merge pull request #357 from fluidchunky/main
fixed card icons
2 parents d828611 + 0c8e5eb commit 4aae2f5

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

elements/avatars.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ export const SimpleAvatar = (props: any) => {
88
return (
99
<div className="flex flex-col items-center">
1010
<div
11-
className="w-11 h-11 bg-cyan z-10"
11+
className="w-12 h-12 bg-primary/30 z-10"
1212
style={{
1313
clipPath: 'polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%)',
1414
}}/>
1515
<div
16-
className="w-10 h-10 z-20 bg-dark-green-secondary absolute mt-0.5"
16+
className="w-10 h-10 z-20 bg-primary absolute m-1"
1717
style={{
1818
clipPath: 'polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%)',
1919
}}>
@@ -22,14 +22,13 @@ export const SimpleAvatar = (props: any) => {
2222
alt={props.alt ?? ''}
2323
width={10}
2424
height={10}
25-
className="object-cover w-full h-full"
25+
className="object-cover w-10 h-10 border-4 border-white"
2626
/>
2727
</div>
2828
</div>
2929
);
3030
}
3131

32-
3332
export const Chunky = (props: any) => {
3433
return (
3534
<div className="flex flex-col items-center">
@@ -39,7 +38,7 @@ export const Chunky = (props: any) => {
3938
clipPath: 'polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%)',
4039
}}/>
4140
<div
42-
className="w-10 h-10 z-20 bg-dark-green-secondary absolute mt-0.5"
41+
className="w-10 h-10 z-20 bg-dark-green-secondary mt-0.5"
4342
style={{
4443
clipPath: 'polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%)',
4544
}}>
@@ -82,8 +81,10 @@ export const ComplexAvatar = ({
8281
communityName,
8382
}: any) => {
8483
return (
85-
<div className="flex">
84+
<div className="flex flex-row">
85+
<div className="flex">
8686
<SimpleAvatar src={profileImage || placeholder}/>
87+
</div>
8788
<div className={`${readexPro.className} block items-center font-normal justify-center ml-3 max-w-1/2`}>
8889
<Link href={`/${username}`} className={`${readexPro.className} hover:underline text-white`}>
8990
{username?.length > 20 ? username.substring(0, 20) : username}

screens/home/MainHomeScreen.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { readex_pro, DynamicIcon } from '~/elements';
1111

1212
export const Container = ({ children }: any) => {
1313
return (
14-
<div className="bg-dark-indigo w-full flex justify-center m-auto -mt-24 lg:mt-4 w-full">
14+
<div className="bg-dark-indigo w-full flex justify-center m-auto lg:mt-20 -mt-24 lg:mt-4 w-full">
1515
<Image src={spot} alt="spot" className="z-0 block top-0 ml-auto absolute h-full" />
1616
<Image src={wire1} alt="wire1" className="hidden sm:block z-0 top-[40%] absolute" />
1717
<Image src={wire2} alt="wire2" className="hidden sm:block z-0 top-[40%] absolute" />
@@ -26,7 +26,7 @@ export const Container = ({ children }: any) => {
2626
}
2727
export const MainHomeScreen = () => {
2828
return <Container>
29-
<div className="w-full flex flex-col justify-start items-center mt-10 h-screen bg-black/0 z-50">
29+
<div className="w-full flex flex-col justify-start items-center mt-64 lg:mt-10 pb-80 bg-black/0 z-50">
3030
<DynamicIcon name={'SquaresPlusIcon'} width={48} height={48} className='text-primary mr-3'/>
3131
<div className={`${readex_pro.className} text-left flex flex-row mb-8 lg:mt-0`}>
3232
<span className='font-normal text-transparent bg-clip-text bg-gradient-to-r from-cyan to-light-green text-2xl'>

0 commit comments

Comments
 (0)