fix: fix podcast page icon

This commit is contained in:
Hossein Mehrabi 2023-08-28 12:30:36 +03:30
parent a46217f840
commit 3e888ecf24
No known key found for this signature in database
GPG Key ID: 45C04964191AFAA1
3 changed files with 27 additions and 2 deletions

View File

@ -0,0 +1,23 @@
import { LsdIcon } from '@acid-info/lsd-react'
export const ChevronRightIcon = LsdIcon(
(props) => (
<svg
width="14"
height="14"
viewBox="0 0 14 14"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<g id="small/chevron_right-12px">
<path
id="icon"
d="M5.66125 3.5L4.83875 4.3225L7.51041 7L4.83875 9.6775L5.66125 10.5L9.16125 7L5.66125 3.5Z"
fill="black"
/>
</g>
</svg>
),
{ filled: true },
)

View File

@ -0,0 +1 @@
export * from './ChevronRightIcon'

View File

@ -1,10 +1,11 @@
import { ArrowDownIcon, Button, Typography } from '@acid-info/lsd-react'
import { Button, Typography } from '@acid-info/lsd-react'
import { css } from '@emotion/react'
import styled from '@emotion/styled'
import clsx from 'clsx'
import Image from 'next/image'
import Link from 'next/link'
import React from 'react'
import { ChevronRightIcon } from '../../components/Icons/ChevronRightIcon'
import { PostsGrid } from '../../components/PostsGrid'
import { LPE } from '../../types/lpe.types'
import { lsdUtils } from '../../utils/lsd.utils'
@ -67,7 +68,7 @@ export const PodcastShowsPreview: React.FC<PodcastShowsPreviewProps> = ({
<Button
size="small"
variant="outlined"
icon={<ArrowDownIcon color="primary" />}
icon={<ChevronRightIcon color="primary" />}
>
Podcast page
</Button>