Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
elena-brd committed Oct 16, 2023
0 parents commit 0895fe3
Show file tree
Hide file tree
Showing 10 changed files with 2,696 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Conference Page

The project was build using HTML5 and SASS.
From [iCodeThis](https://icodethis.com/app) challenge

![Component Completed](./img/conference.png)
142 changes: 142 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
@import url("https://fonts.googleapis.com/css?family=Roboto");
a {
text-decoration: none; }

li {
list-style: none; }

* {
margin: 0;
padding: 0;
box-sizing: border-box; }

body {
font-family: 'Roboto', sans-serif;
color: #333;
background: #fff; }

.container {
max-width: 1150px;
margin: 0 auto;
padding: 0 2rem; }

.current-bg-hover {
background: #333;
color: #f4f4f4; }

#main-header {
border-bottom: 2px solid #e7e7e7; }
#main-header .header-content {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.3rem 0; }
#main-header .navbar ul {
display: flex; }
#main-header .navbar a {
color: #5f5f5f;
margin-left: 1.5rem; }
#main-header .navbar .current-menu {
color: #333; }
#main-header .login {
display: flex; }
#main-header .login a {
margin-left: 1.5rem;
color: #5f5f5f; }
#main-header .login .current-bg-hover {
color: #f4f4f4;
padding: 1.3rem 2rem; }

.tags {
margin: 1rem 0; }
.tags .container {
display: flex; }
.tags .tag {
background: #f4f4f4;
color: #5f5f5f;
padding: 0.4rem 2rem;
border-radius: 25px;
font-size: 0.8rem;
font-weight: 600; }
.tags span {
margin: 0 0.5rem;
font-size: 1.5rem;
color: #5f5f5f; }

.content {
margin: 2rem 0; }
.content .container {
display: flex;
justify-content: space-between; }
.content .main-card h1 {
font-size: 2rem; }
.content .main-card .date-menu {
margin: 2rem 0; }
.content .main-card .date-menu ul {
display: flex; }
.content .main-card .date-menu a {
color: #5f5f5f;
margin-left: 1rem;
text-transform: uppercase;
font-size: 0.8rem; }
.content .main-card .date-menu .current-bg-hover {
color: #f4f4f4;
padding: 0.5rem 1rem;
margin: 0; }
.content .main-card .conference {
border-bottom: 1px solid #b7b7b7;
margin: 1.5rem 0; }
.content .main-card .conference p {
color: #5f5f5f;
font-size: 0.9rem;
margin-bottom: 0.5rem; }
.content .main-card .conference h3 {
margin-bottom: 1rem; }
.content .main-card .conference span {
color: #d00000; }
.content .main-card .conference:last-child {
border-bottom: none; }
.content .discover-card {
border: 2px solid #e7e7e7;
height: 100%;
border-radius: 8px;
padding: 1rem; }
.content h3 {
margin-bottom: 1rem; }
.content .options {
margin: 1rem 0;
padding: 1rem;
border-radius: 5px; }
.content h4 {
margin-bottom: 0.5rem; }
.content p {
font-size: 0.85rem; }

@media (max-width: 700px) {
#main-header {
border-bottom: 2px solid #e7e7e7; }
#main-header .header-content {
display: block;
margin: 0.1rem 0;
text-align: center;
padding: 1.3rem 0; }
#main-header .navbar ul {
display: block;
text-align: center; }
#main-header .navbar li {
margin: 0.5rem 0; }
#main-header .login {
display: block; }
#main-header .login div {
margin: 0.8rem 0 1.5rem; }
#main-header .login .current-bg-hover {
padding: 0.5rem 2rem; }
.tags .container {
display: flex;
justify-content: center;
text-align: center;
align-items: center; }
.content {
margin: 2rem 0; }
.content .container {
display: block; } }
Binary file added img/conference.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
107 changes: 107 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/main.css">
<title>Conferences Page</title>
</head>

<body>
<header id="main-header">
<div class="container header-content">
<nav class="navbar">
<ul>
<li><a href="#">Discover</a></li>
<li><a href="#">Live</a></li>
<li><a href="#">Jobs</a></li>
<li><a href="#" class="current-menu">Conferences</a></li>
</ul>
</nav>
<div class="login">
<div>
<a href="#">Log In</a>
</div>
<div>
<a href="#" class="current-bg-hover">Get Started</a>
</div>
</div>
</div>
</header>

<section class="tags">
<div class="container">
<p class="tag">Conferences</p>
<span>/</span>
<p class="tag">Bergen</p>
</div>
</section>

<section class="content">
<div class="container">
<div class="main-card">
<h1>Conference in Bergen</h1>

<div class="date-menu">
<ul>
<li><a href="#" class="current-bg-hover">All</a></li>
<li><a href="#">Today</a></li>
<li><a href="#">This Week</a></li>
<li><a href="#">June</a></li>
<li><a href="#">July</a></li>
</ul>
</div>

<div class="info-conference">
<div class="conference">
<p>Mon, 22 - Fri, 26 Jun 2020 . Bergen</p>
<h3>International Conference on Tests and Proofs (TAP)</h3>
</div>
<div class="conference">
<p>Mon, 22 - Fri, 26 Jun 2020 . Bergen</p>
<h3>European Conference on Modelling Foundations</h3>
</div>
<div class="conference">
<p><span>Postponed</span> . Bergen</p>
<h3>European Conference on Modelling Foundations</h3>
</div>
<div class="conference">
<p>Mon, 18 - Fri, 20 July 2020 . Bergen</p>
<h3>International Conference on Tests and Proofs (TAP)</h3>
</div>
<div class="conference">
<p><span>Postponed</span> . Bergen</p>
<h3>Scandinavian Logic Symposium (SLSS)</h3>
</div>
</div>
</div>

<div class="discover-card">
<h3>Discover</h3>
<div class="options">
<h4><i class="fa-solid fa-cube"></i> Business Inteligence</h4>
<p>Historical, current, and predictive views of business operations.</p>
</div>
<div class="options current-bg-hover">
<h4><i class="fa-solid fa-cart-shopping"></i> Commerce</h4>
<p>Systems, goods and services, small and large scale.</p>
</div>
<div class="options">
<h4><i class="fa-solid fa-users"></i> Human Resources</h4>
<p>About people who make up the workforce of an organization.</p>
</div>
<div class="options">
<h4><i class="fa-solid fa-globe"></i> Internet of Things</h4>
<p>Human-to-human and human-to-computer interaction.</p>
</div>
</div>
</div>
</section>



<script src="https://kit.fontawesome.com/f0b3d42456.js" crossorigin="anonymous"></script>
</body>

</html>
Loading

0 comments on commit 0895fe3

Please sign in to comment.