Skip to content

Commit

Permalink
Change logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel81 committed Jul 1, 2024
1 parent 7a437c4 commit 91307e7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
Binary file modified frontend/public/favicon.ico
Binary file not shown.
Binary file added frontend/public/images/logo_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 3 additions & 5 deletions frontend/src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,10 @@ const Navbar = () => {
<div className='h-20 sticky px-4 md:px-16 mx-auto z-10 shadow-sm top-0 bg-gray-50'>
<div className='flex items-center justify-between py-4 relative'>
<div className='flex items-center'>
<div className='avatar w-12'>
<Link to="/" className='flex items-center'>
<img src="/static/images/logo.png" alt="" />
<span className='hidden xl:inline-block font-extrabold'>BLIZZR</span>
<Link to="/" className='flex items-center gap-3'>
<img src="/static/images/logo_1.png" alt="" className="w-12 h-12"/>
<span className='hidden xl:inline-block font-extrabold text-xl'>BLIZZR</span>
</Link>
</div>
</div>
<div className='max-md:hidden w-[70%]'>
<SearchBar/>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const Home = () => {
return (
<div className=''>
{!keyword && <TopProductsCarousel />}
<h1 className="text-2xl font-extrabold px-4 md:px-8 lg:px-16 my-4">LATEST PRODUCTS</h1>
<h1 className="text-2xl font-extrabold px-4 md:px-8 lg:px-16 my-4 py-10">LATEST PRODUCTS</h1>
{loading ? (<Loader />)
: error ? (
<div className='px-16 mx-auto'>
Expand Down
1 change: 1 addition & 0 deletions store/views/product_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from accounts.models import User
from store.serializers import ProductSerializer, CategorySerializer


class ProductList(generics.ListAPIView):
queryset = Product.objects.all()
serializer_class = ProductSerializer
Expand Down

0 comments on commit 91307e7

Please sign in to comment.