Skip to content
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

stylish start page #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

stylish start page #10

wants to merge 3 commits into from

Conversation

pYr0x
Copy link

@pYr0x pYr0x commented Jan 23, 2017

what do you think about a nice looking startpage ?

image

@chasenlehara
Copy link
Contributor

That looks great! I’m concerned about all the extra code that’s required for it though. We would either need to add those code changes to the guide or let the example repo be different than the guide.

@pYr0x
Copy link
Author

pYr0x commented Jan 24, 2017

i mean you can have something like

import "./styles.css";
import $ from "jquery";


let content = `<div class="content">
<img id="logo" src="//stealjs.com/img/steal-landing-page-logo.jpg">
<p class="quote">Futuristic JavaScript dependency loader and builder</p>
</div>`;

$('.container').html(content);

instead

@matthewp
Copy link
Member

👍 to the shortened version.

styles.css Outdated
vertical-align: middle;
}
.content {
text-align: center;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be removed since .container has text-align: center?

@pYr0x
Copy link
Author

pYr0x commented Jan 31, 2017

@chasenlehara made some changes and accept your review.
if you like to update the Quick Quide that would be nice.

feel free to merge

index.js Outdated
$(document.body).append("<h1>Hello World!</h1>");
let content = `
<div class="content">
<img id="logo" src="//stealjs.com/img/steal-landing-page-logo.jpg">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let’s use this SVG so it looks nice on high-DPI screens: http://stealjs.com/docs/static/node_modules/bit-docs-docjs-theme/static/img/StealJS-Logo-V2.svg

I’m going to make the same change on the home page: stealjs/stealjs#30

use svg steal logo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants