diff --git a/src/components/SubmissionBox.js b/src/components/SubmissionBox.js
index 06fd3a34..41f177f7 100644
--- a/src/components/SubmissionBox.js
+++ b/src/components/SubmissionBox.js
@@ -6,11 +6,11 @@ import { library } from '@fortawesome/fontawesome-svg-core'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import OverlayTrigger from 'react-bootstrap/OverlayTrigger'
import Tooltip from 'react-bootstrap/Tooltip'
-import { faThumbsUp, faExternalLinkAlt, faScroll, faCode } from '@fortawesome/free-solid-svg-icons'
+import { faExternalLinkAlt } from '@fortawesome/free-solid-svg-icons'
import logo from './../images/metriq_logo_secondary_blue.png'
import ErrorHandler from './ErrorHandler'
-library.add(faThumbsUp, faExternalLinkAlt)
+library.add(faExternalLinkAlt)
class SubmissionBox extends React.Component {
constructor (props) {
@@ -68,11 +68,11 @@ class SubmissionBox extends React.Component {
parseContentUrl () {
const urlStr = String(this.props.item.contentUrl)
if (urlStr.includes('arxiv')) {
- return arXiv:{urlStr.split('/abs/')[1]}
+ return arXiv:{urlStr.split('/abs/')[1]}
} else if (urlStr.includes('github')) {
- return GitHub:{urlStr.split('.com/')[1]}
+ return GitHub:{urlStr.split('.com/')[1]}
} else {
- return ''
+ return Link:{urlStr}
}
}
diff --git a/src/views/Submission.js b/src/views/Submission.js
index 9dc6d84d..d81c6e18 100644
--- a/src/views/Submission.js
+++ b/src/views/Submission.js
@@ -13,9 +13,9 @@ import { Accordion, Button, Card, Modal } from 'react-bootstrap'
import { Link } from 'react-router-dom'
import { library } from '@fortawesome/fontawesome-svg-core'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
-import { faEdit, faExternalLinkAlt, faThumbsUp, faPlus, faTrash, faMobileAlt, faStickyNote, faSuperscript } from '@fortawesome/free-solid-svg-icons'
+import { faEdit, faExternalLinkAlt, faHeart, faPlus, faTrash, faMobileAlt, faStickyNote, faSuperscript } from '@fortawesome/free-solid-svg-icons'
-library.add(faEdit, faExternalLinkAlt, faThumbsUp, faPlus, faTrash, faMobileAlt, faStickyNote, faSuperscript)
+library.add(faEdit, faExternalLinkAlt, faHeart, faPlus, faTrash, faMobileAlt, faStickyNote, faSuperscript)
const dateRegex = /^\d{4}-\d{2}-\d{2}$/
const metricNameRegex = /.{1,}/
@@ -621,7 +621,7 @@ class Submission extends React.Component {
Upvote submission}>
-
+
Submission link}>