Add my profile and windowsphone icon (#901)

This commit is contained in:
Jérémie Bertrand 2020-08-13 19:43:19 +02:00 committed by GitHub
parent e0d18a80eb
commit 61bf1ccc16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 3 deletions

View file

@ -63,7 +63,7 @@ module.exports.Schema = Joi.object({
twitter: Joi.string().pattern(new RegExp(/^@?(\w){1,15}$/)),
emoji: Joi.string().allow(''),
computer: Joi.string().valid('apple', 'windows', 'linux'),
phone: Joi.string().valid('iphone', 'android'),
phone: Joi.string().valid('iphone', 'android', 'windowsphone'),
tags: Joi.array().items(Joi.string()),
});

View file

@ -112,7 +112,7 @@ Person.propTypes = {
tags: PropTypes.arrayOf(PropTypes.string),
country: PropTypes.string,
computer: PropTypes.oneOf(['apple', 'windows', 'linux']),
phone: PropTypes.oneOf(['iphone', 'android']),
phone: PropTypes.oneOf(['iphone', 'android', 'windowsphone']),
twitter(props, propName, componentName) {
if (!/^@?(\w){1,15}$/.test(props[propName])) {
return new Error(

View file

@ -9397,6 +9397,25 @@ module.exports = [
phone: 'iphone',
tags: ['Developer', 'Backend', 'Ruby', 'Rails', 'Goby'],
},
{
name: 'Jérémie Bertrand',
description: 'Developer',
url: 'https://laedit.net/uses/',
twitter: '@laedit',
emoji: '🐧',
country: '🇫🇷',
computer: 'windows',
phone: 'windowsphone',
tags: [
'Developer',
'Back End',
'.NET Core',
'TypeScript',
'C#',
'.NET',
'JavaScript',
],
},
{
name: 'Tony Mamedbekov',
description:

BIN
src/images/windowsphone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -1,7 +1,8 @@
import iphone from '../images/iphone.png';
import android from '../images/android.png';
import windowsphone from '../images/windowsphone.png';
import windows from '../images/windows.svg';
import apple from '../images/apple.svg';
import linux from '../images/linux.png';
export { iphone, android, windows, apple, linux };
export { iphone, android, windowsphone, windows, apple, linux };