mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
Merge branch 'master' into master
This commit is contained in:
commit
d86df5dead
15 changed files with 1338 additions and 392 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import React from 'react';
|
||||
import { FilterProvider } from './src/context/FilterContext';
|
||||
import './static/fonts.css';
|
||||
import React from "react";
|
||||
import { FilterProvider } from "./src/context/FilterContext";
|
||||
import "typeface-fira-mono";
|
||||
|
||||
export const wrapRootElement = ({ element }) => (
|
||||
<FilterProvider>{element}</FilterProvider>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
We need to move these people over to the data.js file:
|
||||
|
||||
https://github.com/wesbos/awesome-uses/blob/website/src/data.js
|
||||
https://github.com/wesbos/awesome-uses/blob/master/src/data.js
|
||||
|
||||
Grab a random person, and fill out the info as best as possible.
|
||||
|
||||
|
|
@ -41,7 +41,7 @@ When done, check that person off.
|
|||
* [x] [Andrew Healey](https://healeycodes.com/uses/) - Fullstack Software Engineer, Blogger, Tutorial Creator.
|
||||
* [ ] [Alex Carpenter](https://alexcarpenter.me/uses/) - Front-end Web Developer and Screencaster.
|
||||
* [ ] [Wang Junxiao](http://www.feng0207.site/uses/) — Java Web Developer, Student.
|
||||
* [ ] [Jeff Wen](https://sinchang.me/uses/) - Web Developer, Open Source Contributor
|
||||
* [x] [Jeff Wen](https://sinchang.me/uses/) - Web Developer, Open Source Contributor
|
||||
* [ ] [Tracy Osborn](https://limedaring.com/uses/) - Designer, Developer, Tech Author, Entreprenerd
|
||||
* [ ] [Bruno Brito](https://brunobrito.pt/uses/) - Web Developer, Content Creator, Digital Marketing 🇵🇹
|
||||
* [ ] [Lemon 🍋](https://ahoylemon.xyz/uses/) - Web Developer, Podcaster, Human Who Makes Dumb Shit
|
||||
|
|
|
|||
5
package-lock.json
generated
5
package-lock.json
generated
|
|
@ -15780,6 +15780,11 @@
|
|||
"is-typedarray": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"typeface-fira-mono": {
|
||||
"version": "0.0.72",
|
||||
"resolved": "https://registry.npmjs.org/typeface-fira-mono/-/typeface-fira-mono-0.0.72.tgz",
|
||||
"integrity": "sha512-bouzjtniGMrakhazipUl6mskswe7UvH3qynU5Wsl0O7NMuL178VtZ0pOqUGsjBJ42l64GZo9nUMI1eSK4kvJbQ=="
|
||||
},
|
||||
"ua-parser-js": {
|
||||
"version": "0.7.21",
|
||||
"resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.21.tgz",
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@
|
|||
"react": "^16.12.0",
|
||||
"react-dom": "^16.12.0",
|
||||
"react-helmet": "^5.2.1",
|
||||
"styled-components": "5.0.0-rc.3"
|
||||
"styled-components": "5.0.0-rc.3",
|
||||
"typeface-fira-mono": "0.0.72"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npx --node-arg '-r esm' gatsby build",
|
||||
|
|
|
|||
69
readme.md
69
readme.md
|
|
@ -30,14 +30,20 @@ This readme is auto-generated from the data.js file, so please don't PR this fil
|
|||
# Awesome Uses ![Awesome][awesome-badge]
|
||||
|
||||
* [Wes Bos](https://wesbos.com/uses) — Maker of this site. Web Developer, Tutorial Maker, Syntax.fm Podcaster, BBQ Lover
|
||||
* [Vishwasa Navada K](https://vishwas.tech/uses) — Geek. Open source Enthusiast. Occasional blogger, photographer and traveler.
|
||||
* [Silvestar Bistrović](https://www.silvestar.codes/uses/) — Fearless web engineer, CSS developer, JAMstack enthusiast, and WordPress theme specialist.
|
||||
* [Adam Schwartz](https://adamschwartz.co/uses/) — Software developer, designer, film music composer
|
||||
* [Sergey Lysenko](https://soulwish.info/uses/) — Front-end developer, guitar player, MTB rider, snowboarder, runner.
|
||||
* [Habbat Adnan](https://adncodez.com/uses) — Self Taught Web Developer, Full Time Freelancer, Open Source Enthusiast
|
||||
* [Carter McAlister](https://cartermcalister.dev/uses) — Software Engineer, Digital Nomad, Lover of the Outdoors
|
||||
* [Matt Jennings](https://mattjennings.io/uses) — web dev, hockey | tradebreaker.io
|
||||
* [Jason Cory Alvernaz](https://jasoncoryalvernaz.com/uses) — Web Developer, Blogger, YouTuber, and Dog Lover. Not necessarily in that order.
|
||||
* [Alessia Bellisario](https://aless.co/uses) — Web engineer, mechanical keyboard builder, plotter art maker.
|
||||
* [Sam Cross](http://sam-cross.github.io/uses) — "Developer", IT student, frequent traveller by coach, addicted to music.
|
||||
* [Praveen Kumar Purushothaman](https://blog.praveen.science/my-personal-development-environment/) — Cook, Cat Lover, Front End Architect, Full Stack Web Developer Evangelist & Cloud Computing Consultant.
|
||||
* [Rene Pot](https://renepot.com/uses) — Developer Evangelist, JavaScript Developer, Cross-Platform App Developer and gamer
|
||||
* [Rene Pot](http://renepot.com/uses) — Developer Evangelist, JavaScript Developer, Cross-Platform App Developer and gamer
|
||||
* [Gant Laborde](http://gantlaborde.com/uses/) — Speaker, GDE Web/ML, Podcaster, Trainer, Speaker, Author, Podcaster
|
||||
* [Troy Forster](https://tforster.com/uses) — Consulting Technology Director and CTO for Hire
|
||||
* [Kent C. Dodds](https://kentcdodds.com/uses) — JavaScript Software Engineer, speaker, and trainer
|
||||
* [Hussain Aminu](https://hussain4real.github.io/Portfolio/uses) — Web Developer, Data Scientist
|
||||
* [Glenn Reyes](https://glennreyes.com/uses) — Independent Software Engineer, trainer & speaker. Into sports & music.
|
||||
* [Adam Jahnke](https://adamyonk.com/uses) — Caffiend, motorcyclist, climber, recovering perfectionist. I love to make the complex simple.
|
||||
* [Andrew Healey](https://healeycodes.com/uses) — Software Engineer, Writer, Learner!
|
||||
|
|
@ -46,7 +52,6 @@ This readme is auto-generated from the data.js file, so please don't PR this fil
|
|||
* [Josiah Wiebe](https://jwie.be/uses/) — Designer & developer, lifelong learner.
|
||||
* [Benjamin Lannon](https://lannonbr.com/uses/) — Web Developer, Open Source Contributor, Livestreamer
|
||||
* [Braden Watkins](https://bradenwatkins.dev/uses) — Student, Full Stack Developer, Lover of all things analog
|
||||
* [Rick Calder](https://calder.io) — Full Stack Developer, Amateur Writer mostly hockey and development, Hack Musician
|
||||
* [Lauro Silva](https://laurosilva.com/uses) — Software Engineer and Technical Writer
|
||||
* [Nuno Maduro](https://nunomaduro.com/uses/) — Software engineer, Open Source contributor, Speaker
|
||||
* [Adrian Marin](https://adrianthedev.com/uses) — Product-Minded Software Engineer, Digital nomad, no-nonsense enjoyer of life, friends and family.
|
||||
|
|
@ -73,12 +78,11 @@ This readme is auto-generated from the data.js file, so please don't PR this fil
|
|||
* [Christopher Hranj](https://brodan.biz/uses) — Software Engineer, Blogger, Musician, Ultimate player.
|
||||
* [Vincent Ramdhanie](https://vincentramdhanie.com/uses) — Software Developer, Lecturer, Technical Writer and Mentor
|
||||
* [Amir R Muntasser](https://arkm.xyz/uses/) — Web Developer, #vuenicorn wizard, Oxford comma enthusiast, and inventor of the ol' razzle dazzle.
|
||||
* [Pavel Melnik](https://pavel.dev/uses) — Web developer, Technology enthusiast, Energy Management System expert
|
||||
* [Pavel Melnik](https://theopract.gitlab.io/pavel-dev/uses/) — Web developer, Technology enthusiast, Energy Management System expert
|
||||
* [Miguel Ángel Durán](https://midu.dev/uses) — Front end passionate, Web Performance freak, casual speaker, <WTFront! /> podcast host, and gamer.
|
||||
* [David Llop](https://davidllop.com/uses) — Full stack developer from Girona. Open Source contributor. Always Learning.
|
||||
* [Josh Manders](https://joshmanders.com/uses/) — Full Snack Developer and Indie Maker
|
||||
* [Daniel Wirtz](https://danielwirtz.com/uses/) — Designer who codes @Crisp Studio
|
||||
* [Sanket Gandhi](https://sanketgandhi.com/uses) — Software Engineer
|
||||
* [Harry Wolff](https://hswolff.com/uses/) — Front-end engineer and YouTuber
|
||||
* [James Mills](https://jamesmills.co.uk/uses) — Work with PHP & Laravel at @clicksco in Dubai. Pleased to be part of the Laravel community.
|
||||
* [Jeffrey Way](https://laracasts.com/blog/laracasts-uses) — Laracasts Author
|
||||
|
|
@ -86,16 +90,13 @@ This readme is auto-generated from the data.js file, so please don't PR this fil
|
|||
* [Erno Salo](https://endormi.io/uses/) — Full Stack Developer and Open Source Contributor
|
||||
* [Gokulakrishnan Kalaikovan](https://gokul.site/uses) — Web Developer, GDE, Open Source contributor, Speaker
|
||||
* [James Brooks](https://james.brooks.page/uses/) — Software Developer at Laravel and Podcaster
|
||||
* [Douglas Andreani](https://andreanidr.com) — Software Engineer and Tinkerer
|
||||
* [Byurhan Beyzat](https://byurhanbeyzat.com/uses) — Front-End Developer. Engineer. Occasional blogger.
|
||||
* [Richard Palacios G.](https://www.richardpalaciosg.dev/uses) — Web Developer, passionate apprentice, Community co-organizer
|
||||
* [Mike Barkmin](https://www.barkmin.eu/uses/) — I'm a passionate developer and researcher at the University of Duisburg-Essen at the chair of Computer Science Education.
|
||||
* [Hugo Di Francesco](https://codewithhugo.com/uses/) — JavaScript developer, blogger at codewithhugo.com, author of 'Professional JavaScript' with Packt.
|
||||
* [Steve Heyes](https://steveheyes.co.uk/uses) — I like to use tech to build awesome things that makes peoples lives better
|
||||
* [Diego Vazquez](https://gist.github.com/diurivj/78ca931c4b20dca1e1e13982fa9c309d) — Young guy who loves code. Full Stack Web Developer. Lead Teacher @ Ironhack
|
||||
* [Rafael Quintanilha](https://rafaelquintanilha.com/about#uses) — Software Engineer. Blogs about Web Development, Front-end, React, UI/UX, Accessibility.
|
||||
* [Ben Leivian](https://benleivian.com/uses) — A “seasoned” full-stack developer & visual designer 🍔
|
||||
* [Mike Williamson](http://dikuw.com/) — Into IoT, BLE, node.js, Android and iOS native apps
|
||||
* [Roman Husar](https://seemslikelegit.com/uses) — Tinkering, all the time.
|
||||
* [Stephen Senkomago Musoke](https://ssmusoke.com/uses) — Software Engineer, eHealth Technologist, PHP Lover by night, Muganda, Goat Meat for Life, Coffee Drinker
|
||||
* [Jérémy Mouzin](https://jeremymouzin.com/uses) — Software Engineer, Tutorial Maker, Entrepreneur, Blogger
|
||||
|
|
@ -103,11 +104,8 @@ This readme is auto-generated from the data.js file, so please don't PR this fil
|
|||
* [Scott Spence](https://scottspence.me#uses) — Father, husband 👨👩👧 Web Developer. Just In Time learner ❤️ 👍 http://my.pronoun.is/he
|
||||
* [Georgi Yanev](https://gyanev.com/uses/) — Software Engineer, FPV Drone Pilot, Blogger, YouTuber
|
||||
* [Karl Horky](https://github.com/karlhorky/uses/blob/master/readme.md) — Founder, Teacher at https://upleveled.io
|
||||
* [Andrej Jovanovic](https://blog.andrejjovanovic.com/uses) — DevOps System Engineer, Coder, Hardworker
|
||||
* [Josh Farrant](https://farrant.me/uses) — Full-Stack JavaScript developer, creator of Shortcuts JS, astrophysicist and private pilot. I turn coffee, alchemy-like, into code.
|
||||
* [Martin Chammah](https://martinchammah.dev/uses) — Full Stack Gatsby Developer @ ecomerciar
|
||||
* [Pedro Assunção](https://pedroassuncao.com/pages/uses) — Senior Fullstack Software Developer, Tutorial Maker, Blogger
|
||||
* [Marek Racík](https://racik.info/uses) — Full Stack Developer
|
||||
* [Steven van Loef](https://steven.vanloef.com/uses) — Web Developer, App Developer
|
||||
* [Richard Zilahi](https://gist.github.com/zilahir/4aaf5907999ea53711b2d554d22b0f3f) — Full stack developer, pug enthusiast, dying for pizza
|
||||
* [Bezael Pérez](https://dominicode.com/uses) — Front-end Developer passionate. Trainer & speaker
|
||||
|
|
@ -115,25 +113,58 @@ This readme is auto-generated from the data.js file, so please don't PR this fil
|
|||
* [Daniel Van Cuylenburg](https://danielvanc.com/uses) — Front-end Web Developer. Love all things CSS, ReactJS, GatsbyJS, NodeJS and U.I design
|
||||
* [Chiamaka Ikeanyi](https://chiamakaikeanyi.dev/uses) — Software Engineer, Technical Writer, Poet
|
||||
* [Francis Sunday](https://hakaselogs.me/2020-01-10/what-i-use) — Software Engineer | Gopher | Hacker
|
||||
* [Juan Manuel Incaurgarat](https://kilinkis.me/uses) — Front end developer
|
||||
* [Jared Clifton-Lee](https://jared.clifton-lee.com/uses) — Engineer of code; manager of people; trainer of cats
|
||||
* [Carlos Junod](http://carlosjunod.me/uses/) — Husband, Dreamer, Full Stack Developer, Javascript passionate, Graphic Designer
|
||||
* [James Kemp](https://www.jameskemp.dev/uses/) — Web Developer, Blogger, Freelancer
|
||||
* [Tom Hazledine](https://tomhazledine.com/uses) — Data visualisation tinkerer and JS enthusiast. Podcaster. Nerd.
|
||||
* [Khriztian Moreno](https://khriztianmoreno.dev/uses) — #Javascript Developer 🥑& Community builder 👨🏻💻♥️👨🏻🏫 | #MDE at @cloudinary | Producer @commitfm 🎙📻 | Co-Organize of @MedellinJS @avanetr
|
||||
* [Mihai Serban](https://www.mihaiserban.dev/uses) — Software engineer in constant search for new and exciting technologies
|
||||
* [Nick Janetakis](https://nickjanetakis.com/uses) — Freelance Web Developer, Web App Deployment, Tutorials, Technical death metal enthusiast
|
||||
* [Kaleigh Scruggs](https://kaleighscruggs.com/uses) — Front-End Web Developer, stand-up comedian, loves Brazilian jiu-jitsu, tea, and being a helicopter dog mom
|
||||
* [Ste Grainer](https://stegrainer.com/uses) — Designer, Developer
|
||||
* [Yuri Yakovlev](https://mynameisyuri.com/uses) — Maker of this site. Web Developer, Tutorial Maker, Podcaster, BBQ Lover
|
||||
* [José Carlos Correa](https://jossdz.com/uses) — Fullstack developer and speaker. Lead teacher @ironhack and gatsby teacher @platzi. Learning all the time.
|
||||
* [Erv Walter](https://blog.ewal.net/uses/) — Father, Husband, Web Developer, Board Game Addict
|
||||
* [Carlos Andres Charris Sandoval](https://carloscharris.com/uses) — Software Engineer
|
||||
* [Juanito Fatas](https://juanitofatas.com/uses) — Program Tinker 🧙🏼♂️
|
||||
* [Ændrew Rininsland](https://aendrew.com/uses) — Developer-Journalist
|
||||
* [Elliot Bonneville](https://elliotbonneville.com/uses) — Freelance Web Developer / Consultant, educator, lover of coffee, cats, and writing of all kinds.
|
||||
* [John Garrett](https://johngarrett.dev/uses) — Arch Duke of Computering, Full Stack Instructor
|
||||
* [Dieter Stinglhamber](https://www.dieterstinglhamber.me/uses/) — Developer, human, nerd.
|
||||
* [Thomas Weibenfalk](https://www.weibenfalk.com/uses/) — Passionate developer, course creator, youtuber, designer and musician from Sweden
|
||||
* [Dany Paredes](https://danywalls.com/uses) — I was a .NET guy, my last years ❤️ { #js & #sass } and play[ #react #vue #angular #sveltejs]
|
||||
* [Thomas Weibenfalk](https://www.weibenfalk.com/uses/) — Passionate developer, course creator, youtuber, designer and musician from Sweden
|
||||
* [Shiveen Pandita](https://shiveenp.com/uses/) — Fullstack developer and blogger from Sydney
|
||||
* [David Leuliette](https://davidl.fr/uses) — Freelance React Native developer and bootcamp instructor specializing in cross-platform application.
|
||||
* [Dave Berning](https://daveberning.io/uses/) — Developer, author, rocker, Nintendo enthusiast. I also co-organize the CodePen Cincinnati Meetups.
|
||||
* [Jan-Lukas Else](https://jlelse.dev/uses/) — Computer Science Student, Developer & Blogger from Germany
|
||||
* [Seyhun Akyürek](https://www.seyhunakyurek.com/uses/) — Senior Software Specialist. Swift, Objective-C, former Rubyist. Author of twitter-bootstrap-rails
|
||||
* [Eric Oyanadel](https://www.oyanadel.com/uses/) — Artist - Developer - Musician
|
||||
* [Usman Khwaja](https://usmankhwaja.com/uses) — Front end engineer, Jamstack developer
|
||||
* [Thomas Large](https://tomlarge.dev/uses) — My name is Tom! I write code
|
||||
* [Amit Merchant](https://www.amitmerchant.com/uses) — Maker of things. Open-source enthusiast. Blogger.
|
||||
* [Jesse James Burton](https://burtonmediainc.com/uses) — Software Developing Yogi from Alberta, Canada. Lets build the internet together.
|
||||
* [Junaid Qadir](https://junaidqadir.com/uses) — A Full Stack #Laravel Developer
|
||||
* [Yurui Zhang](https://gist.github.com/pallymore/6e12133b5c2fa2856a8a6b288e579c01) — Full-stack developer. Dark mode enthusiast. Quality software devotee.
|
||||
* [Eduardo Reveles](https://www.osiux.ws/about/uses) — Web Engineer, Husband, Gamer.
|
||||
* [Thomas Maximini](https://www.maxi.io/uses/) — Freelance software developer from Germany.
|
||||
* [Philip Theobald](https://www.philiptheobald.com/uses/) — Guitar player, motorcyclist, software engineer, entreprenuer
|
||||
* [Alejandro G. Anglada](https://aganglada.com/uses/) — Dad 👪🔥⚡️ Web Engineer ⚛️🚀 #typescript all over the place 👌
|
||||
* [Antoni Kepinski](https://kepinski.me/uses/) — Node Fetch maintainer // Into Node.js and Rust
|
||||
* [Marcus Obst](https://marcus-obst.de/uses) — Webdeveloper, Music Lover
|
||||
* [Pawel Grzybek](https://pawelgrzybek.com/uses/) — Software Engineer
|
||||
* [Eric McCormick](https://edm00se.codes/uses/) — Software Developer, IBM Champion, coffee lover, dabbler in all things technology, hobbyist 3d design and printing
|
||||
* [Ben Congdon](https://benjamincongdon.me/uses) — Golang, Python, Rust. Runs in the Cloud.
|
||||
* [Jens van Wijhe](https://jens.ai/uses) — Creative web developer and entrepreneur
|
||||
* [Jacob Herper](https://herper.io/uses/) — Senior Front-End Engineer with a passion for all things digital. I create amazing web apps to make the internet a better place.
|
||||
* [Ryan Warner](https://ryan.warner.codes/uses) — Software Engineer and Interface Designer. Leader and Mentor.
|
||||
* [Adam Urban](https://urbanisierung.dev/uses/) — coder, father, left-handed
|
||||
* [Majo Paskuvan](https://paskuvan.us/uses.html) — Front End Developer, Reader, Deaf Person
|
||||
* [Christopher Wavrin](https://wavrin.com/uses) — Full Stack Developer
|
||||
* [Florian Kapfenberger](https://phiilu.com/uses) — Frontend developer from Austria who likes to create modern applications with React (Native)
|
||||
* [Maria Altyeva Schuessler ](http://mariacodes.io/uses) — Nacho Cheese Lover and Senior Full-Stack Developer, Project Manager, and Writer based out of Shanghai, China
|
||||
* [Arturo Campos](https://arturocampos.dev/uses) — Web Developer, dad, mountain biker, meat lover
|
||||
* [Sercan Eraslan](http://sercaneraslan.com/uses) — Front-End Tech Lead
|
||||
* [Jeff Wen](https://sinchang.me/uses) — Web Developer, Open Source Contributor
|
||||
* [Andrea Prus](https://avris.it/uses) — Full stack developer, blogger
|
||||
* [Nick Taylor](https://www.iamdeveloper.com/uses/) — Just some dev from Montreal, Quebec, Canada
|
||||
* [Logan Blangenois](https://logan-blangenois.be/uses/) — Front-end developer passionate about eco-friendly (web)app and React.
|
||||
* [Muhammad Umair](https://gist.github.com/mumairofficial/0d97ed3dca1ba25d9f01b8db8aed42dc) — Fullstack front-end developer and designer, passionate in everything #JavaScript
|
||||
* [Kevin Woblick](https://www.kovah.de/uses/) — I turn Pizza into Code and Photos
|
||||
* [Tarik Omercehajic](https://robotz.tech/uses/) — DevOps Engineer @BicomSystems. Mechanical Engineer in free time :)
|
||||
|
||||
[awesome-badge]: https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg
|
||||
|
|
|
|||
|
|
@ -1,14 +1,22 @@
|
|||
import Joi from '@hapi/joi';
|
||||
import core from '@actions/core';
|
||||
import * as http from 'http';
|
||||
import * as https from 'https';
|
||||
import data from '../src/data.js';
|
||||
import flags from './flags.js';
|
||||
|
||||
if (process.env.CI !== 'true') {
|
||||
core.error = console.error;
|
||||
core.setFailed = console.error;
|
||||
}
|
||||
|
||||
const schema = Joi.object({
|
||||
name: Joi.string().required(),
|
||||
description: Joi.string().required(),
|
||||
url: Joi.string()
|
||||
.uri()
|
||||
.required(),
|
||||
.required()
|
||||
.pattern(/(use|uses|using|setup|environment|^https:\/\/gist.github.com\/)/),
|
||||
country: Joi.string()
|
||||
.valid(...flags)
|
||||
.required(),
|
||||
|
|
@ -32,3 +40,49 @@ errors.forEach(e => {
|
|||
if (errors.length) {
|
||||
core.setFailed('Action failed with validation errors, see logs');
|
||||
}
|
||||
const REQUEST_TIMEOUT = 10000;
|
||||
|
||||
function getStatusCode(url) {
|
||||
const client = url.startsWith('https') ? https : http;
|
||||
return new Promise((resolve, reject) => {
|
||||
setTimeout(() => reject(new Error('Request timed out')), REQUEST_TIMEOUT);
|
||||
client
|
||||
.get(url, res => {
|
||||
resolve(res.statusCode);
|
||||
})
|
||||
.on('error', err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
async function isWorkingUrl(url) {
|
||||
try {
|
||||
const statusCode = await getStatusCode(url);
|
||||
if (statusCode < 200 || statusCode >= 400) {
|
||||
core.error(`Ping to "${url}" failed with status: ${statusCode}`);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
} catch (e) {
|
||||
core.error(`Ping to "${url}" failed with error: ${e}`);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
(async () => {
|
||||
// TODO: we might need to batch these in sets instead of requesting 100+ URLs
|
||||
// at the same time
|
||||
const areWorkingUrls = await Promise.all(
|
||||
data.map(p => p.url).map(url => isWorkingUrl(url))
|
||||
);
|
||||
const failingUrls = areWorkingUrls.filter(a => !a);
|
||||
if (failingUrls.length > 0) {
|
||||
core.setFailed(
|
||||
`Action failed with ${failingUrls.length} URL fetch failures, see logs`
|
||||
);
|
||||
}
|
||||
if (process.env.CI !== 'true') {
|
||||
process.exit(failingUrls.length > 0 ? 1 : 0)
|
||||
}
|
||||
})();
|
||||
|
|
|
|||
|
|
@ -234,6 +234,7 @@ const flags = [
|
|||
'🇿🇼',
|
||||
'🏴',
|
||||
'🏳️🌈',
|
||||
'🇪🇺',
|
||||
];
|
||||
|
||||
export default flags;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import * as icons from '../util/icons';
|
|||
|
||||
export default function Person({ person, currentTag }) {
|
||||
const url = new URL(person.url);
|
||||
const img = `https://logo.clearbit.com/${url.host}`;
|
||||
const img = `https://logo.clearbit.com/${url.host}?size=50`;
|
||||
return (
|
||||
<PersonWrapper>
|
||||
<PersonInner>
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ export default function Topics() {
|
|||
}
|
||||
|
||||
// Component Styles
|
||||
const Tags = styled.div`
|
||||
const Tags = styled.ul`
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
|
@ -92,7 +92,7 @@ const Tag = styled.label`
|
|||
padding: 5px;
|
||||
color: hsla(0, 100%, 100%, 0.8);
|
||||
transition: background-color 0.2s;
|
||||
cursor: ${props => (props.clickable? "pointer" : "default")};
|
||||
cursor: ${props => (props.clickable ? 'pointer' : 'default')};
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
align-items: center;
|
||||
|
|
|
|||
1564
src/data.js
1564
src/data.js
File diff suppressed because it is too large
Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,16 +0,0 @@
|
|||
/* Fonts */
|
||||
@font-face {
|
||||
font-family: 'Fira Mono';
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
src: url('../src/fonts/fira_mono-regular-webfont.woff2') format('woff2'),
|
||||
url('../src/fonts/fira_mono-regular-webfont.woff') format('woff');
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Fira Mono';
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
src: url('../src/fonts/fira_mono-regular_italic-webfont.woff2') format('woff2'), url('../src/fonts/fira_mono-regular_italic-webfont.woff') format('woff');
|
||||
font-display: swap;
|
||||
}
|
||||
Loading…
Reference in a new issue