mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
small layout optimization for onepager
This commit is contained in:
parent
1e2917525a
commit
0563135ae4
@ -5,7 +5,7 @@ const ContactInfo = ({ email, telephone, name, avatar, link }: { email: string,
|
||||
const assetsApi = useAssetApi();
|
||||
|
||||
return (
|
||||
<div className="tw-bg-gray-100 tw-my-10 tw-p-6">
|
||||
<div className="tw-bg-gray-100 tw-my-6 tw-p-6">
|
||||
<h2 className="tw-text-lg tw-font-semibold">Du hast Fragen?</h2>
|
||||
<div className="tw-mt-4 tw-flex tw-items-center">
|
||||
{avatar && (
|
||||
|
||||
@ -25,9 +25,9 @@ const statusMapping = {
|
||||
|
||||
const SubHeader = ({ type, status, url, title }) => (
|
||||
<div>
|
||||
<div className="tw-flex tw-items-center tw-mt-6">
|
||||
<span className="tw-text-sm tw-text-gray-600">{type}{(status && status !== 'active') ? ` (${statusMapping[status]})` : ''}</span>
|
||||
</div>
|
||||
{type && <div className="tw-flex tw-items-center tw-mt-4">
|
||||
<span className="tw-text-sm tw-text-gray-600 tw-bg-slate-200 tw-rounded tw-py-1 tw-px-2">{type}{(status && status !== 'active') ? ` (${statusMapping[status]})` : ''}</span>
|
||||
</div>}
|
||||
<div className="tw-mt-4">
|
||||
<SocialShareBar url={url} title={title} />
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user