diff --git a/.gitignore b/.gitignore index bddabf688b..e21a94e698 100644 --- a/.gitignore +++ b/.gitignore @@ -30,8 +30,6 @@ _output /site/static/svelte-app.json /site/static/contributors.jpg /site/static/workers -/site/static/organisations /site/scripts/svelte-app /site/scripts/community /site/src/routes/_contributors.js -/site/src/routes/_components/WhosUsingSvelte.* diff --git a/site/src/routes/_components/WhosUsingSvelte.js b/site/src/routes/_components/WhosUsingSvelte.js new file mode 100644 index 0000000000..1134132099 --- /dev/null +++ b/site/src/routes/_components/WhosUsingSvelte.js @@ -0,0 +1,80 @@ +export const companies = [ + { + href: "https://1password.com", + filename: "1password.png", + alt: "1Password logo", + }, + { + href: "https://www.alaskaair.com/", + style: "background-color: #01426a;", + filename: "alaskaairlines.svg", + alt: "Alaska Airlines logo", + }, + { + href: "https://avast.com", + filename: "avast.svg", + alt: "Avast logo", + }, + { + href: "https://chess.com", + style: "background-color: #312e2b;", + filename: "chess.svg", + alt: "Chess.com logo", + }, + { + href: "https://fusioncharts.com", + filename: "fusioncharts.svg", + alt: "FusionCharts logo", + }, + { + href: "https://godaddy.com", + filename: "godaddy.svg", + alt: "GoDaddy logo", + }, + { + href: "https://www.ibm.com/", + filename: "ibm.svg", + alt: "IBM logo", + }, + { + href: "https://media.lesechos.fr/infographie", + filename: "les-echos.svg", + alt: "Les Echos", + }, + { + href: "https://www.philips.co.uk", + filename: "philips.svg", + alt: "Philips logo", + }, + { + href: "https://global.rakuten.com/corp/", + filename: "rakuten.svg", + alt: "Rakuten logo", + }, + { + href: "https://razorpay.com", + filename: "razorpay.svg", + alt: "Razorpay logo", + }, + { + href: "https://www.se.com", + style: " background-color: #3dcd58; ", + filename: "Schneider_Electric.svg", + alt: "Schneider Electric", + }, + { + href: "https://squareup.com", + filename: "square.svg", + alt: "Square", + }, + { + href: "https://nytimes.com", + filename: "nyt.svg", + alt: "The New York Times logo", + }, + { + href: "https://transloadit.com", + filename: "transloadit.svg", + alt: "Transloadit", + }, +]; diff --git a/site/src/routes/_components/WhosUsingSvelte.svelte b/site/src/routes/_components/WhosUsingSvelte.svelte new file mode 100644 index 0000000000..0b48800e86 --- /dev/null +++ b/site/src/routes/_components/WhosUsingSvelte.svelte @@ -0,0 +1,60 @@ + + + + +
+ {#each sortedCompanies as {href, filename, alt, style, picture, span}, index} + + {#if picture} + + {#each picture as {type, srcset}} + + {/each} + + + {:else} + + {#if span} + {span} + {/if} + {/if} + + {/each} +
diff --git a/site/static/whos-using-svelte/1password.png b/site/static/whos-using-svelte/1password.png new file mode 100644 index 0000000000..cc12f61884 Binary files /dev/null and b/site/static/whos-using-svelte/1password.png differ diff --git a/site/static/whos-using-svelte/Schneider_Electric.svg b/site/static/whos-using-svelte/Schneider_Electric.svg new file mode 100644 index 0000000000..173a3b3cac --- /dev/null +++ b/site/static/whos-using-svelte/Schneider_Electric.svg @@ -0,0 +1,3 @@ + + + diff --git a/site/static/whos-using-svelte/alaskaairlines.svg b/site/static/whos-using-svelte/alaskaairlines.svg new file mode 100644 index 0000000000..e00f9b72a8 --- /dev/null +++ b/site/static/whos-using-svelte/alaskaairlines.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/site/static/whos-using-svelte/avast.svg b/site/static/whos-using-svelte/avast.svg new file mode 100644 index 0000000000..fa5f20cc66 --- /dev/null +++ b/site/static/whos-using-svelte/avast.svg @@ -0,0 +1,61 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + diff --git a/site/static/whos-using-svelte/chess.svg b/site/static/whos-using-svelte/chess.svg new file mode 100644 index 0000000000..58c41bdbf5 --- /dev/null +++ b/site/static/whos-using-svelte/chess.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/site/static/whos-using-svelte/fusioncharts.svg b/site/static/whos-using-svelte/fusioncharts.svg new file mode 100644 index 0000000000..c04e8e7bb3 --- /dev/null +++ b/site/static/whos-using-svelte/fusioncharts.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/site/static/whos-using-svelte/godaddy.svg b/site/static/whos-using-svelte/godaddy.svg new file mode 100644 index 0000000000..fef85a5ab6 --- /dev/null +++ b/site/static/whos-using-svelte/godaddy.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/site/static/whos-using-svelte/ibm.svg b/site/static/whos-using-svelte/ibm.svg new file mode 100644 index 0000000000..083c0e79e5 --- /dev/null +++ b/site/static/whos-using-svelte/ibm.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/site/static/whos-using-svelte/les-echos.svg b/site/static/whos-using-svelte/les-echos.svg new file mode 100644 index 0000000000..008ba2957b --- /dev/null +++ b/site/static/whos-using-svelte/les-echos.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + diff --git a/site/static/whos-using-svelte/nyt.svg b/site/static/whos-using-svelte/nyt.svg new file mode 100644 index 0000000000..57295a6a11 --- /dev/null +++ b/site/static/whos-using-svelte/nyt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/site/static/whos-using-svelte/philips.svg b/site/static/whos-using-svelte/philips.svg new file mode 100644 index 0000000000..a4db2d7f95 --- /dev/null +++ b/site/static/whos-using-svelte/philips.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/site/static/whos-using-svelte/rakuten.svg b/site/static/whos-using-svelte/rakuten.svg new file mode 100644 index 0000000000..d619d22bf6 --- /dev/null +++ b/site/static/whos-using-svelte/rakuten.svg @@ -0,0 +1,24 @@ + + + diff --git a/site/static/whos-using-svelte/razorpay.svg b/site/static/whos-using-svelte/razorpay.svg new file mode 100644 index 0000000000..eadeeb317b --- /dev/null +++ b/site/static/whos-using-svelte/razorpay.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/site/static/whos-using-svelte/square.svg b/site/static/whos-using-svelte/square.svg new file mode 100644 index 0000000000..1346a6e665 --- /dev/null +++ b/site/static/whos-using-svelte/square.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/site/static/whos-using-svelte/transloadit.svg b/site/static/whos-using-svelte/transloadit.svg new file mode 100644 index 0000000000..4f3870460f --- /dev/null +++ b/site/static/whos-using-svelte/transloadit.svg @@ -0,0 +1 @@ + \ No newline at end of file