Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
dionysuzx committed Mar 27, 2024
1 parent 300b062 commit b8a52ab
Showing 1 changed file with 51 additions and 50 deletions.
101 changes: 51 additions & 50 deletions src/features/footer-subscribe/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,60 +24,61 @@ export const FooterSubscribe: React.FC = () => {
});

return (
<div className={css.root}>
<Icon className={css.icon} icon="notification" />
<></>
// <div className={css.root}>
// <Icon className={css.icon} icon="notification" />

<p className={css.title}>
{t('subscribe.stayUpdated')
.split('\n')
.map((text) => (
<span>{text}</span>
))}
</p>
// <p className={css.title}>
// {t('subscribe.stayUpdated')
// .split('\n')
// .map((text) => (
// <span>{text}</span>
// ))}
// </p>

<div className={css.box}>
// <div className={css.box}>

<form
className={`${css.form} aos`}
onSubmit={handleSubmit}
data-aos-offset="210px"
>
<div className={css.container}>
<Input
value={values.email}
onChange={handleChange}
className={{
root: css.input,
field: css.input_field,
input: css.input_input,
}}
placeholder={t('subscribe.email')}
name="email"
/>
// <form
// className={`${css.form} aos`}
// onSubmit={handleSubmit}
// data-aos-offset="210px"
// >
// <div className={css.container}>
// <Input
// value={values.email}
// onChange={handleChange}
// className={{
// root: css.input,
// field: css.input_field,
// input: css.input_input,
// }}
// placeholder={t('subscribe.email')}
// name="email"
// />

<MediaQuery
query="(min-width: 657px)"
children={
<Button
className={css.button}
text={t('subscribe.subscribe')}
animated={{ offset: '200px' }}
/>
}
/>
// <MediaQuery
// query="(min-width: 657px)"
// children={
// <Button
// className={css.button}
// text={t('subscribe.subscribe')}
// animated={{ offset: '200px' }}
// />
// }
// />

<MediaQuery
query="(max-width: 656px)"
children={
<Button
className={css.button}
text={t('subscribe.subscribe')}
/>
}
/>
</div>
</form>
</div>
</div>
// <MediaQuery
// query="(max-width: 656px)"
// children={
// <Button
// className={css.button}
// text={t('subscribe.subscribe')}
// />
// }
// />
// </div>
// </form>
// </div>
// </div>
);
};

0 comments on commit b8a52ab

Please sign in to comment.