5. Storefront layout
Build the two-column layout that wraps the checkout steps.
On this page
In this step, you'll implement the general layout of the storefront. The storefront will have a simple two-column layout, with one column showing the current page's content, and another showing the current region and allowing the customer to change it.
Create Second Column
Before creating the layout, you'll create the second column that's consistent across pages.
To create the component, create the file components/SecondCol/index.tsx with the following content:

tsx
You create a SecondCol component that shows the Aiminaabee logo and a dropdown to change the selected region. You use the useRegion hook to access the region context and manage region data.
When the customer changes the selected region in the dropdown, the selected region is changed in the context, which also updates the customer cart's region.
Add Select Styling
The SecondCol component uses custom styling for the select component using the .select class.
To add that styling, replace the content of app/globals.css with the following content:
css
Create Layout Component
Next, you'll create the layout component that wraps the storefront pages with the general layout. Replace the content of the file components/Layout/index.tsx with the following content:
tsx
You change the layout component to wrap the storefront's components with the RegionProvider and CartProvider components. You also add two-column styling, always showing the SecondCol component on the right side of the page.
This layout will wrap all pages you create next.
Next: 6. Checkout page