diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100644 index a11777c..0000000 Binary files a/public/favicon.ico and /dev/null differ diff --git a/public/logo192.png b/public/logo192.png deleted file mode 100644 index fc44b0a..0000000 Binary files a/public/logo192.png and /dev/null differ diff --git a/public/logo512.png b/public/logo512.png deleted file mode 100644 index a4e47a6..0000000 Binary files a/public/logo512.png and /dev/null differ diff --git a/public/manifest.json b/public/manifest.json index 080d6c7..077934a 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,23 +1,6 @@ { - "short_name": "React App", - "name": "Create React App Sample", - "icons": [ - { - "src": "favicon.ico", - "sizes": "64x64 32x32 24x24 16x16", - "type": "image/x-icon" - }, - { - "src": "logo192.png", - "type": "image/png", - "sizes": "192x192" - }, - { - "src": "logo512.png", - "type": "image/png", - "sizes": "512x512" - } - ], + "short_name": "personal-site", + "name": "My personal website", "start_url": ".", "display": "standalone", "theme_color": "#000000", diff --git a/src/App.tsx b/src/App.tsx index 49a893e..eee9e81 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -10,11 +10,13 @@ import Contact from "./components/contact/Contact"; import Terminal from "./components/terminal/Terminal"; function App() { - const [isTerminalVisible, setIsTerminalVisible] = useState(false); + + const showTerm: boolean = new URLSearchParams(window.location.search).get("showTerm") === 'true'; + const [isTerminalVisible, setIsTerminalVisible] = useState(showTerm); return (
- + {showTerm && } {!isTerminalVisible &&
diff --git a/src/components/info-card/InfoCard.tsx b/src/components/info-card/InfoCard.tsx index a43dd14..1b03a40 100644 --- a/src/components/info-card/InfoCard.tsx +++ b/src/components/info-card/InfoCard.tsx @@ -12,7 +12,7 @@ export default function InfoCard(props: {style?: any, className?: string, info:

{props.info.listTitle}

- {props.info.list.map(s =>

{s}

)} + {props.info.list.map(s =>

{s}

)}
{props.info.link != null && {props.info.linkTitle || "Relevant Link"}}