-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified: client/data/Lates-product.tsx new file: client/public/images/angkor-rawpixel.jpg new file: client/public/images/jcomp.jpg modified: client/src/App.tsx modified: client/src/components/cards/Cards.tsx modified: client/src/components/layouts/Footer.tsx modified: client/src/components/layouts/Navbar.tsx modified: client/src/context/CartContext.tsx modified: client/src/index.css new file: client/src/pages/404.tsx modified: client/src/pages/home.tsx new file: client/src/pages/login.tsx modified: client/src/pages/news/index.tsx modified: client/src/pages/products/index.tsx new file: client/src/pages/register.tsx new file: client/src/pages/reset.tsx
- Loading branch information
1 parent
3e11bb6
commit 4a2b132
Showing
16 changed files
with
608 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,44 +15,30 @@ const Navbar: Component<{}> = () => { | |
|
||
return ( | ||
<div> | ||
<nav class=" bg-white-900 bg-clip-padding backdrop-filter backdrop-blur-lg bg-opacity-100"> | ||
<div class="max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4"> | ||
<nav class="bg-white-900 bg-clip-padding backdrop-filter backdrop-blur-lg bg-opacity-100 "> | ||
<div class="max-w-screen-xl flex lg:flex-wrap items-center justify-between mx-auto p-4 md:px-24"> | ||
<A href="/" class="flex items-center"> | ||
<img class="md:w-24 w-24" src="/images/logo.png" alt="Solid logo" /> | ||
</A> | ||
<div class="flex items-center md:order-2"> | ||
<NavActive | ||
title="Order" | ||
link="/order" | ||
isIcon={true} | ||
icon={ | ||
<svg | ||
class="w-5 h-5 text-gray-600 dark:text-white" | ||
aria-hidden="true" | ||
xmlns="http://www.w3.org/2000/svg" | ||
fill="currentColor" | ||
viewBox="0 0 20 16" | ||
> | ||
<path d="M19 0H1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1ZM2 6v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6H2Zm11 3a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 2 0h2a1 1 0 0 1 2 0v1Z" /> | ||
</svg> | ||
} | ||
/> | ||
<NavActive | ||
title="Favorites" | ||
link="/favorite" | ||
isIcon={true} | ||
icon={ | ||
<svg | ||
class="w-5 h-5 text-gray-600 dark:text-white" | ||
aria-hidden="true" | ||
xmlns="http://www.w3.org/2000/svg" | ||
fill="currentColor" | ||
viewBox="0 0 20 18" | ||
> | ||
<path d="M17.947 2.053a5.209 5.209 0 0 0-3.793-1.53A6.414 6.414 0 0 0 10 2.311 6.482 6.482 0 0 0 5.824.5a5.2 5.2 0 0 0-3.8 1.521c-1.915 1.916-2.315 5.392.625 8.333l7 7a.5.5 0 0 0 .708 0l7-7a6.6 6.6 0 0 0 2.123-4.508 5.179 5.179 0 0 0-1.533-3.793Z" /> | ||
</svg> | ||
} | ||
/> | ||
<div class="hidden md:hidden lg:block"> | ||
<NavActive | ||
title="Favorites" | ||
link="/favorite" | ||
isIcon={true} | ||
icon={ | ||
<svg | ||
class="w-5 h-5 text-gray-600 dark:text-white " | ||
aria-hidden="true" | ||
xmlns="http://www.w3.org/2000/svg" | ||
fill="currentColor" | ||
viewBox="0 0 20 18" | ||
> | ||
<path d="M17.947 2.053a5.209 5.209 0 0 0-3.793-1.53A6.414 6.414 0 0 0 10 2.311 6.482 6.482 0 0 0 5.824.5a5.2 5.2 0 0 0-3.8 1.521c-1.915 1.916-2.315 5.392.625 8.333l7 7a.5.5 0 0 0 .708 0l7-7a6.6 6.6 0 0 0 2.123-4.508 5.179 5.179 0 0 0-1.533-3.793Z" /> | ||
</svg> | ||
} | ||
/> | ||
</div> | ||
|
||
<NavActive | ||
title="Cart" | ||
|
@@ -75,6 +61,66 @@ const Navbar: Component<{}> = () => { | |
</div> | ||
} | ||
/> | ||
|
||
<div | ||
id="avatarButton" | ||
data-dropdown-toggle="dropdownInformation" | ||
data-dropdown-placement="bottom-start" | ||
class="relative overflow-hidden bg-gray-100 dark:bg-gray-600 w-8 h-8 rounded-full cursor-pointer ml-3" | ||
> | ||
<svg | ||
class="absolute w-9 h-9 text-gray-600 -left-1" | ||
fill="currentColor" | ||
viewBox="0 0 18 18" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
fill-rule="evenodd" | ||
d="M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z" | ||
clip-rule="evenodd" | ||
></path> | ||
</svg> | ||
</div> | ||
|
||
<div | ||
id="dropdownInformation" | ||
class="z-50 hidden bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" | ||
> | ||
{/* <div class="px-4 py-3 text-sm text-gray-900 dark:text-white"> | ||
<div>Bonnie Green</div> | ||
<div class="font-medium truncate">[email protected]</div> | ||
</div> */} | ||
<ul | ||
class="py-2 text-sm text-gray-700 dark:text-gray-200" | ||
aria-labelledby="dropdownInformationButton" | ||
> | ||
<li> | ||
<A | ||
href="/login" | ||
class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white" | ||
> | ||
My Account | ||
</A> | ||
</li> | ||
|
||
<li> | ||
<A | ||
href="/order" | ||
class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white" | ||
> | ||
Orders | ||
</A> | ||
</li> | ||
</ul> | ||
<div class="py-2"> | ||
<a | ||
href="#" | ||
class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white" | ||
> | ||
Sign out | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div | ||
class="items-center justify-between hidden w-full md:flex md:w-auto md:order-1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { A } from "@solidjs/router"; | ||
|
||
const NotFound = () => { | ||
return ( | ||
<section class="bg-white dark:bg-gray-900"> | ||
<div class="py-8 px-4 mx-auto max-w-screen-xl lg:py-16 lg:px-6"> | ||
<div class="mx-auto max-w-screen-sm text-center"> | ||
<h1 class="mb-4 text-7xl tracking-tight font-extrabold lg:text-9xl text-primary dark:text-primary"> | ||
404 | ||
</h1> | ||
<p class="mb-4 text-3xl tracking-tight font-bold text-gray-900 md:text-4xl dark:text-white"> | ||
Something's missing. | ||
</p> | ||
<p class="mb-4 text-lg font-light text-gray-500 dark:text-gray-400"> | ||
Sorry, we can't find that page. You'll find lots to explore on the | ||
home page.{" "} | ||
</p> | ||
<A | ||
href="/" | ||
class="inline-flex rounded-xl text-white bg-primary hover:bg-primary focus:ring-4 focus:outline-none focus:ring-primary font-medium text-sm px-5 py-2.5 text-center dark:focus:ring-primary my-4" | ||
> | ||
Back to Homepage | ||
</A> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
export default NotFound; |
Oops, something went wrong.