Skip to content

Commit 2bbcbe7

Browse files
Merge pull request #239 from Evavic44/project-x
Added Project Section
2 parents c2441f1 + 210c344 commit 2bbcbe7

File tree

4 files changed

+105
-2
lines changed

4 files changed

+105
-2
lines changed

index.html

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ <h1 class="logo"><a href="#home"><img src="./src/assets/images/chryz-hub-transpa
4949
</div>
5050
<ul class="nav-list">
5151
<li><a href="./index.html">Community</a></li>
52-
<li><a href="./index.html">Projects</a></li>
52+
<li><a href="#projects">Projects</a></li>
5353
<li><a href="./index.html">Blog</a></li>
5454
<li><a href="./index.html">Moderators</a></li>
5555
</ul>
@@ -86,7 +86,47 @@ <h2 class="text-primary">Our Vision</h2>
8686
<a href="https://github.com/chryz-hub/opensource-4-everyone/blob/master/My-PR-Contribution-Practice.md" rel="noopener" class="btn btn-secondary" target="_blank"><i class="fas fa-code-branch"></i> Create Pull Request</a>
8787
</div>
8888
</header>
89+
<main>
90+
<section id="projects" class="projects">
91+
<h2>Projects</h2>
92+
<div class="flex-items">
93+
<a href="#">
94+
<div class="item project">
95+
<h4 class="text-secondary">Chryz-Hub Website</h4>
96+
<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Quis quos consequatur atque perferendis sapiente consectetur iusto tempora temporibus, sequi maxime.</p>
97+
<div>
98+
<span class="fab fa-html5"></span>
99+
<span class="fab fa-css3-alt"></span>
100+
<span class="fab fa-js"></span>
101+
</div>
102+
</div>
103+
</a>
89104

105+
<a href="#">
106+
<div class="item project">
107+
<h4 class="text-secondary">Project X</h4>
108+
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa corrupti, officia labore quibusdam adipisci! Ducimus perspiciatis corrupti dolore accusamus?</p>
109+
<div>
110+
<span class="fab fa-python"></span>
111+
<span class="fab fa-bootstrap"></span>
112+
<span class="fab fa-js"></span>
113+
</div>
114+
</div>
115+
</a>
116+
117+
<a href="#">
118+
<div class="item project">
119+
<h4 class="text-secondary">Project Y</h4>
120+
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa corrupti, officia labore quibusdam adipisci! Ducimus perspiciatis corrupti dolore accusamus?</p>
121+
<div>
122+
<span class="fab fa-react"></span>
123+
<span class="fab fa-js"></span>
124+
</div>
125+
</div>
126+
</a>
127+
</div>
128+
</section>
129+
</main>
90130
<!-- JAVASCRIPT -->
91131
<script src="./src/assets/javascript/script.js"></script>
92132
</body>

src/assets/css/global.css

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,30 @@ textarea:focus {
144144
.container {
145145
max-width: 1200px;
146146
margin: 0 auto;
147-
}
147+
}
148+
149+
/* Flex Items */
150+
.flex-items {
151+
display: flex;
152+
align-items: center;
153+
justify-content: center;
154+
}
155+
156+
.flex-items a {
157+
display: block;
158+
margin: 0 20px;
159+
transition: all 0.4s ease-in-out;
160+
}
161+
162+
.flex-items a:hover {
163+
transform: translateY(-10px);
164+
box-shadow: 2px 2px 5px rgba(9, 156, 176, 0.5);
165+
border-radius: 11px;
166+
}
167+
168+
.item {
169+
border: 1px solid #ddd;
170+
border-radius: 10px;
171+
box-shadow: 3px 5px 5px var(--shadow);
172+
}
173+

src/assets/css/styles.css

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,4 +221,41 @@ nav ul li a:focus {
221221

222222
.vision-content a:hover span {
223223
transform: rotate(90deg);
224+
}
225+
226+
/* Projects */
227+
#projects {
228+
height: 400px;
229+
}
230+
231+
.projects {
232+
margin: 0 auto;
233+
max-width: 1200px;
234+
}
235+
236+
.projects h2 {
237+
text-align: center;
238+
margin: 50px 0 20px;
239+
}
240+
241+
.project {
242+
padding: 40px;
243+
background: #fff url(../images/under-construction.png) no-repeat center center/cover;
244+
}
245+
246+
.project p {
247+
font-size: 16px;
248+
line-height: 1.6;
249+
}
250+
251+
.project div {
252+
margin-top: 20px;
253+
display: flex;
254+
width: 100%;
255+
justify-content: flex-end;
256+
}
257+
258+
.project div span {
259+
margin: 0 5px;
260+
color: var(--secondaryBtn);
224261
}
109 KB
Loading

0 commit comments

Comments
 (0)