Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Programvareutvikling
Manage
Activity
Members
Labels
Plan
Issues
7
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
tdt4140_6
Programvareutvikling
Merge requests
!26
Routing brukerside
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Routing brukerside
routing-brukerside
into
Brukerhistorie15
Overview
0
Commits
5
Pipelines
0
Changes
16
Merged
Magnus Tomter Ouren
requested to merge
routing-brukerside
into
Brukerhistorie15
2 years ago
Overview
0
Commits
5
Pipelines
0
Changes
16
Expand
routing for us-15
0
0
Merge request reports
Compare
Brukerhistorie15
version 1
66301a63
2 years ago
Brukerhistorie15 (base)
and
latest version
latest version
a0418aef
5 commits,
2 years ago
version 1
66301a63
4 commits,
2 years ago
16 files
+
257
−
38
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
16
Search (e.g. *.vue) (Ctrl+P)
src/components/users/searchCard.tsx
0 → 100644
+
29
−
0
Options
import
{
user
}
from
"
../../helpers/business/interfaces
"
;
import
profileImg
from
"
../../img/profilbilde.jpeg
"
;
export
const
SearchCard
=
(
props
:
user
)
=>
(
<
div
className
=
" p-4"
>
<
div
className
=
"flex justify-between"
>
<
div
className
=
"flex"
>
<
img
className
=
"w-12 h-12 rounded-full"
src
=
{
profileImg
}
alt
=
"user"
/>
<
div
className
=
"ml-4"
>
<
p
className
=
"font-bold"
>
{
props
.
firstname
}
{
props
.
lastname
}
</
p
>
<
p
className
=
"text-gray-500"
>
{
props
.
username
}
-
{
props
.
email
}
</
p
>
</
div
>
</
div
>
<
div
className
=
"flex"
>
<
button
className
=
"bg-blue-600 text-white py-1 px-4 rounded-lg hover:bg-blue-500 w-32"
>
Følg
</
button
>
</
div
>
</
div
>
</
div
>
);
Loading