-
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.
Improvements to responsiveness and more utility components.
- Loading branch information
1 parent
b51cf9e
commit 0d870e0
Showing
36 changed files
with
337 additions
and
396 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
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,6 +1,6 @@ | ||
.collection { | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: center; | ||
gap: .5rem; | ||
width: 27.5rem; | ||
} |
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 was deleted.
Oops, something went wrong.
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,14 @@ | ||
import Divider from './utility/Divider'; | ||
const JobHeader = (props) => { | ||
return ( | ||
<div className="col" style={{gridArea: props.name}}> | ||
<div className="row align-center gap-sm"> | ||
<img src={props.icon} /> | ||
<h4>Tank</h4> | ||
</div> | ||
<Divider /> | ||
</div> | ||
); | ||
} | ||
|
||
export default JobHeader; |
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,27 @@ | ||
import Bar from './utility/Bar'; | ||
const JobItem = (props) => { | ||
const link = "https://na.finalfantasyxiv.com/jobguide/"; | ||
let nameNoGap = (props.name).replace(/\s/g, ''); | ||
return ( | ||
<a | ||
className="row align-center gap-sm" | ||
style={{gridArea: (props.name).replace(/\s/g, '')}} | ||
href={props.hasLink ? link + nameNoGap : null} | ||
> | ||
<img src={"https://xivapi.com" + props.icon} className="icon--job" /> | ||
<h2 | ||
className={"job__level-text" + (props.level == 90 ? " max" : "")}> | ||
{props.level} | ||
</h2> | ||
<div className='col max-width'> | ||
<p>{props.name}</p> | ||
<Bar | ||
width={(props.exp[0] / props.exp[1] * 100).toString() + "%"} | ||
color="var(--color-experience)" | ||
/> | ||
</div> | ||
</a> | ||
); | ||
} | ||
|
||
export default JobItem |
Oops, something went wrong.