Skip to content

Commit

Permalink
add pic, update FE pic
Browse files Browse the repository at this point in the history
  • Loading branch information
yennanliu committed Dec 6, 2023
1 parent b547e01 commit c7d433b
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 4 deletions.
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.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<!-- Logo-->
<router-link class="navbar-brand" :to="{ name: 'Home' }">
<img id="logo" src="../assets/icon.png" />
<img id="logo" src="../assets/icon2.png" />
</router-link>

<!-- Burger Button-->
Expand Down
37 changes: 37 additions & 0 deletions ShoppingCart/Frondend/ecommerce-ui/src/components/Navbar2.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<template>
<nav>
<router-link to="/">Home</router-link> |
<router-link to="/about">About</router-link> |
<router-link to="/category">Category</router-link> |
<router-link to="/wishlist">Wishlist</router-link> |
<router-link to="/product">Product</router-link> |
<router-link to="/admin/category">Category (admin)</router-link> |
<router-link to="/admin/wishlist">Wishlist (admin)</router-link> |
<router-link to="/admin/product">Product (admin)</router-link> |
<router-link to="/order">Order</router-link> |
<router-link to="/cart">Cart</router-link> |
<router-link to="/signup">Signup</router-link> |
<router-link to="/signin">Signin</router-link>
</nav>
</template>

<script>
export default {
// You can add any logic specific to the navbar here
};
</script>

<style scoped>
/* Add your styling for the navbar here */
nav {
background-color: #333;
padding: 10px;
color: white;
text-align: center;
}
router-link {
margin: 0 10px;
color: white;
text-decoration: none;
}
</style>
2 changes: 1 addition & 1 deletion ShoppingCart/Frondend/ecommerce-ui/src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}
#background-div {
background: url(../assets/home.png)
background: url(../assets/home3.png)
}
#heading {
Expand Down
2 changes: 1 addition & 1 deletion ShoppingCart/Frondend/ecommerce-ui/src/views/Signin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="row">
<div class="col-12 text-center pt-3">
<router-link :to="{ name: 'Home' }">
<img id="logo" src="../assets/icon.png" />
<img id="logo" src="../assets/icon2.png" />
</router-link>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ShoppingCart/Frondend/ecommerce-ui/src/views/Signup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="row">
<div class="col-12 text-center pt-3">
<router-link :to="{ name: 'Home' }">
<img id="logo" src="../assets/icon.png" />
<img id="logo" src="../assets/icon2.png" />
</router-link>
</div>
</div>
Expand Down

0 comments on commit c7d433b

Please sign in to comment.