This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// App.js | |
import React from 'react'; | |
import { ThemeProvider } from 'styled-components'; | |
import MyApp from 'src/MyApp'; | |
const theme = { | |
button: { | |
color: 'white', | |
background: 'coral', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { execSync } = require('child_process'); | |
const fs = require('fs'); | |
const toPascalCase = string => | |
string | |
.match(/[a-z]+/gi) | |
.map(word => word.charAt(0).toUpperCase() + word.substr(1).toLowerCase()) | |
.join(''); | |
console.log('Ready to generate RN icon font ⏰'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import Icon from './Icon'; | |
export const Louvre = props => <Icon {...props} name="001-louvre" />; | |
export const LeaningTowerOfPisa = props => <Icon {...props} name="002-leaning tower of pisa" />; | |
export const Coliseum = props => <Icon {...props} name="003-coliseum" />; | |
export const Stonehenge = props => <Icon {...props} name="004-stonehenge" />; | |
// and the list continue ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import customFontGlyph from '../../assets/font/custom-font-icon.json'; | |
import { createIconSet } from 'react-native-vector-icons'; | |
export default createIconSet(customFontGlyph, 'custom-font-icon', 'custom-font-icon.ttf'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { StyleSheet, ScrollView, Text, View } from 'react-native'; | |
import { Font } from 'expo'; | |
import * as Icons from './src/Icon'; | |
const styles = StyleSheet.create({ | |
container: { | |
display: 'flex', | |
flexDirection: 'row', | |
flexWrap: 'wrap', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"projects": [ | |
"EmaSuriano/gatsby-starter-mate", | |
"EmaSuriano/astro-art-portfolio", | |
"EmaSuriano/astro-mate", | |
"EmaSuriano/astro-resume", | |
"EmaSuriano/github-tracker", | |
"EmaSuriano/react-hotkey-tooltip", | |
"EmaSuriano/gatsby-starter-event-calendar", | |
"EmaSuriano/gatsby-theme-jsonresume", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import logo from './logo.svg'; | |
import './App.css'; | |
function App() { | |
return ( | |
<div className="App"> | |
<header className="App-header"> | |
<img src={logo} className="App-logo" alt="logo" /> | |
<p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"basics": { | |
"name": "Emanuel Suriano", | |
"label": "Senior Software Engineer", | |
"image": "https://media-exp1.licdn.com/dms/image/C4D03AQGwsLuvWm8psQ/profile-displayphoto-shrink_200_200/0?e=1596067200&v=beta&t=JokwPp6EiuherMNVEnPT8kEnQFVi9VJRx4ThOC5U2uA", | |
"email": "[email protected]", | |
"phone": "", | |
"website": "https://emasuriano.com/", | |
"summary": "A senior engineer with over 5 years of experience in software development. Experienced in Frontend development, mentoring engineers, and software architecture. Open Source enthusiast, speaker, and writer.", | |
"location": { |
OlderNewer