mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add offline indicator to all desktop views
This commit is contained in:
@@ -5,7 +5,7 @@ import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
||||
import { Link, useNavigate } from 'react-router-dom';
|
||||
import { Container, Header, Logo, Page, Search, About, AboutTitle, AboutContent, Boards, BoardsTitle, BoardsContent, Footer } from '../styled/Home.styled';
|
||||
import BoardAvatar from '../BoardAvatar';
|
||||
import BoardSubscription from '../BoardSubscription';
|
||||
import OfflineIndicator from '../OfflineIndicator';
|
||||
import packageJson from '../../../package.json'
|
||||
import { Tooltip } from 'react-tooltip';
|
||||
const {version} = packageJson
|
||||
@@ -104,7 +104,11 @@ const Home = () => {
|
||||
<>
|
||||
<Link key={`sub-${index}`} className="boardlink" to={`/p/${subscription}`}>
|
||||
<br id="mobile-br" />
|
||||
<BoardSubscription address={subscription} />
|
||||
{subscription}
|
||||
<OfflineIndicator
|
||||
address={subscription}
|
||||
className="disconnected"
|
||||
tooltipPlace="top" />
|
||||
</Link>
|
||||
<br />
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user