-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from rulfo71/develop
Website fixes #1
- Loading branch information
Showing
28 changed files
with
551 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,12 @@ | |
a { | ||
color: #fff; | ||
text-decoration: none; | ||
} | ||
|
||
* { | ||
box-sizing: border-box; | ||
} | ||
|
||
#page-wrap { | ||
padding-bottom: 10px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
import '../styles/Organizers.css'; | ||
|
||
export default function Organizer(props) { | ||
const { logo, name, rol, description } = props | ||
const { logo, name, rol, description, url } = props | ||
return ( | ||
<div className='row'> | ||
<> | ||
<hr className='solid divider' /> | ||
<div className='column brand'> | ||
<img src={`${logo}`} alt={name} className="logo" /> | ||
{name} | ||
<div className='row'> | ||
<a className='column brand' href={url} target="_blank" rel='noreferrer'> | ||
<img src={`${logo}`} alt={name} className="logo" /> | ||
{name} | ||
</a> | ||
<div className='column extras'> | ||
<strong> {rol} </strong> | ||
</div> | ||
<div className='column extras'> | ||
<span> | ||
{description} | ||
</span> | ||
</div> | ||
</div> | ||
<div className='column extras'> | ||
<strong> {rol} </strong> | ||
</div> | ||
<div className='column extras'> | ||
<span> | ||
{description} | ||
</span> | ||
</div> | ||
</div> | ||
</> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
//external imports | ||
import { Link } from "react-router-dom"; | ||
import { slide as Menu } from 'react-burger-menu'; | ||
import { useState } from "react"; | ||
|
||
//styles | ||
import '../styles/Sidebar.css'; | ||
|
||
//internal imports | ||
import Button from './Button'; | ||
import infinite from '../static/infinite-white-background.png' | ||
import cross from '../static/cross.png' | ||
import burger from '../static/burger-button.png' | ||
|
||
|
||
|
||
export default function Sidebar(props) { | ||
|
||
const [isOpen, setOpen] = useState(false) | ||
|
||
const handleIsOpen = () => { | ||
setOpen(!isOpen) | ||
} | ||
|
||
const closeSideBar = () => { | ||
setOpen(false) | ||
} | ||
|
||
return ( | ||
<Menu isOpen={isOpen} onOpen={handleIsOpen} onClose={handleIsOpen} width={'100%'} right customBurgerIcon={<img src={burger} className='imgBurgerButton' alt='burger' />} customCrossIcon={<img src={cross} alt='cross' />}> | ||
<div className='headerBurger'> | ||
<img src={infinite} alt="infinite" className="infinite-image-sidebar" /> | ||
</div> | ||
<div className='bodyBurger' > | ||
<Link className="menu-item" to='/' onClick={closeSideBar}> | ||
<span class="dotburger" /> <strong>HOME</strong> | ||
</Link> | ||
<Link className="menu-item" to='/genesis' onClick={closeSideBar}> | ||
<span className="dotburger" /> <strong>GENESIS</strong> | ||
</Link> | ||
</div> | ||
<div className='footerBurger' > | ||
<Button | ||
text='APPLY TO HACK' | ||
img='enter-icon.png' | ||
classImg='dot' | ||
classText='apply-btn-text' | ||
classButton='button buttons-footer-sidebar' | ||
link='https://forms.gle/gKy5XM2YLNP3gNXU9' | ||
/> | ||
<Button | ||
text='BECOME AN ORGANIZER' | ||
img='enter-icon.png' | ||
classImg='dot' | ||
classText='apply-btn-text' | ||
classButton='button buttons-footer-sidebar' | ||
link='https://twitter.com/messages/compose?recipient_id=1544019424382009345' | ||
/> | ||
</div> | ||
</Menu> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
.button { | ||
border-radius: 10px; | ||
display: inline-block; | ||
border: solid 1px #fff; | ||
cursor: pointer; | ||
display: inline-block; | ||
font-family: 'Space Grotesk'; | ||
margin: 10px; | ||
margin-top: 0px; | ||
padding: 15px; | ||
border: solid 1px #fff; | ||
width: fit-content; | ||
font-size: 1vw; | ||
} | ||
|
||
.button:hover { | ||
border: solid 1px palevioletred; | ||
} | ||
|
||
@media screen and (max-width: 900px) { | ||
.button { | ||
font-size: 1rem; | ||
margin-top: 10px; | ||
padding: 10px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.