Skip to content

Commit

Permalink
image alignment
Browse files Browse the repository at this point in the history
lassejaco committed Mar 17, 2024

Verified

This commit was signed with the committer’s verified signature.
paescuj Pascal Jufer
1 parent a65c7e6 commit 7383169
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions devcon/src/pages/road-to-devcon.tsx
Original file line number Diff line number Diff line change
@@ -260,17 +260,6 @@ const tableColumns: Array<TableColumn> = [

const Hero = (props: any) => {
const { controlsRef, sections } = props
// const [showDragIndicator, setShowDragIndicator] = React.useState(true)

// useEffect(() => {
// controlsRef.current.subscribeX((x: any) => {
// if (x > 100) {
// setShowDragIndicator(false)
// } else {
// setShowDragIndicator(true)
// }
// })
// }, [controlsRef.current])

useWindowWidth('window-width')

@@ -363,7 +352,7 @@ const Hero = (props: any) => {
<Image src={DevaSignature} alt="Deva's signature" className="max-w-[115px] mt-4" />
</div>

<div className="lg:hidden flex w-[50vw] justify-center relative">
<div className="lg:hidden flex w-[50vw] justify-center items-end relative">
<motion.div
className={`flex relative ${css['image']} w-[200%] shrink-0`}
// initial={{ x: 50 }}

0 comments on commit 7383169

Please sign in to comment.