move icons

This commit is contained in:
Wes Bos 2020-01-07 15:28:09 -05:00
parent 14c9b52729
commit f718449fdd
5 changed files with 6 additions and 4 deletions

View file

@ -1,9 +1,9 @@
import React from 'react';
import { name } from 'country-emoji';
import iphone from '../../public/icons/iphone.png';
import android from '../../public/icons/android.png';
import windows from '../../public/icons/windows.svg';
import apple from '../../public/icons/apple.svg';
import iphone from '../images/iphone.png';
import android from '../images/android.png';
import windows from '../images/windows.svg';
import apple from '../images/apple.svg';
const icons = { iphone, android, windows, apple };
export default function Person({ person, currentTag }) {

BIN
src/images/android.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

1
src/images/apple.svg Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100px" height="100px"><path fill="#e3e3e4" d="M64.983,7c0,0,1.076,14.875-13.983,17h0.017c0,0-1.076-14.875,13.983-17H64.983z"/><path fill="#e3e3e4" d="M73,49.313c0-7.589,3.725-14.116,9-17.138C78.509,28.313,73.551,26,68.5,26c-7,0-10.75,5-16.5,5 s-9.5-5-16.5-5C26,26,17,34.125,17,45.5c0,9,2.046,17.914,5.125,24C27.5,80.125,34.5,85,38.5,85c4.5,0,6.688-3,13.5-3s9,3,13.5,3 c4,0,11-4.875,16.375-15.5c0.397-0.786,0.764-1.62,1.125-2.494C77.152,64.296,73,57.407,73,49.313z"/><path fill="#1f212b" d="M51.017,25c-0.525,0-0.969-0.406-1.006-0.93c-0.004-0.054-0.003-0.106,0.001-0.158 c-0.058-1.668-0.09-15.747,14.772-17.892c0.042-0.009,0.085-0.015,0.129-0.018c0.01,0,0.021-0.001,0.031-0.001 c0.517-0.066,0.973,0.339,1.046,0.858c0.014,0.097,0.013,0.191,0,0.283c0.055,1.9-0.065,15.708-14.767,17.835 C51.156,24.992,51.087,25,51.017,25z M63.999,8.183C53.298,10.296,52.09,19.567,52.001,22.817 C62.702,20.704,63.91,11.433,63.999,8.183z"/><path fill="#1f212b" d="M65.5,86c-2.205,0-3.876-0.649-5.646-1.336C57.748,83.846,55.57,83,52,83s-5.748,0.846-7.854,1.664 C42.376,85.351,40.705,86,38.5,86c-4.406,0-11.689-5.022-17.268-16.049C17.956,63.476,16,54.335,16,45.5 C16,34.196,24.748,25,35.5,25c3.906,0,6.896,1.481,9.535,2.788C47.331,28.926,49.5,30,52,30s4.669-1.074,6.965-2.212 C61.604,26.481,64.594,25,68.5,25c5.313,0,10.505,2.371,14.242,6.504c0.202,0.225,0.293,0.529,0.245,0.828 c-0.047,0.299-0.228,0.561-0.49,0.711C77.335,35.999,74,42.386,74,49.313c0,7.43,3.786,14.176,9.42,16.786 c0.486,0.226,0.709,0.794,0.504,1.289c-0.428,1.036-0.795,1.851-1.156,2.563C77.189,80.978,69.906,86,65.5,86z M52,81 c3.945,0,6.407,0.956,8.579,1.8C62.237,83.443,63.67,84,65.5,84c3.184,0,9.934-3.981,15.482-14.951 c0.233-0.462,0.472-0.973,0.731-1.57C75.782,64.268,72,57.255,72,49.313c0-7.146,3.271-13.798,8.427-17.329 C77.153,28.803,72.868,27,68.5,27c-3.438,0-6.086,1.312-8.647,2.58C57.451,30.77,54.968,32,52,32s-5.451-1.23-7.853-2.42 C41.586,28.312,38.938,27,35.5,27C27.084,27,18,34.073,18,45.5c0,8.536,1.876,17.339,5.018,23.549C28.566,80.019,35.316,84,38.5,84 c1.83,0,3.263-0.557,4.921-1.2C45.593,81.956,48.055,81,52,81z"/><path fill="#1f212b" d="M33.5,76.719c-0.127,0-0.253-0.048-0.351-0.144c-2.434-2.395-4.643-5.534-6.563-9.333 c-2.572-5.083-4.271-12.457-4.544-19.724c-0.01-0.275,0.205-0.508,0.481-0.519c0.271-0.006,0.508,0.206,0.519,0.481 c0.267,7.13,1.926,14.348,4.437,19.31c1.872,3.701,4.016,6.753,6.372,9.071c0.197,0.193,0.199,0.511,0.006,0.707 C33.759,76.669,33.629,76.719,33.5,76.719z"/><path fill="#1f212b" d="M23.035,42c-0.043,0-0.087-0.006-0.131-0.018c-0.267-0.072-0.424-0.347-0.352-0.613 c0.639-2.356,1.855-4.507,3.52-6.218c0.193-0.198,0.51-0.202,0.707-0.01c0.198,0.192,0.202,0.509,0.01,0.707 c-1.546,1.59-2.677,3.589-3.271,5.782C23.457,41.854,23.256,42,23.035,42z"/><path fill="#1f212b" d="M28.5,34.252c-0.159,0-0.316-0.076-0.413-0.218c-0.155-0.229-0.097-0.539,0.131-0.695 c0.96-0.655,2.007-1.188,3.114-1.583c0.261-0.091,0.546,0.042,0.639,0.303c0.093,0.26-0.043,0.546-0.303,0.639 c-1.026,0.366-1.997,0.86-2.886,1.468C28.695,34.224,28.598,34.252,28.5,34.252z"/><path fill="#1f212b" d="M33.499,32.191c-0.237,0-0.449-0.171-0.491-0.413c-0.048-0.272,0.134-0.531,0.405-0.579 c0.347-0.062,0.694-0.113,1.042-0.145c0.259-0.015,0.518,0.178,0.543,0.453c0.024,0.274-0.178,0.518-0.453,0.543 c-0.32,0.029-0.639,0.077-0.958,0.133C33.558,32.189,33.528,32.191,33.499,32.191z"/></svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
src/images/iphone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

1
src/images/windows.svg Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="12 -12 48 48" width="96px" height="96px"><path fill="#03a9f4" d="M34.807,12.511l-3.488,12.077c-3.03-2.052-6.327-3.744-13.318-0.83l3.408-11.945l0.041-0.019C28.414,8.908,31.787,10.447,34.807,12.511z"/><path fill="#ffc107" d="M36.633,13.68l-3.447,11.943c3.028,2.069,6.383,3.718,13.365,0.805l3.324-11.643C42.76,17.24,39.66,15.731,36.633,13.68z"/><path fill="#ff5722" d="M35.387,10.337l3.441-11.964C35.8-3.688,32.442-5.344,25.454-2.424L22.011,9.59c2.775-1.153,4.969-1.682,6.806-1.666C31.604,7.942,33.563,9.102,35.387,10.337z"/><path fill="#7cb342" d="M40.643-0.369l-3.44,12.033c3.018,2.063,6.669,3.752,13.359,0.738L54,0.415C47.021,3.317,43.665,1.688,40.643-0.369z"/></svg>

After

Width:  |  Height:  |  Size: 716 B