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

add pickles #11

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This project was initially created to celebrate the sprout. But now, [thanks to
- 🌽 [Corn](images/screenshots/tweet-corn.png)
- 👻 [Candy corn](images/screenshots/tweet-candycorn.png)
- 🍆 [Eggplants](images/screenshots/tweet-eggplants.png)
- 🥒 Pickles
- 🥔 [Potatoes](images/screenshots/tweet-potatoes.png)
- 🍅 [Tomatoes](images/screenshots/tweet-tomatoes.png)

Expand Down
Binary file added images/pickles/eva-elijas-pexels.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/pickles/jancickal-pixabay.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/pickles/jonathan-pielmayer-1-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/pickles/jonathan-pielmayer-2-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/pickles/marta-tiuzova-pexels.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/pickles/mockup-graphics-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/pickles/public-domaine-pixy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 19 additions & 8 deletions sproutify.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ const broccoliImagePaths = [
"images/broccoli/pixabay-general.jpg"
];

const candyCornImagePaths = [
"images/candyCorn/dane-deaner-unsplash.jpg",
"images/candyCorn/sheri-silver-unsplash.jpg",
"images/candyCorn/skeeze-pixabay.jpg",
"images/candyCorn/wokandapix-pixabay.jpg"
];

const carrotImagePaths = [
"images/carrots/balla-schottner-unsplash.jpg",
"images/carrots/heather-gill-unsplash(2).jpg",
Expand All @@ -53,13 +60,6 @@ const cornImagePaths = [
"images/corn/virgil-cayasa-unsplash.jpg"
];

const candyCornImagePaths = [
"images/candyCorn/dane-deaner-unsplash.jpg",
"images/candyCorn/sheri-silver-unsplash.jpg",
"images/candyCorn/skeeze-pixabay.jpg",
"images/candyCorn/wokandapix-pixabay.jpg"
];

const eggplantImagePaths = [
"images/eggplants/charles-deluvio-landscape-unsplash.jpg",
"images/eggplants/charles-deluvio-portrait-unsplash.jpg",
Expand All @@ -80,6 +80,16 @@ const greenBeanImagePaths = [
"images/greenBeans/yulia-rozanova-pexels.jpg"
];

const pickleImagePaths = [
"images/pickles/eva-elijas-pexels.jpg",
"images/pickles/jancickal-pixabay.jpg",
"images/pickles/jonathan-pielmayer-1-unsplash.jpg",
"images/pickles/jonathan-pielmayer-2-unsplash.jpg",
"images/pickles/marta-tiuzova-pexels.jpg"
"images/pickles/mockup-graphics-unsplash.jpg",
"images/pickles/public-domaine-pixy.jpg"
];

const potatoImagePaths = [
"images/potatoes/bowl-1842294_1920.jpg",
"images/potatoes/potatoes-1866415_1920.jpg",
Expand Down Expand Up @@ -117,11 +127,12 @@ const map = {
sprouts: sproutImagePaths,
avocados: avocadoImagePaths,
broccoli: broccoliImagePaths,
candyCorn: candyCornImagePaths,
carrots: carrotImagePaths,
corn: cornImagePaths,
candyCorn: candyCornImagePaths,
eggplants: eggplantImagePaths,
greenBeans: greenBeanImagePaths,
pickles: pickleImagePaths,
potatoes: potatoImagePaths,
pumpkins: pumpkinImagePaths,
tomatoes: tomatoImagePaths
Expand Down
3 changes: 2 additions & 1 deletion veggie-selector/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@
<option value="sprouts" class="option">&#129388; sprouts</option>
<option value="avocados" class="option"> &#129361; avocados</option>
<option value="broccoli" class="option"> &#129382; broccoli</option>
<option value="candyCorn" class="option">&#57627; candy corn</option>
<option value="carrots" class="option">&#129365; carrots</option>
<option value="corn" class="option">&#127805; corn</option>
<option value="candyCorn" class="option">&#57627; candy corn</option>
<option value="eggplants" class="option"> &#127814; eggplants</option>
<option value="greenBeans" class="option">&#129387; green beans</option>
<option value="pickles" class="option">&#129362; pickles</option>
<option value="potatoes" class="option">&#129364; potatoes</option>
<option value="pumpkins" class="option">&#127875; pumpkins</option>
<option value="tomatoes" class="option">&#127813; tomatoes</option>
Expand Down