-
Notifications
You must be signed in to change notification settings - Fork 4
General Changes #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
General Changes #15
Changes from 14 commits
91d72ab
6dab1e1
0210564
ce35043
e1f907e
62d6d35
e45ae9f
c1f7ca0
cd4f8d8
deb48e2
c1982e8
b2ef7a9
d2f734b
af8e01a
db6c0f8
3c90b99
403d334
c21d328
3f101e5
687cdc5
7a54356
dd060e9
c35cb99
762ee5b
d9a00e7
a155b07
ff4450e
5415f1c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
<title>Cortex Command Community Project</title> | ||
</head> | ||
<body> | ||
<noscript>You need to enable JavaScript to run this app.</noscript> | ||
<noscript>You need to enable JavaScript to view this page, nerd.</noscript> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Undo this please and thanks. |
||
<div id="root"></div> | ||
<!-- | ||
This HTML file is a template. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,15 +13,18 @@ function CortexCardContents(props) { | |
}}> | ||
<h1>{props.title}</h1> | ||
<p>{props.body}</p> | ||
|
||
</div> | ||
</div> | ||
{/* This is an image placeholder **Imagine an Image** */} | ||
<div style={{ | ||
<img style={{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe the original indentation was correct here. |
||
border: '2px solid black', | ||
backgroundColor: 'black', | ||
minHeight: '196px', | ||
width: '196px', | ||
}} /> | ||
}} | ||
src={props.image} alt={props.alt} | ||
/> | ||
</div> | ||
); | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,12 @@ import CortexCardContainer from './CortexCardContainer/CortexCardContainer'; | |
import CortexCardContents from './CortexCardContents/CortexCardContents'; | ||
import MagicArrow from './MagicArrow/MagicArrow'; | ||
|
||
/*i pray to god (if there is one) that there is a beter way to go about this than just manually importing every images*/ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Kill off this comment please. |
||
|
||
import DummySquadImg from './img/Team.png' | ||
import JoystickImg from './img/Joystick.png' | ||
import BuymenuImg from './img/BuyMenu.png' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. probably These can alternatively be included in |
||
|
||
function Home() { | ||
return ( | ||
<div style={{ backgroundColor: '#111'}}> | ||
|
@@ -27,19 +33,24 @@ function Home() { | |
<CortexCardContents | ||
title='Upgraded Engine' | ||
body='The source code has been enhanced to improve performance.' | ||
image={DummySquadImg} | ||
alt='some dummies' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please change the alt text slightly so it's a little better/more uniform: |
||
/> | ||
</CortexCard> | ||
<CortexCard right> | ||
<CortexCardContents | ||
right | ||
title='New Content' | ||
body='New weapons, characters, and scenes.' | ||
body='New weapons, characters, and scenes.' image={BuymenuImg} | ||
alt='a buy menu' | ||
/> | ||
</CortexCard> | ||
<CortexCard> | ||
<CortexCardContents | ||
title='Improved Strategic Gameplay' | ||
body='The team has focused on accentuating the most satisfying gameplay elements.' | ||
image={JoystickImg} | ||
alt='a joystick' | ||
/> | ||
</CortexCard> | ||
</CortexCardContainer> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not a big deal, but you should do a little cleanup - in your dev environment, change this yourself and commit it to your relevant branch so it doesn't show up as cruft here.