Skip to content

Commit

Permalink
chore: improve landing page (#109)
Browse files Browse the repository at this point in the history
Add button link to the app (/app/)
  • Loading branch information
raphael0202 authored Dec 29, 2023
1 parent 6e922f3 commit ee2cbd8
Showing 1 changed file with 32 additions and 11 deletions.
43 changes: 32 additions & 11 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,32 @@
a {
text-decoration: underline;
}

#top-header {
padding-top: 1rem;
padding-right: 1rem;
display: flex;
justify-content: right;
}

#web-app-button {
background-color: #1868af;
color: white;
font-size: 1rem;
padding: 0.9rem 1.2em;
}
</style>
<div class="row">
<div class="medium-centered small-12 medium-8 columns">
<div class="row">
<div class="small-12 columns">
<header id="top-header">
<a id="web-app-button" href="/app/" class="button radius">
<span class="bt-text">Web app</span>
</a>
</header>
</div>
</div>
<div class="row">
<div class="small-12 columns">
<h1 class="emphasized-title" id="open-prices-title">Open Prices</h1>
Expand All @@ -42,7 +65,7 @@ <h2 class="emphasized-title" id="how-does-open-prices-work">How
does Open Prices work?</h2>
<p>We are crowdsourcing an open-source dataset of food prices.
Prices can be added by retailers or hackers through <a
href="https://prices.openfoodfacts.org/api/docs">our API</a>.
href="/api/docs">our API</a>.
A web and mobile app is in the works to make it easier for
people to add prices.</p>
<p>Open Prices is not only meant to store individual prices, but also
Expand Down Expand Up @@ -108,14 +131,12 @@ <h4 class="emphasized-title" id="how-can-i-contribute">How
<div class="small-12 medium-6 columns end">
<p>You can contribute by adding prices to the dataset. You
can
do so by using <a
href="https://prices.openfoodfacts.org/api/docs">our API</a>
or by using our web or mobile app (coming soon). You
need an
Open Food Facts account to contribute. If you don’t have
one
yet, you can <a href="https://world.openfoodfacts.org/">create
one here</a>.</p>
do so by using <a href="/app/">our web app</a>,
or by using our mobile app (coming soon).
<a href="/api/docs">An API</a> is also available
if you want to integrate Open Prices to your app.
You need an Open Food Facts account to contribute. If you don’t have
one yet, you can <a href="https://world.openfoodfacts.org/">create one here</a>.</p>
</div>
</div>
<div class="row faq-row">
Expand Down Expand Up @@ -174,7 +195,7 @@ <h4 class="emphasized-title" id="how-can-i-get-in-touch">How
the
form of a photo of the price tag or receipt, to ensure
data
quality. We don’t have yet a system to anonymize these
quality. We don’t have yet a system to anonymize receipt
images automatically, so we don’t want to make them
publicly
available, as they may contain personal information.</p>
Expand Down Expand Up @@ -204,7 +225,7 @@ <h4 class="emphasized-title" id="how-can-i-get-in-touch">How
</div>
<div class="small-12 medium-8 columns">
<p>You can contribute prices by using <a
href="https://prices.openfoodfacts.org/api/docs">our API</a>.
href="/api/docs">our API</a>.
If you want to contribute prices at scale, please get in
touch with us at <a
href="mailto:[email protected]">[email protected]</a>.</p>
Expand Down

0 comments on commit ee2cbd8

Please sign in to comment.