Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix graphics #46

Merged
merged 4 commits into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default function EmbeddedPortal({
};

return (
<div className="space-y-6">
<div className="space-y-6 md:relative">
<HeaderContent item={EMBEDDED_PORTAL_ITEM} steps={steps} />
<div className="">
<p className="text-2xl mb-8 md:max-w-lg">
Expand Down Expand Up @@ -81,12 +81,11 @@ export default function EmbeddedPortal({
</div>
</div>
</div>
<SVG
src={EMBEDDED_PORTAL_ITEM.heroUri}
className="w-full md:w-2/3 lg:w-1/2 md:mx-auto md:absolute md:left-[35%] md:top-[100%] lg:left-[30%] lg:top-[100%]"
/>
</div>

<SVG
src={EMBEDDED_PORTAL_ITEM.heroUri}
className="w-full md:w-2/3 lg:w-1/4 md:mx-auto md:absolute md:left-[35%] md:top-[52%] lg:left-[50%] lg:top-[35%]"
/>
</div>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default function Workspace({
</div>
<SVG
src={FILE_FEED_ITEM.heroUri}
className="w-full md:w-2/3 lg:w-1/3 md:mx-auto md:absolute md:left-[35%] md:top-[100%] lg:left-[50%] lg:top-[60%]"
className="w-full md:w-2/3 lg:w-1/3 md:mx-auto md:absolute md:left-[35%] md:top-[100%] lg:left-[70%] lg:top-[60%] xl:left-[50%]"
/>
</div>
);
Expand Down
8 changes: 7 additions & 1 deletion app/(authenticated)/(content)/file-feed/setup-space.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ import {
FILE_FEED_ITEM,
} from "@/lib/workflow-constants";
import { WorkflowType } from "@/lib/workflow-type";
import SVG from "react-inlinesvg";

export default function SetupSpace() {
const steps = FILE_FEED_INITIAL_STEPS;
const item = FILE_FEED_ITEM;

return (
<div className="space-y-6">
<HeaderContent item={FILE_FEED_ITEM} steps={steps} />
<HeaderContent item={item} steps={steps} />

{steps[0].status === "current" && (
<div className=" space-y-4 md:max-w-lg">
Expand All @@ -30,6 +32,10 @@ export default function SetupSpace() {
/>
</div>
)}
<SVG
src={item.heroUri}
className="w-full md:w-2/3 lg:w-1/2 md:mx-auto md:absolute md:left-[35%] md:top-[100%] lg:left-[40%] lg:top-[60%]"
/>
</div>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,12 @@ export default function Workspace({ spaceId }: { spaceId: string }) {
</a>
</p>
</div>
<SVG
src={PROJECT_ONBOARDING_ITEM.heroUri}
className="w-full md:w-2/3 lg:w-1/2 md:mx-auto md:absolute md:left-[45%] md:top-[100%] lg:left-[30%] lg:top-[100%]"
/>
</div>
</div>

<SVG
src={PROJECT_ONBOARDING_ITEM.heroUri}
className="w-full md:w-2/3 lg:w-1/3 md:mx-auto md:absolute md:left-[35%] md:top-[52%] lg:left-[45%] lg:top-[35%]"
/>
</div>
);
}
Loading