@fortawesome/free-solid-svg-icons APIs
- faTimes
- faCheck
- faTrash
- faCog
- faInfoCircle
- faPlus
- faSearch
- faSpinner
- faArrowLeft
- faCopy
- faChevronDown
- faExclamationTriangle
- faUser
- faEdit
- faBars
- faHome
- faCheckCircle
- faExclamationCircle
- faQuestionCircle
- faPlay
- faTrashAlt
- faArrowRight
- faChevronRight
- faChevronUp
- fas
- faEye
- faSignOutAlt
- faLink
- faPen
- faSync
- faEyeSlash
- faStar
- faChevronLeft
- faLock
- faDownload
- faCaretDown
- faClock
- IconDefinition
- faEllipsisV
- faHeart
- faCode
- faAngleDown
- faTimesCircle
- faGlobe
- faFilter
- faSave
- faBell
- faList
- faSortDown
- faSortUp
- faUsers
- faArrowDown
- faArrowUp
- faPause
- faUndo
- faMoon
- faWindowMaximize
- faSyncAlt
- faExternalLinkAlt
- faAngleUp
- faAngleLeft
- faUpload
- faClipboard
- faBook
- faComments
- faSquare
- faCheckDouble
- faPlusCircle
- faComment
- faRandom
- faStop
- faFolderPlus
- faCamera
- faBan
- faEnvelope
- faGavel
- faPalette
- faPlane
- faTasks
- faPencilAlt
- faExchangeAlt
- faMapMarkerAlt
- faAngleRight
- faSun
- faMicrophone
- faMicrophoneSlash
- faVideo
- faVideoSlash
- faFile
- faLanguage
- faCogs
- faUserEdit
- faUserPlus
- faMinus
- faFolderOpen
- faCircleNotch
- faUserAlt
- faCodeBranch
- faCube
- faLaptopCode
- faMap
- faChartArea
- faHistory
- faShare
- faCloudDownloadAlt
- faFileUpload
- faCalendarAlt
- faLightbulb
- faPaperPlane
- faPaintBrush
- faExclamation
- faAnchor
- faBomb
- faMusic
- faCompress
- faExpand
- faRegistered
- faWifi
- faDrawPolygon
- faPhone
- faCommentDots
- faVolumeUp
- faCaretUp
- faBug
- faUserCircle
- faWallet
- faFileContract
- faTag
- faSearchPlus
- faSort
- faKey
- faVolumeMute
- faPowerOff
- faBolt
- faRedoAlt
- faSortAmountDown
- faCloudUploadAlt
- faShapes
- faSortAmountUp
- faTools
- faFileCode
- faRedo
- faAlignLeft
- faUserFriends
- faBookOpen
- faChartBar
- faFileExport
- faFileImport
- faSadCry
- faRocket
- faLinkSlash
- faTh
- faLongArrowAltRight
- faTags
- faDog
- faTv
- faCartPlus
- faMicrochip
- faNetworkWired
- faCommentSlash
- faAddressBook
- faCalendar
- faToggleOff
- faToggleOn
- faUserClock
- faHourglass
- faQuestion
- faStamp
- faAddressCard
- faPoo
- faAppleAlt
- faBible
- faBone
- faCar
- faCat
- faChess
- faSkull
- faFeatherAlt
- faFire
- faWindowMinimize
- faReplyAll
- faSignInAlt
- faBold
- faItalic
- faUnderline
- faHeading
- faQuoteRight
- faListOl
- faListUl
- faLevelDownAlt
- faLevelUpAlt
- faUndoAlt
- faPlug
- faBullhorn
- faPlaneDeparture
- faSimCard
- faBrush
- faAngleDoubleDown
- faCoins
- faCompressArrowsAlt
- faDiceD6
- faNewspaper
- faMinimize
- faUpRightFromSquare
- faCubes
- faRetweet
- faHandPeace
- faSpaceShuttle
- faXmark
- faFileAudio
- faStopwatch
- faDragon
- faSortNumericDown
- faSortNumericDownAlt
- faArrowUpRightFromSquare
- faArrowDown19
- faArrowDown91
- faHashtag
- faRepeat
- faLaptop
- faCloud
- faPiggyBank
- faRunning
- faBiking
- faBicycle
- faShareAlt
- faRuler
- faVial
- faUserTimes
- faUserMinus
- faCalendarDay
- faStepBackward
- faStepForward
- faDotCircle
- faUserLock
- faUserCog
- faTrophy
- faShareSquare
- faHandPointRight
- faChartLine
- faUserShield
- faCheckSquare
- faSortAmountDownAlt
- faIdCard
- faUserSlash
- faCalculator
- faEllipsisH
- faRulerCombined
- faSoap
- faMousePointer
- faHandRock
- faDroplet
- faThumbtack
- faReply
- faLayerGroup
- faMask
- faWindowRestore
- faThLarge
- faDesktop
- faInfo
- faHandsHelping
- faKeyboard
- faChartPie
- faColumns
- faTable
- faTachometerAlt
- faClipboardList
- faHammer
- faLockOpen
- faCity
- faChessRook
- faMountain
- faCampground
- faUniversity
- faCrosshairs
- faWrench
- faArrowCircleLeft
- faIdCardAlt
- faCreditCard
- faDollarSign
- faIdBadge
- faSlidersH
- faEuroSign
- faPoundSign
- faSearchDollar
- faPlayCircle
- faStream
- faFilm
- faSmile
- faPhoneAlt
- faArrowsAltV
- faUserAltSlash
- faLongArrowAltLeft
- faHdd
- faUnlink
- faInbox
- faMagic
- faImage
- faCalendarCheck
- faUserCheck
- faFolder
- faThermometerEmpty
- faCut
- faPaste
- faCircle
- faMobile
- faClipboardCheck
- faSortAlphaUp
- faSortAlphaDown
- faRss
- faPaw
Other Related APIs
- react#useEffect
- react-router-dom#Link
- @fortawesome/free-solid-svg-icons#faBolt
- @fortawesome/free-solid-svg-icons#faCloud
- @fortawesome/free-solid-svg-icons#faPiggyBank
- @fortawesome/free-solid-svg-icons#faRunning
- @fortawesome/free-solid-svg-icons#faBiking
- react-helmet#Helmet
- @fortawesome/react-fontawesome#FontAwesomeIcon
@fortawesome/free-solid-svg-icons#faLaptop TypeScript Examples
The following examples show how to use
@fortawesome/free-solid-svg-icons#faLaptop.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Home.tsx From zwo-editor with MIT License | 4 votes |
export default function Home() {
useEffect(() => {
ReactGA.initialize('UA-55073449-9');
ReactGA.pageview(window.location.pathname + window.location.search);
})
function shareOnFacebook() {
window.open(
'https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent('https://www.zwiftworkout.com/'),
'facebook-share-dialog',
'width=626,height=436');
return false;
}
return (
<div className="home">
<Helmet>
<meta name="description" content="Edit and share your Zwift workouts directly from your browser" />
<meta property="og:title" content="Zwift Workout Editor" />
<meta property="og:description" content="Edit and share your Zwift workouts directly from your browser" />
<link rel="canonical" href="https://www.zwiftworkout.com/" />
<meta property="og:url" content="https://www.zwiftworkout.com/" />
</Helmet>
<div className="hero">
<img src={Icon} alt="logo" width="100" />
<h1>Zwift Workout Editor</h1>
<Link to="/editor/new" className="btn btn-primary btn-xl">Open Editor</Link>
</div>
<div className="features">
<h2>Top features</h2>
<p>Why should I use it?</p>
<div className="perks">
<div>
<h3><FontAwesomeIcon icon={faBiking} fixedWidth /><FontAwesomeIcon icon={faRunning} fixedWidth /> Bike & Run</h3>
<p>Works both for Running and Cycling workouts</p>
</div>
<div>
<h3><FontAwesomeIcon icon={faBolt} fixedWidth /> Fast</h3>
<p>Super fast Online editor for your Zwift workout files.</p>
</div>
<div>
<h3><FontAwesomeIcon icon={faLaptop} fixedWidth /> CPU Friendly</h3>
<p>Edit your workout files outside Zwift - don't overload you computer</p>
</div>
<div>
<h3><FontAwesomeIcon icon={faCloud} fixedWidth /> Share</h3>
<p>Easily share your workout files with your friends</p>
</div>
<div>
<h3><FontAwesomeIcon icon={faPiggyBank} fixedWidth /> Open Source</h3>
<p>This software is free to use.</p>
</div>
</div>
</div>
<div className="blue">
<div className="share" id="share">
<h2>Do you like this?</h2>
<p>Please help me out by sharing this page on Social Media</p>
<a href="https://twitter.com/intent/tweet?text=Check%20out%20this%20Zwift%20Workout%20%20Editor%20https://www.zwiftworkout.com/">
<img src={Twitter} alt="Twitter" width="80" />
</a>
<a href="#share" onClick={shareOnFacebook}>
<img src={Facebook} alt="Facebook" width="80" />
</a>
</div>
</div>
<div className="black">
<div className="about">
<h2>About me</h2>
<div className="bio">
<h3>Bio</h3>
<p>I'm a full stack developer and I love cycling. I joined Zwift during the 2020 lockdown and I loved it.</p>
<p>Find me on Zwift (Carlo Schiesaro <span role="img" aria-label="Italy">??</span>) or follow on <a href="https://www.strava.com/athletes/4523127" target="blank">Strava</a></p>
</div>
<div className="contact">
<h3>Support</h3>
<p>If you'd like to report for a bug or ask for a new feature please use my <a href="https://github.com/breiko83/zwo-editor" target="blank">github repository</a>.</p>
</div>
</div>
</div>
<Footer />
</div>
)
}