mirror of
https://github.com/Radiquum/radiquum.github.io.git
synced 2025-09-05 22:15:37 +05:00
Feat: add mobile (440-768px) styles
This commit is contained in:
parent
c2d825bf36
commit
5981db3626
51 changed files with 817 additions and 133 deletions
18
app/components/IconWithText.tsx
Normal file
18
app/components/IconWithText.tsx
Normal file
|
@ -0,0 +1,18 @@
|
|||
type IconWithTextProps = {
|
||||
icon: string;
|
||||
text: string;
|
||||
desc: string;
|
||||
};
|
||||
|
||||
export const IconWithText = ({ icon, text, desc }: IconWithTextProps) => {
|
||||
return (
|
||||
<div className="flex items-center gap-1">
|
||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||
<img src={icon} alt={""} />
|
||||
<div>
|
||||
<p className="text-2xl">{text}</p>
|
||||
<p className="text-sm">{desc}</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue