diff --git a/src/components/Home.js b/src/components/Home.js index e2c9cc8..ffcc235 100644 --- a/src/components/Home.js +++ b/src/components/Home.js @@ -1,21 +1,21 @@ import React from 'react'; +import Theater from './Theater'; import './css/Home.css'; const Home = (props) => { + + const title = "Welcome to my Portfolio"; + const description = +

+ This website helps you access the projects that I've worked on. You can navigate + at the top to different locations in the site. Within you can find information about me, + my github repositories, and some youtube videos I've posted. This website is coded with + React/Redux and hosted over Vercel. You can email me at camerin@camsprojects.online. +

; + return (
-
-
-
-

Welcome to my Portfolio

-

- This website helps you access the projects that I've worked on. You can navigate - at the top to different locations in the site. Within you can find information about me, - my github repositories, and some youtube videos I've posted. This website is coded with - React/Redux and hosted over Vercel. You can email me at camerin@camsprojects.online. -

-
-
+
); } diff --git a/src/components/Theater.js b/src/components/Theater.js new file mode 100644 index 0000000..695fcb3 --- /dev/null +++ b/src/components/Theater.js @@ -0,0 +1,20 @@ +import React from 'react'; +import './css/Theater.css'; + +const Theater = (props) => { + + return ( +
+
+
+

{props.title}

+

+ {props.description} +

+
+
+ + ); +}; + +export default Theater; \ No newline at end of file diff --git a/src/components/css/Home.css b/src/components/css/Home.css index 7ac0b2b..11a5f53 100644 --- a/src/components/css/Home.css +++ b/src/components/css/Home.css @@ -1,51 +1,11 @@ -.theater { - display: grid; - place-items:center; - grid-template-areas: "inner-div"; -} - -.theater-bg { - height: 94.6vh; - width:100vw; - background-size: cover; - background-image: url('../../img/background.webp'); - filter: blur(2px); - -webkit-filter: blur(2px); - z-index:0; - grid-area: inner-div; -} - -.theater-content { - display:flex; - flex-direction: column; - text-shadow: 0px 0px 2px black; - text-align: center; - z-index:1; - color: #FAFCF0; - grid-area: inner-div; - font-weight:bolder; - max-width: 100vw; - width:100vw; - background: rgba(76, 76, 80, 0.75); - align-items: center; -} - -.theater-content p,h1 { - width: 50vw; -} - -.theater-content a { - color: #CFCFBA; -} - a:link { - color: inherit; + color:black; text-decoration: none; cursor: pointer; } a:visited { - color: inherit; + color:black; text-decoration: none; cursor: pointer; } @@ -53,6 +13,8 @@ a:visited { body { font-family: Arial, Helvetica, sans-serif; margin:0; + width: 100vw; + overflow-x: hidden; } @media only screen and (max-width: 600px) { diff --git a/src/components/css/Theater.css b/src/components/css/Theater.css new file mode 100644 index 0000000..7d1b93c --- /dev/null +++ b/src/components/css/Theater.css @@ -0,0 +1,43 @@ +.theater { + display: grid; + place-items:center; + grid-template-areas: "inner-div"; +} + +.theater-bg { + height: 94.6vh; + width:100vw; + background-size: cover; + background-image: url('../../img/background.webp'); + filter: blur(2px); + -webkit-filter: blur(2px); + z-index:0; + grid-area: inner-div; +} + +.theater.peak .theater-bg { + height: 85vh; +} + +.theater-content { + display:flex; + flex-direction: column; + text-shadow: 0px 0px 2px black; + text-align: center; + z-index:1; + color: #FAFCF0; + grid-area: inner-div; + font-weight:bolder; + max-width: 100vw; + width:100vw; + background: rgba(76, 76, 80, 0.75); + align-items: center; +} + +.theater-content p,h1 { + width: 50vw; +} + +.theater-content a { + color: #CFCFBA !important; +} \ No newline at end of file