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

Feat/adjust in home poc #1706

Merged
merged 13 commits into from
Jan 10, 2025
18 changes: 18 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,24 @@ redirect_from: "/en/index.html"
</section>
<div id="install-command">$ npm install express --save</div>
</div>

<div id="homepage-rightpane" class="pane">
<div id="quick-start">
<pre><code class="language-javascript">
const express = require('express')
const app = express()
const port = 3000

app.get('/', (req, res) => {
res.send('Hello World!')
})

app.listen(port, () => {
console.log(`Example app listening on port ${port}`)
})
</code></pre>
</div>
</div>
</section>
<section id="announcements">
{% include announcement/announcement-en.md %}
Expand Down
21 changes: 20 additions & 1 deletion pt-br/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,26 @@ description: Express is a fast, unopinionated, minimalist web framework for Node
</section>
<div id="install-command">$ npm install express --save</div>
</div>

<div id="homepage-rightpane" class="pane">
<div id="quick-start">
<pre><code class="language-javascript">
const express = require('express')
carlosstenzel marked this conversation as resolved.
Show resolved Hide resolved
const app = express()
const port = 3000

app.get('/', (req, res) => {
res.send('Olá Mundo!')
})

app.listen(port, () => {
console.log(`App de exemplo esta rodando na porta ${port}`)
})
</code></pre>
</div>
</div>
</section>

<section id="announcements">
{% include announcement/announcement-pt-br.md %}
</section>
Expand All @@ -43,4 +62,4 @@ description: Express is a fast, unopinionated, minimalist web framework for Node
</div>
</div>

</section>
carlosstenzel marked this conversation as resolved.
Show resolved Hide resolved
</section>
Loading