-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from Azure-Samples/gk/26-aggregate-miyagi-skil…
…ls-into-a-notebook add personalize drawer
- Loading branch information
Showing
11 changed files
with
398 additions
and
14 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.
1 change: 1 addition & 0 deletions
1
services/frontend/src/assets/images/ms-symbollockup_signin_dark.svg
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
export function Close(props: React.SVGAttributes<{}>) { | ||
return ( | ||
<svg | ||
width="10" | ||
height="10" | ||
viewBox="0 0 10 10" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
{...props} | ||
> | ||
<path | ||
d="M1.46445 8.53542L8.53552 1.46436" | ||
stroke="currentColor" | ||
strokeWidth="1.5" | ||
strokeLinecap="round" | ||
/> | ||
<path | ||
d="M1.46446 1.46458L8.53552 8.53564" | ||
stroke="currentColor" | ||
strokeWidth="1.5" | ||
strokeLinecap="round" | ||
/> | ||
</svg> | ||
); | ||
} |
18 changes: 18 additions & 0 deletions
18
services/frontend/src/components/icons/horizontal-three-dots.tsx
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,18 @@ | ||
export default function HorizontalThreeDots() { | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
fill="none" | ||
viewBox="0 0 24 24" | ||
strokeWidth={1.5} | ||
stroke="currentColor" | ||
className="h-6 w-6" | ||
> | ||
<path | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
d="M6.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM12.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM18.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0z" | ||
/> | ||
</svg> | ||
); | ||
} |
13 changes: 13 additions & 0 deletions
13
services/frontend/src/components/personalize/personalize-context.tsx
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,13 @@ | ||
import { atom, useAtom } from 'jotai'; | ||
|
||
const personalizeDrawerAtom = atom(false); | ||
export function usePersonalizeDrawer() { | ||
const [isPersonalizeOpen, setPersonalizeOpen] = useAtom(personalizeDrawerAtom); | ||
const openPersonalize = () => setPersonalizeOpen(true); | ||
const closePersonalize = () => setPersonalizeOpen(false); | ||
return { | ||
isPersonalizeOpen, | ||
openPersonalize, | ||
closePersonalize, | ||
}; | ||
} |
Oops, something went wrong.