Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Mohamed Amine Chouaieb
/
WBT2425_team11
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
8
Merge Requests
1
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7f116439
authored
Mar 13, 2025
by
Mohamed Amine Chouaieb
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
starting with the frontend
parent
f25aacb3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
react/package-lock.json
react/src/app/components/navbar.js
react/src/app/components/sections.js
react/src/app/globals.css
react/src/app/page.js
react/package-lock.json
View file @
7f116439
This diff is collapsed.
Click to expand it.
react/src/app/components/navbar.js
View file @
7f116439
...
...
@@ -6,7 +6,7 @@ import Avatar from "./avatar"
export
default
function
Navbar
()
{
return
(
<
nav
className
=
"flex justify-between items-center px-4 py-3 bg-gr
ay
-800 text-white"
>
<
nav
className
=
"flex justify-between items-center px-4 py-3 bg-gr
een
-800 text-white"
>
<
Sections
/>
<
Avatar
/>
<
/nav
>
...
...
react/src/app/components/sections.js
View file @
7f116439
...
...
@@ -4,16 +4,16 @@ export default function Sections() {
return
(
<
div
className
=
"flex gap-6"
>
<
Link
href
=
"/"
className
=
"text-white hover:text-gray-300"
>
BookCrossing
Home
<
/Link
>
<
Link
href
=
"/available"
className
=
"text-white hover:text-gray-300"
>
Available
Recent
Exams
<
/Link
>
<
Link
href
=
"/loans"
className
=
"text-white hover:text-gray-300"
>
My
loan
s
Grade
s
<
/Link
>
<
Link
href
=
"/owned"
className
=
"text-white hover:text-gray-300"
>
My
book
s
Exchange
Exam
s
<
/Link
>
<
/div
>
)
...
...
react/src/app/globals.css
View file @
7f116439
...
...
@@ -2,7 +2,7 @@
:root
{
--background
:
#ffffff
;
--foreground
:
#1
71717
;
--foreground
:
#1
a6e2b
;
}
@theme
inline
{
...
...
@@ -14,8 +14,8 @@
@media
(
prefers-color-scheme
:
dark
)
{
:root
{
--background
:
#
0a0a0
a
;
--foreground
:
#
ededed
;
--background
:
#
efeae
a
;
--foreground
:
#
150b0b
;
}
}
...
...
react/src/app/page.js
View file @
7f116439
export
default
function
Home
()
{
return
(
<>
Welcome
to
BookCrossing
Welcome
<
/
>
);
}
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