Adding Getting Started page #29
Conversation
3a437b0
to
c5fb5e2
Compare
Should it be merged into |
we're using the |
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.
Awesome effort!! Just a few things seem off from the spec but should be a quick fix 😇
color: black; | ||
background-color: var(--color-white-xd); | ||
padding: 5px; | ||
} |
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.
Need a newline here. I think we need to set up linting for this repository.
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 me try to set up linting or get some help from you on setting this up. thanks.
css/loopback.css
Outdated
width: 100%; | ||
position: relative; | ||
top: 40%; | ||
} |
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.
Newline.
getting-started.html
Outdated
</div> | ||
<div class="col-md-6"> | ||
<h3 class="feature-heading">Have you installed Node.js?</h3> | ||
<p class="p large">Before you install LoopBack, make sure to download and install Node.js (version 8.x.x or higher), a JavaScript |
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.
This should say version 8.9.x or higher ... and maybe we should abbreviate version to v? v 8.9.x or higher
?
getting-started.html
Outdated
runtime. </p> | ||
</div> | ||
<div class="col-md-6"> | ||
<a class="btn btn-secondary" style="padding-left:60px; padding-right:60px" role="button" href="https://nodejs.org/en/download/">Install Node.js</a> |
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.
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.
for some reason, the border color is changed when it's in hover. will fix that. thx
getting-started.html
Outdated
</p> | ||
</div> | ||
<div class="col-md-6"> | ||
<p class="code-snippet" style="top:20%"> |
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.
Code snippet should go in a <pre>
block so space is preserved. Any reason to not use that here?
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.
will fix this and other occurrences. thx
getting-started.html
Outdated
</p> | ||
</div> | ||
<div class="col-md-6"> | ||
<p class="code-snippet"> |
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.
This should be a <pre>
block to preserve spacing ... and spacing / alignment should be fixed, for example on the last line the brackets shouldn't be there but rather moved to their own line and the return statement should be indented two levels in while the function is indented one level in.
getting-started.html
Outdated
<div class="container"> | ||
<div class="row text-center"> | ||
<div class="col-md-6"> | ||
<p class="p large" style="position:relative; top:50%">Answer the prompts as follows. |
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.
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.
not sure if i know what you mean. you mean it's not aligned vertically?
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.
i've made it now so that the left text is somewhat in the middle relatively to the right column.
getting-started.html
Outdated
<div style="height:80px"></div> | ||
<h2>Ready to build with LoopBack?</h2> | ||
<br> | ||
<h5 style="font-weight: normal">Let's get you eqipped</h5> |
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.
Need a .
at the end of the sentence.
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.
tagging along here:
eqipped
?
did you mean equipped?
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.
OMG I knew something about the word looked off but couldn't figure out what.
</div> | ||
</nav> | ||
<!-- Header --> | ||
<div class="gs-masthead"> |
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.
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.
I'll change the opacity from 0.4 to 0.2 in the new version. Hope it's better.
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.
Well opacity applies to the entire image right? I think you need a gradient ... as it's lighter in the top and less so in the bottom.
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.
got it
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 looks amazing with the gradient! 🔥
getting-started.html
Outdated
<!-- Header --> | ||
<div class="gs-masthead"> | ||
<div class="container-fluid"></div> | ||
<div style="height:80px"></div> |
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.
Inline styles should be avoided as much as possible.
2950819
to
5f9e8f1
Compare
fe31fdc
to
2755bfd
Compare
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.
Thx @b-admike. Fixed it. |
1822c7f
to
d4aef89
Compare
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.
Great job!! Almost there. Some minor nitpicks.
<p class="p large">Follow the tutorial to create a real-world application with LoopBack 4.</h3> | ||
</div> | ||
<div class="col-md-4"> | ||
<a class="btn btn-primary" role="button" style="padding-left:60px; padding-right:60px" href=https://loopback.io/doc/en/lb4/todo-tutorial.html>View Tutorial</a> |
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.
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.
confirmed with @shimks , only font color is changed. I will submit another PR for the hover spec that I got from Cody after his initial file.
</div> | ||
<div class="col-md-6"> | ||
<h3 class="feature-heading">Test your application</h3> | ||
<p class="p large step">Start the application using <code>npm start</code>. |
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.
The background for <code>
blocks here and elsewhere looks more darker in the spec.
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.
</p> | ||
</div> | ||
<div class="col-md-6"> | ||
Visit <a class="link" href="http://127.0.0.1:3000/hello">http://127.0.0.1:3000/hello</a> to see <code>Hello world!</code> |
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.
Confirm hover effect for links. Right now it just becomes a dark blue + underline (this is the default browser style I think) ... looks out of place imo.
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.
getting-started.html
Outdated
<hr class="hairline"> | ||
<div class="row text-center"> | ||
<div class="col-md-6"> | ||
<p class="p large" style="position:relative;top:40%">Paste the following contents into the file <code>/src/controllers/hello.controller.ts</code>. |
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.
This is not aligned to be in the middle of the code block on the right.
<code-blue> $</code-blue> lb4 controller | ||
<code-blue>[?]</code-blue> Controller class name: hello | ||
<code-blue>[?]</code-blue> What kind of controller would you like to generate? Empty Controller | ||
create src/controllers/hello.controller.ts |
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.
Latest version of the CLI should also be updating the index.ts
file and that should be shown here.
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.
updated with the new output.
</div> | ||
<div class="col-md-6"> | ||
<h3 class="feature-heading">Install LoopBack 4 CLI</h3> | ||
<p class="p large step">The LoopBack 4 CLI is a command-line interface that can scaffold a project or extension. The CLI provides |
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.
Good in terms of spec but we should see if we can reduce the amount of text here, it's a bit overwhelming.
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.
would like to do it in another PR.
getting-started.html
Outdated
runtime. </p> | ||
</div> | ||
<div class="col-md-6"> | ||
<a class="btn btn-secondary" style="padding-left:60px; padding-right:60px; top: 10%" role="button" href="https://nodejs.org/en/download/">Install Node.js</a> |
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.
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.
fixed
</div> | ||
</nav> | ||
<!-- Header --> | ||
<div class="gs-masthead"> |
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 looks amazing with the gradient! 🔥
Signed-off-by: Diana Lau <dhmlau@ca.ibm.com>
Fixes #22