generated from spykelionel/react-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Checkout #23
Open
Minetbayeka
wants to merge
6
commits into
main
Choose a base branch
from
checkout
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Checkout #23
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
740fc2b
completed the form on the checkout page
Minetbayeka 19c3cbe
working on it responsiveness
Minetbayeka af24864
Merge branch 'main' of https://github.com/skye8-tech/cosmic-store int…
Minetbayeka 22614f2
did the reponsiveness for the checkout page
Minetbayeka acfd455
Add a focus on my form input
Minetbayeka 4a1072b
Merge branch 'main' of https://github.com/skye8-tech/cosmic-store int…
asobosamuel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,154 @@ | ||
|
||
import Button from '@components/Button' | ||
import React from 'react' | ||
import image from '../../assets/images/Lcd.jpg' | ||
import image1 from '../../assets/images/Gamepad.jpg' | ||
import image2 from '../../assets/images/visa1.jpg' | ||
import image3 from '../../assets/images/bkash.jpg' | ||
import image4 from '../../assets/images/MasterCard.jpg' | ||
|
||
const checkout = () => { | ||
return ( | ||
|
||
<section className='px-4' > | ||
<div className='max-w-6xl mx-auto'> | ||
<div className='mt-10'> | ||
<h1>Account/My Account/ Product/View Cart/<span className='font-bold'>Checkout</span></h1> | ||
</div> | ||
|
||
<div className='flex justify-between max-md:flex-col md:flex-wrap lg:flex-row gap-5'> | ||
<div className='flex-1'> | ||
<h1 className='font-bold text-4xl mt-10 mb-8'>Billing Details</h1> | ||
|
||
<form className='flex flex-col gap-4'> | ||
<label className='text-xl'>First Name</label> | ||
<input type='text'name='first Name' className='bg-[#F5F5F5] w-full md:h-10 focus:outline-none'/> | ||
<label className='text-xl'>Company Name</label> | ||
<input type='text'name='Name' className='bg-[#F5F5F5] w-full md:h-10 focus:outline-none'/> | ||
<label className='text-xl'>Street Address</label> | ||
<input type='text'name='Address' className='bg-[#F5F5F5] w-full md:h-10 focus:outline-none'/> | ||
<label className='text-xl'>Appointment, float, etc(Optional)</label> | ||
<input type='text'name='' className='bg-[#F5F5F5] w-full md:h-10 focus:outline-none'/> | ||
<label className='text-xl'>Town/City</label> | ||
<input type='text'name='' className='bg-[#F5F5F5] w-full md:h-10 focus:outline-none'/> | ||
<label className='text-xl'>Phone Number</label> | ||
<input type='text'name='' className='bg-[#F5F5F5] w-full md:h-10 focus:outline-none'/> | ||
<label className='text-xl'>Email Address</label> | ||
<input type='text'name='Email' className='bg-[#F5F5F5] w-full md:h-10 focus:outline-none'/> | ||
<div className='flex items-center gap-4 mt-4 mb-20'> | ||
<input type='checkbox' value="" className='bg-black'/> | ||
<label className='text-xl'>Save this information for faster check-out next time</label> | ||
</div> | ||
|
||
|
||
</form> | ||
</div> | ||
|
||
|
||
{/**right side */} | ||
|
||
<div className='md:mt-36 mt-atuo flex-1'> | ||
<div className='flex justify-between gap-16'> | ||
<div className='flex gap-x-8 items-center'> | ||
<div> | ||
<img src={image} className='w-20' /> | ||
</div> | ||
<div> | ||
<p className='text-xl'>LCD Monitor</p></div> | ||
</div> | ||
|
||
<div> | ||
<p className='text-xl items-center'>$850</p> | ||
</div> | ||
|
||
</div> | ||
|
||
<div className='flex justify-between gap-16 mt-5'> | ||
<div className='flex gap-x-8 items-center'> | ||
<div> | ||
<img src={image1} className='w-20'/> | ||
</div> | ||
<div> | ||
<p className='text-xl'>HI Gamepad</p></div> | ||
</div> | ||
|
||
<div> | ||
<p className='text-xl items-center'>$1100</p> | ||
</div> | ||
|
||
</div> | ||
|
||
|
||
<div className=''> | ||
<div className='flex justify-between mt-5'> | ||
<p className='text-xl'>Subtotal:</p> | ||
<p className='text-xl'>$1750</p> | ||
</div> | ||
<div className=' border border-bottom w-54 mt-5'></div> | ||
</div> | ||
|
||
<div className=''> | ||
<div className='flex justify-between mt-5'> | ||
<p className='text-xl'>Shipping:</p> | ||
<p className='text-xl'>Free</p> | ||
</div> | ||
<div className=' border border-bottom w-54 mt-5'></div> | ||
</div> | ||
<div className='flex justify-between mt-5'> | ||
<p className='text-xl'>Total:</p> | ||
<p className='text-xl'>$1750</p> | ||
</div> | ||
|
||
<div className='flex justify-between mt-6'> | ||
<div className='flex items-center gap-3'> | ||
<input type='radio' value="Bank"/> | ||
<label className=' text-xl'>Bank</label> | ||
</div> | ||
<div className='flex justify-evenly gap-3'> | ||
<img src={image3} alt="" className='w-12'/> | ||
<img src={image2} alt="" className='w-12'/> | ||
<img src={image4} alt="" className='w-12'/> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
<div className='flex items-center gap-3'> | ||
<input type='radio' value="Bank"/> | ||
<label className='text-xl'>Cash on delivery</label> | ||
</div> | ||
|
||
|
||
|
||
<div className='flex flex-wrap gap-6 mt-12'> | ||
<button className='border w-80 hover:text-white hover:bg-secondary2 '> | ||
Coupon Code | ||
</button> | ||
|
||
|
||
<div className=''> | ||
<Button | ||
variant ="primary" | ||
text="Apply Coupon" | ||
|
||
/></div> | ||
|
||
</div> | ||
<div className='mt-4 md:mb-0 mb-4'> | ||
<Button | ||
|
||
variant ="primary" | ||
text="Place Order" | ||
|
||
/></div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
</section> | ||
) | ||
} | ||
|
||
export default checkout |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use absolute imports