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

minor fix #95

Merged
merged 1 commit into from
Nov 3, 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
Binary file added public/assets/mobile/circle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/mobile/mobile.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 5 additions & 12 deletions src/components/Download.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,12 @@ const Download: React.FC = () => {

return (
<div className="mx-auto h-full w-full max-w-sm space-x-4 overflow-hidden px-3 text-white md:mt-[5rem] md:flex md:max-w-[82vw] md:flex-row-reverse md:gap-8 xl:max-w-7xl">
<div className="h-[70%] md:flex">
<div className="h-[70%] md:flex w-full flex items-center justify-center">
<div
className="flex h-[24rem] w-[20rem] -translate-x-4 items-center sm:-translate-x-0 md:w-[23rem]"
style={{
width: "23rem",
height: "24rem",
}}
dangerouslySetInnerHTML={{
__html: `
<spline-viewer url="https://prod.spline.design/psqhx99vgzwWUMIs/scene.splinecode" style="width: 100%; height: 100%;"></spline-viewer>
`,
}}
/>
className="flex h-[20rem] w-[20rem] -translate-x-4 items-center sm:-translate-x-0 md:w-[23rem] bg-contain bg-center bg-no-repeat bg-[url('/assets/mobile/circle.png')]"
>
<img src = "/assets/mobile/mobile.gif" alt = "gif" className="h-fit w-[30rem] scale-150"/>
</div>
</div>
<div className="h-[30%] text-start lg:h-[20%]">
<div className="mt-4 h-[60%] pb-6 text-center text-lg md:mt-0 md:text-xl">
Expand Down
Loading