-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from monaminandy/home-page
Home page added
- Loading branch information
Showing
7 changed files
with
113 additions
and
89 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
.content { | ||
color: white; | ||
} | ||
|
||
.fullcontent { | ||
display: flex; | ||
justify-content: space-around; | ||
align-items: center; | ||
background: linear-gradient(90deg, #272626 22%, #25424a 68%, #37616c 84%); | ||
} | ||
|
||
.left-content { | ||
font-size: 30px; | ||
padding-left: 20px; | ||
|
||
width: 600px; | ||
font-weight: bold; | ||
} | ||
.learn { | ||
width: 120px; | ||
height: 55px; | ||
border: solid; | ||
border-radius: 50px; | ||
border-color: #4adcf7; | ||
background-color: #07172600; | ||
color: white; | ||
font-size: 20px; | ||
font-weight: bold; | ||
border-width: 3px; | ||
transition: color 0.15s; | ||
} | ||
|
||
.learn:hover { | ||
color: #4adcf7; | ||
} | ||
.image1 { | ||
width: 100%; | ||
height: 100%; | ||
object-fit: cover; | ||
} | ||
|
||
.right-content { | ||
display: flex; | ||
width: 300px; | ||
height: 300px; | ||
align-items: center; | ||
justify-content: center; | ||
padding-right: 20px; | ||
} | ||
|
||
@media (max-width: $mantine-breakpoint-sm) { | ||
.left-content { | ||
font-size: 15px; | ||
padding-left: 10px; | ||
width: 300px; | ||
} | ||
.right-content { | ||
width: 200px; | ||
height: 200px; | ||
} | ||
.fullcontent { | ||
justify-content: space-between; | ||
} | ||
.learn { | ||
width: 90px; | ||
height: 40px; | ||
font-size: 15px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import back from "/src/assets/back.png"; | ||
import "./Hero.css"; | ||
|
||
const Hero = () => { | ||
return ( | ||
<div className="fullcontent" id="home"> | ||
<div className="left-content"> | ||
<p className="content"> | ||
CYBERSECURITY AND ETHICAL HACKING COMMUNITY FOR SNU STUDENTS | ||
</p> | ||
<button className="learn">Learn</button> | ||
</div> | ||
<div className="right-content"> | ||
<img className="image1" src={back} alt="Security Image" /> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Hero; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import Hero from "./Hero"; | ||
export default Hero; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters