File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ erosdipede.ca
Original file line number Diff line number Diff line change @@ -3,16 +3,16 @@ import './Input.scss';
33
44function Input ( ) {
55 return (
6- < div className = "handheld-input flex flex-row gap-8 justify-center items-center " >
7- < div className = "handheld-input__panel handheld-input__panel--left w-1/2 h-full flex justify-center" >
6+ < div className = "handheld-input flex flex-row gap-8 w-full " >
7+ < div className = "handheld-input__panel handheld-input__panel--left flex justify-center" >
88 < div className = "handheld-input__panel__controls grid grid-cols-3 grid-rows-3" >
99 < div className = "handheld-input__panel__controls--a col-start-2" />
1010 < div className = "handheld-input__panel__controls--b col-start-1 row-start-2" />
1111 < div className = "handheld-input__panel__controls--c col-start-3 row-start-2" />
1212 < div className = "handheld-input__panel__controls--d col-start-2 row-start-3" />
1313 </ div >
1414 </ div >
15- < div className = "handheld-input__panel handheld-input__panel--right w-1/2 h-full flex justify-center" >
15+ < div className = "handheld-input__panel handheld-input__panel--right ml-auto flex justify-center" >
1616 < div className = "handheld-input__panel__controls flex justify-center items-center gap-4" >
1717 < div className = "handheld-input__panel__controls--a rounded-full" />
1818 < div className = "handheld-input__panel__controls--b rounded-full" />
Original file line number Diff line number Diff line change 11.handheld-input {
22 width : 576px ;
3- height : 408 px ;
3+ margin-top : 24 px ;
44 & __panel {
55 & --left {
66 .handheld-input__panel__controls {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ function Screen({ className }) {
1818 < p > FULLSTACK AND GAME DEVELOPER</ p >
1919 </ div >
2020 </ div >
21- < div className = "handheld-screen__interface__content__body flex tablet: flex-row flex- col tablet:flex-row-reverse " >
21+ < div className = "handheld-screen__interface__content__body flex flex-col" >
2222 < div className = "handheld-screen__content__body flex flex-col text-left" >
2323 < p >
2424 In all areas of the stack, Eros is well equipped to address any challenge, whether
@@ -27,7 +27,7 @@ function Screen({ className }) {
2727 </ p >
2828 </ div >
2929 </ div >
30- < div className = "handheld-screen__interface__content__page flex flex-col items-end" >
30+ < div className = "handheld-screen__interface__content__page flex flex-col mt-auto items-end" >
3131 < p > 1/2</ p >
3232 </ div >
3333 </ div >
Original file line number Diff line number Diff line change 11import React from 'react' ;
2+ import PropTypes from 'prop-types' ;
23import { Screen } from '../Components' ;
34import Input from '../Components/Input' ;
45import './Device.scss' ;
56
6- function Device ( ) {
7+ function Device ( { classes } ) {
8+ console . log ( classes ) ;
79 return (
8- < div className = " handheld flex flex-col h-full shadow-lg gap-8" >
10+ < div className = { ` handheld flex flex-col h-full shadow-lg gap-8 ${ classes } ` } >
911 < div className = "handheld__screen flex justify-center" >
1012 < Screen />
1113 </ div >
12- < div className = "handheld__input flex justify-center " >
14+ < div className = "handheld__input flex" >
1315 < Input />
1416 </ div >
1517 </ div >
1618 ) ;
1719}
1820
21+ Device . propTypes = {
22+ classes : PropTypes . string ,
23+ } ;
24+
25+ Device . defaultProps = {
26+ classes : '' ,
27+ } ;
28+
1929export default Device ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- // import { ExperienceCard, ProjectCard } from '../../components';
32import './LandingPage.scss' ;
43import { Device } from '../../components' ;
5- // import ParticleBackground from '../../components/ParticleBackground';
64
75function LandingPage ( ) {
86 return (
97 < div className = "flex justify-center items-center py-4 h-screen" >
10- < Device />
8+ < Device classes = "tablet:block hidden" />
9+ < p className = "font-pixel tablet:hidden block" > under construction...</ p >
1110 </ div >
1211 ) ;
1312}
Original file line number Diff line number Diff line change 8080 align-items : center ;
8181 @include tablet {
8282 font-size : $p-font-size-tablet ;
83- line-height : $p-font-size-tablet * 1.5 ;
8483 }
8584 @include mobile {
8685 font-size : $p-font-size-mobile ;
87- line-height : $p-font-size-mobile * 1.5 ;
8886 }
8987}
You can’t perform that action at this time.
0 commit comments