Skip to content

Commit

Permalink
headers update
Browse files Browse the repository at this point in the history
  • Loading branch information
am5815 committed Jun 10, 2024
1 parent 7a9017e commit 9973e19
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/CardModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const CardModal: React.FC<Props> = ({
const [audioLoading, setAudioLoading] = useState<boolean>(false);
const [hasFetchedAudios, setHasFetchedAudios] = useState(false);
const sentenceRefs = useRef<(HTMLIonTextElement | null)[]>([]);
const [displayVideo, setDisplayVideo] = useState<boolean>(true);
const [displayVideo, setDisplayVideo] = useState<boolean>(false);

const fetchAudio = async (index: number) => {
try {
Expand Down
12 changes: 6 additions & 6 deletions src/pages/Discover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ const Discover: React.FC = () => {
<div className="flex justify-center">
<IonCardHeader>
<IonCardTitle className="text-2xl font-bold font-sans mb-2 md:mb-1 md:text-4xl">
Explore what we have
Explore the articles we have
</IonCardTitle>
</IonCardHeader>
</div>
<IonCardContent>
{/* <IonCardContent>
<IonChip outline={false} color={"light"}>
<IonLabel>Articles</IonLabel>
</IonChip>
Expand All @@ -169,7 +169,7 @@ const Discover: React.FC = () => {
<IonChip outline={false} color={"light"}>
<IonLabel>Short Facts</IonLabel>
</IonChip>
</IonCardContent>
</IonCardContent> */}
</IonCard>
{/* <div className="h-6" /> */}
{/* <IonSearchbar
Expand All @@ -196,10 +196,10 @@ const Discover: React.FC = () => {
maxWidth: 1000,
}}
>
<IonText>Select your voice</IonText>
<IonButton size="small" color="warning" shape="round">
<IonText className="mx-2">Select your voice</IonText>
{/* <IonButton size="small" color="warning" shape="round">
<IonIcon icon={informationCircleOutline} />
</IonButton>
</IonButton> */}
<IonButton
size="small"
color="success"
Expand Down

0 comments on commit 9973e19

Please sign in to comment.