Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- header.blade.php
- <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
- <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" rel="stylesheet">
- <style>
- .top-bar {
- background-color: #3d0d5d;
- padding: 16px 24px;
- }
- .brand-text {
- color: white;
- }
- .brand-subtitle {
- font-size: 0.9rem;
- color: #dcdcdc;
- }
- .search-wrapper {
- position: relative;
- max-width: 450px;
- width: 100%;
- flex: 1;
- }
- .search-wrapper input {
- padding-left: 38px;
- border-radius: 8px;
- }
- .search-wrapper .fa-search {
- position: absolute;
- top: 50%;
- left: 12px;
- transform: translateY(-50%);
- color: #aaa;
- }
- @media (max-width: 576px) {
- .search-wrapper {
- width: 100%;
- max-width: 100%;
- margin-top: 10px;
- }
- .header-content {
- flex-direction: column;
- align-items: flex-start;
- gap: 2rem;
- }
- }
- .bottom-bar {
- background-color: #f8f9fa;
- padding: 0px 20px;
- border-top: 1px solid #ddd;
- padding-left: 3rem; /* jarak kiri */
- padding-right: 3rem; /* jarak kanan */
- }
- .navbar .nav-link {
- color: #000;
- font-weight: 500;
- }
- .navbar .nav-link:hover {
- color: #6f42c1;
- }
- .icon-badge {
- position: relative;
- display: inline-block;
- }
- .icon-badge .badge {
- position: absolute;
- top: -6px;
- right: -8px;
- background-color: #8079f7;
- color: white;
- font-size: 12px;
- font-weight: 600;
- width: 18px;
- height: 18px;
- border-radius: 50%;
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 0;
- line-height: 1;
- }
- .hover-dropdown:hover > .dropdown-menu {
- display: block;
- margin-top: 0;
- }
- .nav-link span {
- position: absolute;
- top: -8px;
- right: -12px;
- background-color: #8079f7;
- color: white;
- font-size: 12px;
- font-weight: 600;
- width: 18px;
- height: 18px;
- border-radius: 50%;
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 0;
- line-height: 1;
- }
- </style>
- <body>
- <!-- Top Bar -->
- <div class="top-bar">
- <div class="d-flex justify-content-between align-items-center header-content">
- <div class="d-flex align-items-center gap-4 w-100">
- <div>
- <h4 class="brand-text mb-0">AMETHYSHELF</h4>
- <div class="brand-subtitle">ISB's Largest Bookstore</div>
- </div>
- <div class="search-wrapper" style="flex:1;">
- <i class="fas fa-search"></i>
- <input type="text" class="form-control" placeholder="Cari Produk">
- </div>
- </div>
- <div class="text-white d-flex align-items-center">
- Felicia <i class="fas fa-user ms-2"></i>
- </div>
- </div>
- </div>
- <div class="bottom-bar">
- <div class="container-fluid">
- <nav class="navbar navbar-expand-md navbar-light">
- <div class="collapse navbar-collapse show">
- <div class="row w-100">
- <!-- Kiri -->
- <div class="col-12 col-md-8">
- <ul class="navbar-nav me-auto mb-2 mb-lg-0">
- <li class="nav-item dropdown hover-dropdown mx-3">
- <a class="nav-link dropdown-toggle" href="#" role="button">Categories</a>
- <ul class="dropdown-menu">
- <li><a class="dropdown-item" href="#">Novel</a></li>
- <li><a class="dropdown-item" href="#">Fiction</a></li>
- <li><a class="dropdown-item" href="#">Education</a></li>
- </ul>
- </li>
- <li class="nav-item mx-3"><a class="nav-link" href="#">Products</a></li>
- <li class="nav-item mx-3"><a class="nav-link" href="#">Order History</a></li>
- <li class="nav-item mx-3"><a class="nav-link" href="#">About Us</a></li>
- </ul>
- </div>
- <!-- Kanan -->
- <div class="col-12 col-md-4">
- <ul class="navbar-nav ms-md-auto justify-content-md-end">
- <li class="nav-item me-3">
- <a class="nav-link" href="#"><i class="far fa-heart me-1"></i> Wishlist</a>
- </li>
- <li class="nav-item">
- <a class="nav-link d-flex align-items-center" href="#" style="gap:4px;">
- <div style="position: relative; display: inline-block;">
- <i class="fas fa-shopping-cart"></i>
- <span>1</span>
- </div>
- My Cart
- </a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </nav>
- </div>
- </div>
- </body>
- footer.blade.php
- <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
- <script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script>
- <style>
- .footer {
- background-color: #3d0d5d;
- color: white;
- padding: 40px 60px 20px;
- margin-top: 40px;
- }
- .footer h6 {
- font-weight: bold;
- margin-bottom: 15px;
- }
- .footer a {
- color: white;
- text-decoration: none;
- font-size: 0.9rem;
- margin-bottom: 6px;
- display: block;
- }
- .footer a:hover {
- text-decoration: underline;
- }
- .footer-bottom {
- border-top: 1px solid #ccc;
- text-align: center;
- padding-top: 10px;
- margin-top: 20px;
- font-size: 0.85rem;
- }
- .social-icons i {
- margin-right: 8px;
- }
- @media (max-width: 768px) {
- .footer {
- padding: 30px 20px;
- }
- }
- </style>
- <body>
- <footer class="footer">
- <div class="container-fluid">
- <div class="row">
- <div class="col-md-3 col-sm-6 mb-3">
- <h6>Information</h6>
- <a href="#">About Us</a>
- <a href="#">Shipping & Delivery</a>
- <a href="#">Terms & Condition</a>
- <a href="#">Privacy Policy</a>
- </div>
- <div class="col-md-3 col-sm-6 mb-3">
- <h6>Customer Service</h6>
- <a href="#">Contact Us</a>
- <a href="#">How to Register</a>
- <a href="#">How to Shop</a>
- </div>
- <div class="col-md-3 col-sm-6 mb-3">
- <h6>My Account</h6>
- <a href="#">Account Details</a>
- <a href="#">Order History</a>
- <a href="#">Wishlist</a>
- </div>
- <div class="col-md-3 col-sm-6 mb-3">
- <h6>Our Social Media</h6>
- <a href="#"><i class="fab fa-instagram"></i> Amethyshelf.co</a>
- <a href="#"><i class="fab fa-facebook"></i> Amethyshelf.co</a>
- <a href="#"><i class="fab fa-twitter"></i> Amethyshelf.co</a>
- <a href="#"><i class="fab fa-tiktok"></i> Amethyshelf.co</a>
- </div>
- </div>
- <div class="footer-bottom">
- © 2025 AMETHYSHELF BY GROUP 1
- </div>
- </div>
- </footer>
- </body>
- base.blade.php
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" integrity="sha512-Evv84Mr4kqVGRNSgIGL/F/aIDqQb7xQ2vcrdIwxfjThSH8CSR7PBEakCr51Ck+w+/U6swU2Im1vVX0SVk9ABhg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
- <title>My Store</title>
- </head>
- <body>
- @include('include.header')
- <div class="container-fluid" style="min-width:100%; margin:0 auto;" >
- @yield('content')
- </div>
- @include('include.footer')
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement