Skip to content

stylish start page#10

Open
pYr0x wants to merge 3 commits into
masterfrom
startpage
Open

stylish start page#10
pYr0x wants to merge 3 commits into
masterfrom
startpage

Conversation

@pYr0x
Copy link
Copy Markdown

@pYr0x pYr0x commented Jan 23, 2017

what do you think about a nice looking startpage ?

image

@chasenlehara
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

👍 to the shortened version.

Comment thread styles.css Outdated
vertical-align: middle;
}
.content {
text-align: center;
Copy link
Copy Markdown
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
Copy Markdown
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

Comment thread 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
Copy Markdown
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