-
-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: Add styles to greeter for not-logged-in users according to Fig…
…ma mockup. (#8009)
- Loading branch information
1 parent
dab7ac3
commit 28741d0
Showing
6 changed files
with
168 additions
and
35 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,32 @@ | ||
<h1>Open Food Facts</h1> | ||
|
||
<div class="row hide-when-logged-in"> | ||
|
||
<div class="medium-12 large-6 columns"> | ||
|
||
<h2>Discover</h2> | ||
|
||
<p>Open Food Facts is a food products database made by everyone, for everyone.</p> | ||
<p>You can use it to make better food choices, and as it is open data, anyone can re-use it for any purpose.</p> | ||
|
||
<p>→ <a href="/discover">Learn more about Open Food Facts</a></p> | ||
|
||
<div class="hide-when-logged-in homepage-greeter-wrapper"> | ||
<div class="homepage-greeter"> | ||
<div class="homepage-greeter__discover"> | ||
<div class="homepage-greeter__discover--content"> | ||
<div> | ||
<h2>Discover</h2> | ||
<p>Open Food Facts is a food products database made by everyone, for everyone. You can use it to make better food choices, and as it is open data, anyone can re-use it for any purpose.</p> | ||
</div> | ||
<a class="button round secondary small homepage-greeter__button" href="/discover"><span class="material-icons">auto_stories</span>Learn more about Open Food Facts</a> | ||
</div> | ||
<div class="homepage-greeter__discover--image"> | ||
<img src="images/illustrations/globe.svg" alt="Discover Open Food Facts." /> | ||
</div> | ||
</div> | ||
|
||
<div class="medium-12 large-6 columns"> | ||
|
||
<h2>Contribute</h2> | ||
|
||
<p>Open Food Facts is a non-profit project developed by thousands of volunteers from around the world. | ||
You can start contributing by <a href="/open-food-facts-mobile-app">adding a product from your kitchen with our app for iPhone or Android</a>, and we have lots of | ||
exciting projects you can contribute to in many different ways.</p> | ||
|
||
<p>→ <a href="/contribute">Learn more about how you can join us</a></p> | ||
|
||
<div class="homepage-greeter__contribute"> | ||
<div class="homepage-greeter__contribute--content"> | ||
<div> | ||
<h2>Contribute</h2> | ||
<p> | ||
Open Food Facts is a non-profit project developed by thousands of volunteers from around the world. | ||
You can start contributing by <a href="/open-food-facts-mobile-app">adding a product from your kitchen with our app for iPhone or Android</a>, and we have lots of | ||
exciting projects you can contribute to in many different ways. | ||
</p> | ||
</div> | ||
<a class="button round secondary small homepage-greeter__button" href="/contribute"><span class="material-icons">add_task</span>Learn more about how you can join us</a> | ||
</div> | ||
<div class="homepage-greeter__contribute--image"> | ||
<img src="images/illustrations/puzzle-big.svg" alt="Contribute to Open Food Facts." /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters