Main Navigation
Navigation bar at the top that will be used to navigate through the main pages of the site.
HTML Code
<div class="main-nav-wrapper">
<a href=index.html><img class="dippd-logo" src="img/dippd-logo.png" alt="dippd donuts branding logo"></a>
<nav class="main-nav-links>
<a href="index.html"><img src="directory.png" alt="Dipp'd shop logo"></a>
<a href="products.html">Shop</a>
<a href="about.html">About Us</a>
<a href="cart.html"><div class="cart-icon"></div></a>
</nav>
</div>
CSS Code
.main-nav-wrapper{
width:100%;
background-color:#6339A1;
display:flex;
justify-content: space-between;
align-items:center;
padding: 1rem 2rem;
}
.main-nav-links{
display:flex;
justify-content: space-between;
align-items:center;
}
Social Media Card
Used on the landing page, this social media container displays instagram posts from Dipp'd customers that provides information for newcomers on what the brand is and how others are receiving it. The container itself always contains an image, a text area and a lower "author" bar. Users are encouraged from this element to learn more and join the Dipp'd movement.
London fogs & vegan donuts season is upon us 😇
@moeliseismail
HTML Code
CSS Code