Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
101000110 Shamma ALMAZROUEI WKIS203 FINAL YEAR PROJECT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ALMAZROUEI Shamma (2021) WKIS203
101000110 Shamma ALMAZROUEI WKIS203 FINAL YEAR PROJECT
Commits
3f15f002
Commit
3f15f002
authored
2 months ago
by
ALMAZROUEI Shamma (2021) WKIS203
Browse files
Options
Downloads
Patches
Plain Diff
Add Navigation menu for mobile
parent
99deb1a9
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
uniconnect-app/components/navigation/accessibility.tsx
+2
-2
2 additions, 2 deletions
uniconnect-app/components/navigation/accessibility.tsx
uniconnect-app/components/navigation/main-nav.tsx
+40
-2
40 additions, 2 deletions
uniconnect-app/components/navigation/main-nav.tsx
with
42 additions
and
4 deletions
uniconnect-app/components/navigation/accessibility.tsx
+
2
−
2
View file @
3f15f002
...
...
@@ -15,8 +15,8 @@ import { Button } from '@/components/ui/button';
export
default
function
Accessibility
()
{
return
(
<
div
className
=
'bg-yellow-100 border-b border-zinc-30
0
'
>
<
Container
className
=
'py-4
flex
justify-between'
>
<
div
className
=
'bg-yellow-100 border-b border-zinc-30'
>
<
Container
className
=
'py-4 justify-between
hidden md:flex
'
>
<
div
className
=
'flex items-center gap-x-2'
>
<
Languages
/>
<
Select
defaultValue
=
'english'
>
...
...
This diff is collapsed.
Click to expand it.
uniconnect-app/components/navigation/main-nav.tsx
+
40
−
2
View file @
3f15f002
...
...
@@ -3,17 +3,55 @@ import { Button } from '@/components/ui/button';
import
Logo
from
'
@/components/ui/logo
'
;
import
Link
from
'
next/link
'
;
import
{
Menu
}
from
'
lucide-react
'
;
import
{
Sheet
,
SheetContent
,
SheetDescription
,
SheetHeader
,
SheetTitle
,
SheetTrigger
,
}
from
'
@/components/ui/sheet
'
;
export
default
function
MainNav
()
{
return
(
<
div
className
=
'bg-yellow-100 border-b border-zinc-500'
>
<
Container
className
=
'py-4 flex justify-between'
>
<
Container
className
=
'py-4 flex justify-between
items-center
'
>
<
Link
href
=
'/'
>
<
h1
className
=
'flex items-center gap-x-2'
>
<
Logo
className
=
'h-10 w-10'
/>
<
span
className
=
'text-zinc-800 font-bold text-2xl'
>
Uniconnect
</
span
>
</
h1
>
</
Link
>
<
div
className
=
'flex items-center gap-x-4'
>
<
Sheet
>
<
SheetTrigger
>
<
Menu
className
=
'h-6 w-6'
/>
</
SheetTrigger
>
<
SheetContent
>
<
SheetHeader
>
<
SheetTitle
className
=
'sr-only'
>
Menu
</
SheetTitle
>
<
SheetDescription
className
=
'sr-only'
>
Menu containing navigation links
</
SheetDescription
>
<
Button
variant
=
'link'
asChild
className
=
'text-zinc-800 font-semibold'
>
<
Link
href
=
'/register'
>
Register Now
</
Link
>
</
Button
>
<
Button
asChild
>
<
Link
href
=
'/login'
>
Login
</
Link
>
</
Button
>
</
SheetHeader
>
</
SheetContent
>
</
Sheet
>
<
div
className
=
'md:flex items-center gap-x-4 hidden'
>
<
Button
variant
=
'link'
asChild
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment