minor improvement
This commit is contained in:
parent
9f74f62330
commit
2893d3caf2
|
@ -19,10 +19,12 @@ const Index = () => {
|
||||||
return (
|
return (
|
||||||
<div className="flex h-screen py-20">
|
<div className="flex h-screen py-20">
|
||||||
{getLink.data ? (
|
{getLink.data ? (
|
||||||
|
<div className="m-auto py-20 w-full">
|
||||||
<LinkDetails
|
<LinkDetails
|
||||||
link={getLink.data}
|
link={getLink.data}
|
||||||
className="max-w-xl p-5 m-auto w-full"
|
className="max-w-xl mx-auto p-5 w-full"
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div className="max-w-xl p-5 m-auto w-full flex flex-col items-center gap-5">
|
<div className="max-w-xl p-5 m-auto w-full flex flex-col items-center gap-5">
|
||||||
<div className="w-20 h-20 skeleton rounded-xl"></div>
|
<div className="w-20 h-20 skeleton rounded-xl"></div>
|
||||||
|
|
|
@ -17,12 +17,14 @@ const Index = () => {
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex h-screen py-20">
|
<div className="flex h-screen">
|
||||||
{getLink.data ? (
|
{getLink.data ? (
|
||||||
|
<div className="m-auto py-20 w-full">
|
||||||
<LinkDetails
|
<LinkDetails
|
||||||
link={getLink.data}
|
link={getLink.data}
|
||||||
className="max-w-xl p-5 m-auto w-full"
|
className="max-w-xl mx-auto p-5 w-full"
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div className="max-w-xl p-5 m-auto w-full flex flex-col items-center gap-5">
|
<div className="max-w-xl p-5 m-auto w-full flex flex-col items-center gap-5">
|
||||||
<div className="w-20 h-20 skeleton rounded-xl"></div>
|
<div className="w-20 h-20 skeleton rounded-xl"></div>
|
||||||
|
|
Ŝarĝante…
Reference in New Issue