Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
task-1
Overview
Overview
Details
Activity
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
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sakilesh J
task-1
Commits
ffbf2b97
Commit
ffbf2b97
authored
Jan 05, 2024
by
Sakilesh J
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix code
parent
6100cf3d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
14 deletions
+29
-14
App.css
src/App.css
+26
-11
App.js
src/App.js
+1
-1
navbar.js
src/Components/navbar.js
+2
-2
No files found.
src/App.css
View file @
ffbf2b97
...
...
@@ -129,6 +129,10 @@ nav img{
object-fit: contain;
}
} */
img
{
max-width
:
100%
;
height
:
auto
;
}
.card.card-1
{
background
:
#41ca6e
;
}
...
...
@@ -152,10 +156,10 @@ nav img{
nav
{
background-color
:
black
;
width
:
100%
;
padding
:
.4rem
.6rem
;
padding
:
10px
15px
;
}
nav
img
{
width
:
2
0%
;
width
:
1
0%
;
}
main
{
display
:
flex
;
...
...
@@ -164,12 +168,12 @@ main{
}
.card
{
width
:
100%
;
height
:
100%
;
min-height
:
100vh
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
gap
:
1
.7
rem
;
gap
:
1rem
;
padding
:
2rem
;
}
...
...
@@ -206,7 +210,12 @@ main{
margin-block
:
1rem
;
}
@media
(
min-width
:
500px
){
@media
(
min-width
:
800px
){
body
{
max-width
:
1926px
;
margin
:
auto
;
}
nav
{
position
:
fixed
;
background-color
:
transparent
;
...
...
@@ -224,19 +233,25 @@ main{
flex-shrink
:
0
;
flex-basis
:
400px
;
min-width
:
33.3333%
;
height
:
50vh
;
min-
height
:
50vh
;
flex-direction
:
row
;
justify-content
:
space-
between
;
justify-content
:
space-
around
;
align-items
:
center
;
padding-inline
:
1.7rem
;
padding-block
:
.6rem
;
gap
:
0
;
}
.card
>
:nth-child
(
2
)
{
width
:
auto
;
}
.card
.about
{
fl
oat
:
left
;
flex
:
200px
;
padding-inline
:
1
rem
;
fl
ex-grow
:
1
;
width
:
70%
;
padding-inline
:
2
rem
;
}
.card
.about
h4
{
text-transform
:
capitalize
;
font-size
:
18
px
;
font-size
:
20
px
;
width
:
100%
;
}
.card
.about
img
{
...
...
src/App.js
View file @
ffbf2b97
...
...
@@ -12,7 +12,7 @@ function App() {
{
data
.
features
.
map
((
Element
,
index
)
=>
{
return
(
<
Card
{...
Element
}
i
=
{
index
+
1
}
/
>
<
Card
{...
Element
}
i
=
{
index
+
1
}
key
=
{
index
}
/
>
)
})
}
...
...
src/Components/navbar.js
View file @
ffbf2b97
...
...
@@ -2,9 +2,9 @@ import React from 'react'
const
Navbar
=
({
imgurl
})
=>
{
return
(
<>
<
nav
><
img
src
=
{
imgurl
}
alt
=
"*logo"
/><
/nav
>
<
/
>
)
}
...
...
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