diff --git a/frontend/src/components/Github.js b/frontend/src/components/Github.js index b50ba6e..cc521b7 100644 --- a/frontend/src/components/Github.js +++ b/frontend/src/components/Github.js @@ -1,7 +1,13 @@ import { ReactComponent as GithubImg } from '../images/github.svg'; const Github = () => ( - + ); diff --git a/frontend/src/components/Logo.js b/frontend/src/components/Logo.js index eb63675..d833a1d 100644 --- a/frontend/src/components/Logo.js +++ b/frontend/src/components/Logo.js @@ -2,7 +2,7 @@ import { ReactComponent as LogoImg } from '../images/logo.svg'; const Logo = () => (
- +
diff --git a/frontend/src/components/StartBlock.js b/frontend/src/components/StartBlock.js index 05da916..1605dda 100644 --- a/frontend/src/components/StartBlock.js +++ b/frontend/src/components/StartBlock.js @@ -11,25 +11,16 @@ const contentItems = [ { title: 'Connection', icon: 'wifi', - body: 'Browsers reveal bits of identifiable information. This data can be combined into a digital fingerprint which can be used to follow you around the web.', + body: 'Websites are able to access your IP address when you connect to their server. Your IP address exposes information about your connection and location.', }, { - title: 'Software', + title: 'System Info', icon: 'browser', - body: 'Browsers reveal bits of identifiable information. This data can be combined into a digital fingerprint which can be used to follow you around the web.', + body: 'JavaScript can be used to find data about your computer\'s software and hardware. This information can be used to create a fingerprint.', }, ]; const StartBlock = ({ onScanClick }) => { - const delay = (ms) => new Promise((res) => setTimeout(res, ms)); - - const handleInputClick = async () => { - document.getElementById('scanButton').value = 'Loading...'; - await delay(100); - startScan(); - window.scrollTo(0, 0); - }; - const startScan = useCallback(() => { onScanClick(true); }, [onScanClick]); @@ -45,7 +36,7 @@ const StartBlock = ({ onScanClick }) => {