Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
survey
Commits
b7de6d10
Commit
b7de6d10
authored
Dec 30, 2022
by
Jiwon Yoon
Browse files
admin/social-login
parent
ed7a837a
Changes
1
Show whitespace changes
Inline
Side-by-side
frontend/src/admin/SideBar.tsx
View file @
b7de6d10
...
@@ -2,14 +2,13 @@ import React from "react";
...
@@ -2,14 +2,13 @@ import React from "react";
export
const
SideBar
=
()
=>
{
export
const
SideBar
=
()
=>
{
return
(
return
(
<
aside
className
=
"w-48 h-screen"
aria
-
label
=
"Sidebar"
>
<
div
className
=
"py-4 h-screen px-3 bg-gray-50 rounded dark:bg-gray-800"
>
<
div
className
=
"py-4 h-full px-3 bg-gray-50 rounded dark:bg-gray-800"
>
<
ul
className
=
"flex flex-col items-center"
>
<
ul
className
=
"flex flex-col items-center"
>
<
li
className
=
"text-center font-bold p-2 border-b-2"
>
ADMIN
</
li
>
<
li
className
=
"text-center font-bold p-2 border-b-2"
>
ADMIN
</
li
>
<
div
className
=
"pt-2"
>
<
div
className
=
"pt-2"
>
<
li
>
<
li
>
<
a
<
a
href
=
"
#
"
href
=
"
/admin
"
className
=
"flex items-center p-2 text-base text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700"
className
=
"flex items-center p-2 text-base text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700"
>
>
<
svg
<
svg
...
@@ -27,7 +26,7 @@ export const SideBar = () => {
...
@@ -27,7 +26,7 @@ export const SideBar = () => {
</
li
>
</
li
>
<
li
>
<
li
>
<
a
<
a
href
=
"
#
"
href
=
"
/admin/social-login
"
className
=
"flex items-center p-2 text-base text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700"
className
=
"flex items-center p-2 text-base text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700"
>
>
<
svg
<
svg
...
@@ -44,7 +43,7 @@ export const SideBar = () => {
...
@@ -44,7 +43,7 @@ export const SideBar = () => {
</
li
>
</
li
>
<
li
>
<
li
>
<
a
<
a
href
=
"
#
"
href
=
"
/admin
"
className
=
"flex items-center p-2 text-base text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700"
className
=
"flex items-center p-2 text-base text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700"
>
>
<
svg
<
svg
...
@@ -65,7 +64,7 @@ export const SideBar = () => {
...
@@ -65,7 +64,7 @@ export const SideBar = () => {
</
li
>
</
li
>
<
li
>
<
li
>
<
a
<
a
href
=
"
#
"
href
=
"
/admin
"
className
=
"flex items-center p-2 text-base text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700"
className
=
"flex items-center p-2 text-base text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700"
>
>
<
svg
<
svg
...
@@ -87,6 +86,5 @@ export const SideBar = () => {
...
@@ -87,6 +86,5 @@ export const SideBar = () => {
</
div
>
</
div
>
</
ul
>
</
ul
>
</
div
>
</
div
>
</
aside
>
);
);
};
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment