8000 Dashboard and sidebar by MoulikaKulkarni · Pull Request #148 · credebl/studio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Dashboard and sidebar #148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 45 additions & 4 deletions src/app/SideBar.astro
10000
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ import { pathRoutes } from "../config/pathRoutes";
</svg>
<span
class="flex-1 ml-3 text-left whitespace-nowrap"
sidebar-toggle-item>Organizations</span
sidebar-toggle-item>Members</span
>
<svg
sidebar-toggle-item
Expand Down Expand Up @@ -135,11 +135,51 @@ import { pathRoutes } from "../config/pathRoutes";
>Users</a
>
</li>
</ul>
</li>

<li>
<button
type="button"
class="flex items-center w-full p-2 text-base text-gray-900 transition duration-75 rounded-lg group hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-700"
aria-controls="dropdown-credentials"
data-collapse-toggle="dropdown-credentials"
>
<svg
class="w-6 h-6 text-gray-800 dark:text-white"
aria-hidden="true" xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 16 20">
<path
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M1 17V2a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a2 2 0 0 0-2 2Zm0 0a2 2 0 0 0 2 2h12M5 15V1m8 18v-4"
></path>
</svg>
<span
class="flex-1 ml-3 text-left whitespace-nowrap"
sidebar-toggle-item>Credentials</span
>
<svg
sidebar-toggle-item
class="w-6 h-6"
fill="currentColor"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
><path
fill-rule="evenodd"
d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
clip-rule="evenodd"></path></svg
>
</button>
<ul id="dropdown-credentials" class="hidden py-2 space-y-2">
<li>
<a
href={pathRoutes.organizations.issuedCredentials}
class="flex items-center p-2 text-base text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-700"
>Issued Credentials</a
>Issuance</a
>
</li>
<li>
Expand All @@ -150,6 +190,7 @@ import { pathRoutes } from "../config/pathRoutes";
>
</li>
</ul>
</button>
</li>

<!-- li>
Expand Down Expand Up @@ -325,7 +366,7 @@ import { pathRoutes } from "../config/pathRoutes";
class="absolute bottom-0 left-0 justify-center hidden w-full p-4 space-x-4 bg-white lg:flex dark:bg-gray-800"
sidebar-bottom-menu
>
<a
<!--a
href="#"
class="inline-flex justify-center p-2 text-gray-500 rounded cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-700 dark:hover:text-white"
>
Expand Down Expand Up @@ -354,7 +395,7 @@ import { pathRoutes } from "../config/pathRoutes";
d="M11.49 3.17c-.38-1.56-2.6-1.56-2.98 0a1.532 1.532 0 01-2.286.948c-1.372-.836-2.942.734-2.106 2.106.54.886.061 2.042-.947 2.287-1.561.379-1.561 2.6 0 2.978a1.532 1.532 0 01.947 2.287c-.836 1.372.734 2.942 2.106 2.106a1.532 1.532 0 012.287.947c.379 1.561 2.6 1.561 2.978 0a1.533 1.533 0 012.287-.947c1.372.836 2.942-.734 2.106-2.106a1.533 1.533 0 01.947-2.287c1.561-.379 1.561-2.6 0-2.978a1.532 1.532 0 01-.947-2.287c.836-1.372-.734-2.942-2.106-2.106a1.532 1.532 0 01-2.287-.947zM10 13a3 3 0 100-6 3 3 0 000 6z"
clip-rule="evenodd"></path></svg
>
</a>
</a-->
<div
id="tooltip-settings"
role="tooltip"
Expand Down
5 changes: 3 additions & 2 deletions src/components/User/UserDashBoard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ const UserDashBoard = () => {
</div>

</div> */}
<div

{/* <div
className="p-4 bg-white border border-gray-200 rounded-lg shadow-sm dark:border-gray-700 sm:p-6 dark:bg-gray-800"
>
<div className="w-full">
Expand All @@ -193,7 +194,7 @@ const UserDashBoard = () => {
>Coming Soon..</h1>
</div>
<div id="traffic-channels-chart" className="w-full"></div>
</div>
</div> */}
</div>

<div className="">
Expand Down
16 changes: 8 additions & 8 deletions src/config/pathRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ export const pathRoutes = {
verify:'/organizations/verification/schemas/cred-defs/connections/verification'
},
},
ecosystems: {
root: '/ecosystems',
frameworks: '/ecosystems/frameworks',
members: '/ecosystems/members',
registries: '/ecosystems/registries',
users: '/organizations/users',
credentials: '/organizations/credentials'
},
// ecosystems: {
// root: '/ecosystems',
// frameworks: '/ecosystems/frameworks',
// members: '/ecosystems/members',
// registries: '/ecosystems/registries',
// users: '/organizations/users',
// credentials: '/organizations/credentials'
// },
documentation: {
root: '/docs'
},
Expand Down
0