-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from ResilientApp/SRUM-99x
SRUM-99x
- Loading branch information
Showing
5 changed files
with
122 additions
and
14 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import React, { useContext } from 'react' | ||
import { ThemeContext } from '../../Context/theme'; | ||
|
||
const OnlyDesktop = () => { | ||
|
||
const { theme } = useContext(ThemeContext); | ||
|
||
const logo = theme ? 'https://i.postimg.cc/jd6PkhDs/Res-View-Logo-Dark.png' : 'https://i.postimg.cc/Y0dMy9mf/Copy-of-Untitled-Design-removebg-preview.png'; | ||
|
||
return ( | ||
<div className='flex items-center justify-center flex-col m-4 p-2 h-[95vh]'> | ||
<div className="m-2"> | ||
<img | ||
src={logo} | ||
alt='ResDb View Logo' | ||
className='h-100p w-100p' | ||
/> | ||
</div> | ||
<div className='dark:text-white text-gray-700 text-18p text-bold flex items-center justify-center text-center'> | ||
ResView is available only on desktops, Macs and PCs | ||
</div> | ||
<div className='mt-2 dark:text-white text-gray-700 flex items-center justify-center text-16p'> | ||
Please check it out using a laptop! | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default OnlyDesktop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters