-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: master
Are you sure you want to change the base?
Conversation
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. |
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 |
👍 to the shortened version. |
styles.css
Outdated
vertical-align: middle; | ||
} | ||
.content { | ||
text-align: center; |
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.
Can this be removed since .container
has text-align: center
?
@chasenlehara made some changes and accept your review. 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"> |
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.
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
what do you think about a nice looking startpage ?