Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sevenpro-frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
FAP
sevenpro-frontend
Commits
7639b865
Commit
7639b865
authored
Jul 30, 2024
by
Wellton Quirino
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add page admin with sidebar and main cards
parent
dfd58f76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
page.tsx
src/app/admin/page.tsx
+8
-6
No files found.
src/app/admin/page.tsx
View file @
7639b865
...
@@ -46,12 +46,14 @@ export default function Admin() {
...
@@ -46,12 +46,14 @@ export default function Admin() {
<
nav
className=
"my-6"
>
<
nav
className=
"my-6"
>
<
ul
className=
"space-y-4"
>
<
ul
className=
"space-y-4"
>
{
areas
.
map
((
area
)
=>
(
{
areas
.
map
((
area
)
=>
(
<
li
<
li
key=
{
area
.
title
}
className=
"border-b border-green-400"
>
key=
{
area
.
title
}
<
Link
className=
"flex justify-between border-b border-green-400 py-2"
href=
"#"
>
className=
"flex justify-between py-2 hover:bg-green-400/10"
<
Link
href=
"#"
>
{
area
.
title
}
</
Link
>
>
<
Pencil
className=
"text-green-400"
/>
<
span
>
{
area
.
title
}
</
span
>
<
Pencil
className=
"text-green-400"
/>
</
Link
>
</
li
>
</
li
>
))
}
))
}
</
ul
>
</
ul
>
...
...
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