-
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.
Merge remote-tracking branch 'origin/thith'
- Loading branch information
Showing
15 changed files
with
519 additions
and
530 deletions.
There are no files selected for viewing
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
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,28 @@ | ||
import { Component } from "solid-js"; | ||
import { useLocation } from "@solidjs/router"; | ||
|
||
export type Nav = { | ||
title: string; | ||
link: string; | ||
isIcon: boolean; | ||
icon: any; | ||
}; | ||
|
||
const NavActive: Component<Nav> = (props) => { | ||
const { title, link, isIcon, icon } = props; | ||
const localtion = useLocation(); | ||
|
||
return ( | ||
<a | ||
href={link} | ||
class={`${ | ||
localtion.pathname === link && "text-primary font-extrabold" | ||
} text-gray-900 flex cursor-pointer items-center gap-x-2 rounded-md py-2 px-4 hover:opacity-80`} | ||
> | ||
{isIcon && icon} | ||
<span class="font-medium">{title}</span> | ||
</a> | ||
); | ||
}; | ||
|
||
export default NavActive; |
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,27 @@ | ||
import { Component } from "solid-js"; | ||
|
||
const Favorite: Component = () => { | ||
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"> | ||
<img alt="comming soon" src="./images/soon.png" /> | ||
<p class="mb-4 text-3xl tracking-tight font-bold text-gray-900 md:text-4xl dark:text-white"> | ||
Coming Soon | ||
</p> | ||
<p class="mb-4 text-lg font-light text-gray-500 dark:text-gray-400"> | ||
You'll find lots to explore on the home page.{" "} | ||
</p> | ||
<a | ||
href="/" | ||
class="inline-flex text-white bg-blue-600 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:focus:ring-blue-900 my-4" | ||
> | ||
Back to Homepage | ||
</a> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
export default Favorite; |
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,25 @@ | ||
const Order = () => { | ||
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"> | ||
<img alt="comming soon" src="./images/soon.png" /> | ||
<p class="mb-4 text-3xl tracking-tight font-bold text-gray-900 md:text-4xl dark:text-white"> | ||
Coming Soon | ||
</p> | ||
<p class="mb-4 text-lg font-light text-gray-500 dark:text-gray-400"> | ||
You'll find lots to explore on the home page.{" "} | ||
</p> | ||
<a | ||
href="/" | ||
class="inline-flex text-white bg-blue-600 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:focus:ring-blue-900 my-4" | ||
> | ||
Back to Homepage | ||
</a> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
export default Order; |
Oops, something went wrong.