Skip to content

Commit

Permalink
form added
Browse files Browse the repository at this point in the history
  • Loading branch information
Sputnikccy committed Mar 5, 2023
1 parent 8e7837b commit a6e011d
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/components/LandingPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ const LandingPage = () => {
return (
<div className='landingPage'>
<div className='linkContainer'>
{/* <Link>
<Link>
<button>Eyes </button>
</Link> */}
</Link>

<Link to = '/lips'>
<button>Lips</button>
Expand Down
30 changes: 22 additions & 8 deletions src/components/PureColor.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import { useState } from 'react';

const PureColor = () => {

const [selectedColor, serSelectedColor] = useState(null);
// const [selectedColor, serSelectedColor] = useState(null);

const handleColorClick = (color) => {
serSelectedColor(color)
}
// const handleColorClick = (color) => {
// serSelectedColor(color)
// }



Expand All @@ -32,17 +32,31 @@ const PureColor = () => {
<img src={no002} alt="004 CARING CRYSTAL" />
</div>

{/* will be adding more */}
{/* will be adding more colors*/}


</div>

<h3 className='002'>002 COSMIC CRYSTAL</h3>
<form>
<label htmlFor="002cosmicCrystal"></label>
<select
name="colors"
id="colors"
className='colors'
>
<option value="002cosmicCrystal">002 cosmic crystal</option>
<option value="004caringCrystal">004 caring crystal</option>
</select>


</form>


<h3 className='004'>004 CARING CRYSTAL</h3>
{/* will be adding more */}
{/* will be adding more colors*/}


<div className='info'> {/* will be adding drop down functions */}
<div className='info'> {/* need to add a drop down to show more contents (same as offcial website) */}
<div>
<h4>How to use</h4>
</div>
Expand Down
4 changes: 4 additions & 0 deletions src/styles/partials/_pureColor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ h2, h3{
}
}

form{
margin: 50px 30%;
}

.info{
margin:0 20%;

Expand Down
4 changes: 4 additions & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ h2, h3 {
margin-right: 20px;
}

form {
margin: 50px 30%;
}

.info {
margin: 0 20%;
}
Expand Down

0 comments on commit a6e011d

Please sign in to comment.