Skip to content

Commit 7b3bf77

Browse files
committed
Add temporary mobile placeholder
1 parent 5a27084 commit 7b3bf77

7 files changed

Lines changed: 22 additions & 14 deletions

File tree

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
erosdipede.ca

src/components/Handheld/Components/Input/Input.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ import './Input.scss';
33

44
function 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" />

src/components/Handheld/Components/Input/Input.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.handheld-input {
22
width: 576px;
3-
height: 408px;
3+
margin-top: 24px;
44
&__panel {
55
&--left {
66
.handheld-input__panel__controls {

src/components/Handheld/Components/Screen/Screen.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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>
Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,29 @@
11
import React from 'react';
2+
import PropTypes from 'prop-types';
23
import { Screen } from '../Components';
34
import Input from '../Components/Input';
45
import './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+
1929
export default Device;

src/pages/LandingPage/LandingPage.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import React from 'react';
2-
// import { ExperienceCard, ProjectCard } from '../../components';
32
import './LandingPage.scss';
43
import { Device } from '../../components';
5-
// import ParticleBackground from '../../components/ParticleBackground';
64

75
function 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
}

src/styles/mixins/typography.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,8 @@
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
}

0 commit comments

Comments
 (0)