Skip to content

Commit

Permalink
love layout
Browse files Browse the repository at this point in the history
  • Loading branch information
woodybury committed Nov 25, 2024
1 parent b73006a commit d193b59
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
4 changes: 0 additions & 4 deletions ui/src/components/molecules/stats/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {humanizeCount} from '../../../utils/humanize'
import {LifetimeConnectionsWrapper} from './styles'
import {Layouts} from '../../../constants'
import {useTranslation} from 'react-i18next'
import Love from '../love'
// import TwitterLink from '../../atoms/twitterLink'
// import useSample from '../../../hooks/useSample'

Expand Down Expand Up @@ -87,9 +86,6 @@ const Stats = () => {
{/* <Text>Lifetime data proxied</Text>*/}
{/* <Text>{formattedTotalChunks.toUpperCase()}</Text>*/}
{/*</Row>*/}
<div style={{marginTop: 16}}>
<Love />
</div>
</>
)
}
Expand Down
16 changes: 10 additions & 6 deletions ui/src/components/organisms/banner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import ExpandCollapse from '../../atoms/expandCollapse'
import LogoLink from '../../atoms/logoLink'
import Title from '../../molecules/title'
import ExtensionCta from '../../molecules/extensionCta'
import Love from '../../molecules/love'
// import Tutorial from '../../atoms/tutorial' // removing this at request of nelson

const Globe = lazy(() => import('../../molecules/globe'))
Expand Down Expand Up @@ -124,7 +125,7 @@ const Banner = () => {
style={{
fontSize: 14,
lineHeight: `28px`
}}
}}
/>
</div>
<Row
Expand All @@ -144,19 +145,22 @@ const Banner = () => {
<Stats/>
{
!menu && (target === Targets.WEB) && (
<ExtensionCta />
<ExtensionCta/>
)
}
<div style={{marginTop: 16}}>
<Love/>
</div>
<div
style={{width: '100%', height: !title && width > BREAKPOINT ? 80 : 24}}
/>
{/*<div*/}
{/* style={{paddingLeft: 8, paddingRight: 8}}*/}
{/*>*/}
{/*<Footer*/}
{/* social={true}*/}
{/* donate={settings.donate}*/}
{/*/>*/}
{/*<Footer*/}
{/* social={true}*/}
{/* donate={settings.donate}*/}
{/*/>*/}
{/*</div>*/}
</Col>
</Body>
Expand Down
6 changes: 5 additions & 1 deletion ui/src/components/organisms/floating/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import About from '../../molecules/about'
import Menu from '../../molecules/menu'
import LogoLink from '../../atoms/logoLink'
import ExtensionCta from '../../molecules/extensionCta'
import Love from '../../molecules/love'

const Globe = lazy(() => import('../../molecules/globe'))

Expand Down Expand Up @@ -103,7 +104,7 @@ const Floating = () => {
{
expanded && (
<>
{ height > 650 ? <Stats/> : <Row><Connections/></Row> }
{height > 650 ? <Stats/> : <Row><Connections/></Row>}
</>
)
}
Expand All @@ -114,6 +115,9 @@ const Floating = () => {
</CtaWrapper>
)
}
<div style={{marginTop: 16}}>
<Love/>
</div>
</Col>
)
}
Expand Down
6 changes: 5 additions & 1 deletion ui/src/components/organisms/panel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {useLatch} from '../../../hooks/useLatch'
import Menu from '../../molecules/menu'
import LogoLink from '../../atoms/logoLink'
import ExtensionCta from '../../molecules/extensionCta'
import Love from '../../molecules/love'

const Globe = lazy(() => import('../../molecules/globe'))

Expand Down Expand Up @@ -62,14 +63,17 @@ const Panel = () => {
onToggle={onToggle}
/>
</Row>
<Stats />
<Stats/>
{
!menu && (target === Targets.WEB) && (
<CtaWrapper>
<ExtensionCta isSmall={true}/>
</CtaWrapper>
)
}
<div style={{marginTop: 16}}>
<Love/>
</div>
{
settings.collapse && settings.globe && (
<ExpandWrapper
Expand Down

0 comments on commit d193b59

Please sign in to comment.