add prism logo

This commit is contained in:
keyan 2023-09-26 16:44:57 -05:00
parent 683e06bab4
commit cf5b296a9f
2 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,7 @@ import Flag from '../svgs/flag-fill.svg'
import ImageIcon from '../svgs/image-fill.svg'
import { numWithUnits } from '../lib/format'
import ItemInfo from './item-info'
import Prism from '../svgs/prism.svg'
import { commentsViewedAt } from '../lib/new-comments'
import { useRouter } from 'next/router'
import { Badge } from 'react-bootstrap'
@ -68,6 +69,7 @@ export default function Item ({ item, rank, belowTitle, right, full, children, s
<BountyIcon className={`${styles.bountyIcon} ${item.bountyPaidTo?.length ? 'fill-success' : 'fill-grey'}`} height={16} width={16} />
</ActionTooltip>
</span>}
{item.forwards?.length > 0 && <span className={styles.icon}><Prism className='fill-grey ms-1' height={14} width={14} /></span>}
{image && <span className={styles.icon}><ImageIcon className='fill-grey ms-2' height={16} width={16} /></span>}
</Link>
{item.url && !image &&

3
svgs/prism.svg Normal file
View File

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 330 300">
<path fill-rule="evenodd" d="M162.395 4.502c-1.441 2.476-15.49 26.743-31.22 53.925l-28.6 49.424-45.65.112-45.65.112-2.826 1.491c-7.563 3.989-10.378 12.663-6.546 20.172 1.648 3.23 3.708 5.174 7.172 6.77l2.75 1.267 36.645.275 36.644.275-24.163 41.8c-13.29 22.99-24.528 42.483-24.974 43.318l-.811 1.517 141.78-.142 141.779-.143 2.475-1.298c5.664-2.97 8.456-7.445 8.456-13.552 0-6.171-2.726-10.46-8.667-13.639-2.199-1.176-2.853-1.216-22.925-1.384l-20.662-.172-4.992-8.628-4.992-8.627 25.378-.275 25.379-.275 3.137-1.541c3.471-1.704 5.593-3.89 7.129-7.347 2.675-6.019 1.601-11.767-3.071-16.439-4.792-4.792-3.486-4.648-42.164-4.648h-33.393l-5.282-9.133c-2.904-5.024-5.281-9.224-5.281-9.333 0-.11 17.758-.269 39.463-.354l39.462-.155 3.137-1.541c11.264-5.531 11.275-21.332.019-26.875l-2.606-1.284-48.666-.275-48.666-.275-5.317-9.199-5.317-9.2 53.708-.15 53.708-.151 3.137-1.541c3.471-1.704 5.593-3.89 7.129-7.347 2.675-6.019 1.601-11.767-3.071-16.439-4.977-4.977.007-4.648-70.427-4.648h-61.657l-5.319-9.212-5.32-9.213 67.764-.275 67.764-.275 3.137-1.541c3.471-1.704 5.593-3.89 7.129-7.347 2.675-6.019 1.601-11.767-3.071-16.439C320.348-.373 327.143 0 240.808 0h-75.793l-2.62 4.502m41.389 122.64c21.17 36.653 38.574 66.848 38.674 67.1.101.252-34.755.458-77.458.458-42.703 0-77.559-.207-77.458-.461C88.081 192.884 164.754 60.5 165 60.5c.161 0 17.613 29.989 38.784 66.642"/>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB