generated from deco-sites/storefront
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from deco-sites/feature/login-style
adjusted login style
- Loading branch information
Showing
5 changed files
with
80 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { ComponentChildren } from "preact"; | ||
import Icon from "../../components/ui/Icon.tsx"; | ||
|
||
interface Props { | ||
children?: ComponentChildren; | ||
} | ||
|
||
function FormWrap(props: Props) { | ||
const { | ||
children, | ||
} = props; | ||
|
||
return ( | ||
<div class="container grid-cols-1 md:grid-cols-2 flex flex-col a md:flex-row my-24"> | ||
<div class="flex w-full justify-center md:flex md:px-24 mt-8 md:mt-0"> | ||
<div class="py-10 px-14 bg-[#ededed] rounded-xl relative"> | ||
<div class="absolute top-[-43px] left-1/2 transform -translate-x-1/2"> | ||
<div class="relative bg-white rounded-full h-[73px] w-[73px] shadow-md"> | ||
<div class="absolute text-secondary left-1/2 transform -translate-x-1/2 top-1/2 -translate-y-1/2"> | ||
<Icon id="Ecanna" width={49} height={35} /> | ||
</div> | ||
</div> | ||
</div> | ||
{children} | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default FormWrap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.