diff --git a/src/components/WIPDisclaimer.css b/src/components/WIPDisclaimer.css new file mode 100644 index 0000000..a4ee31f --- /dev/null +++ b/src/components/WIPDisclaimer.css @@ -0,0 +1,48 @@ +.WIPDisclaimer { + font-family: "munro"; + color: white; + position: absolute; + bottom: 12%; + left: 50%; + transform: translate(-50%); + z-index: 100; + border: solid white 2px; + background-color: rgba(96, 96, 96, 0.348); + padding: 0px 10px; + width: 90%; +} + +.WIPDisclaimer h2 { + margin: 10px; + font-size: 16px; + font-style: normal; + font-weight: 400; +} + +.WIPDisclaimer .wip-text { + margin: 10px; + font-size: 14px; +} + +.WIPDisclaimer .close-ctr { + position: absolute; + border: solid white 1px; + left: 5px; + top: 5px; +} + +.WIPDisclaimer .close-ctr p { + margin: 0px; + padding: 1px; + width: 18px; + height: 18px; +} + +/* - - - - MEDIA QUERIES - - - - */ +@media only screen and (min-width: 768px) { + .WIPDisclaimer { + bottom: 100px; + padding: 10px; + width: 80%; + } +} diff --git a/src/components/WIPDisclaimer.tsx b/src/components/WIPDisclaimer.tsx new file mode 100644 index 0000000..c95f7b1 --- /dev/null +++ b/src/components/WIPDisclaimer.tsx @@ -0,0 +1,23 @@ +import { useState } from "react"; +import "./WIPDisclaimer.css"; + +const WIPDisclaimer = () => { + const [closeClass, setCloseClass] = useState("WIPDisclaimer"); + + return ( +
+
setCloseClass("WIPDisclaimer hide")}> +

X

+
+

+ 🛠 Website Under Construction{" "} + 🛠 +

+

{`Some features may be incomplete, buggy, or site-breaking. Feel free to explore and please re-visit soon!`}

+
+ ); +}; + +export default WIPDisclaimer; diff --git a/src/components/projects/MediaMatchup.tsx b/src/components/projects/MediaMatchup.tsx index 33ee9dc..6a1cf21 100644 --- a/src/components/projects/MediaMatchup.tsx +++ b/src/components/projects/MediaMatchup.tsx @@ -27,7 +27,7 @@ const MediaMatchup = ({ isPortfolio }: Props) => { const desc: string = ""; return ( - +