Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desafío de clonación de npm. Chahinaz Rahmouni Allouch #3898

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 83 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,83 @@
NPM Clone Nifty Penguin Magic npm Enterprise Products Solutions Resources Docs Support Search Join Log In Build amazing
things Essential JavaScript development tools that help you go to market faster and build powerful applications using
modern open source code. See plans Join for free Bring the best of open source to your company npm is the tool used by
over 11,000,000 JavaScript developers around the world. Your developers already use it. Your company depends on it.
Create an Org and get more out of the tools your team already knows and loves. Zero configuration Create an org, add
your team, and start collaborating. Nothing to configure, set up, or manage. Team management Control who has access to
what modules within your team namespace using straightforward team management capabilities. Familiar features npm Orgs
has 100% parity with all the public npm registry features your developers already use. npm audit Enjoy the security
auditing features built into the npm client, a zero-friction way to make open source software safer. Create an Org
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="style.css">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NPM Clone</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<div class="header-top">
<div class="logo">
<img class="blackHeart" src="https://github.com/ironhack-labs/lab-html-exercise/blob/master/images/black-heart.png?raw=true" alt="black heart">
<span>Nifty Penguin Magic</span>
</div>
<nav>
<ul>
<li><a href="#">npm Enterprise</a></li>
<li><a href="#">Products</a></li>
<li><a href="#">Solutions</a></li>
<li><a href="#">Resources</a></li>
<li><a href="#">Docs</a></li>
<li><a href="#">Support</a></li>
</ul>
</nav>
</div>
<div class="header-bottom">
<img src="https://github.com/ironhack-labs/lab-html-exercise/blob/master/images/npm-logo.png?raw=true" alt="NPM Logo" class="logo-main">
<div class="search-bar">
<img src="https://github.com/ironhack-labs/lab-html-exercise/blob/master/images/magnifying-glass.png?raw=true" alt="magnifying glass" class="icon-search">
<input type="text" placeholder="Search packages...">
<button type="button">Search</button>
</div>
<div class="header-buttons">
<a href="#" class="button-primary">Join</a>
<a href="#" class="button-secondary">Log In</a>
</div>
</div>
</header>

<main>
<section id="intro">
<h1>Build amazing things</h1>
<p>Essential JavaScript development tools that help you go to market faster and build powerful applications using modern open source code.</p>
<a href="#" class="button-primary">See plans</a>
<a href="#" class="button-secondary">Join for free</a>
</section>

<section id="triangle-hexagon">
<img src="https://raw.githubusercontent.com/ironhack-labs/lab-html-exercise/3a5dda422dd6e6fc4444645556e2a1ecc05879e9/images/triangle-hexagon.svg" alt="Triangle Hexagon" class="hexagon-image">
</section>

<section id="features">
<h2>Bring the best of open source to your company</h2>
<p>npm is the tool used by over 11,000,000 JavaScript developers around the world. Your developers already use it. Your company depends on it.</p>
<div class="feature-grid">
<div class="feature-item">
<img src="https://raw.githubusercontent.com/ironhack-labs/lab-html-exercise/3a5dda422dd6e6fc4444645556e2a1ecc05879e9/images/zero-configuration.svg" alt="Zero Configuration">
<h3>Zero configuration</h3>
<p>Create an org, add your team, and start collaborating. Nothing to configure, set up, or manage.</p>
</div>
<div class="feature-item">
<img src="https://raw.githubusercontent.com/ironhack-labs/lab-html-exercise/3a5dda422dd6e6fc4444645556e2a1ecc05879e9/images/team-management.svg" alt="Team Management">
<h3>Team management</h3>
<p>Control who has access to what modules within your team namespace using straightforward team management capabilities.</p>
</div>
<div class="feature-item">
<img src="https://raw.githubusercontent.com/ironhack-labs/lab-html-exercise/3a5dda422dd6e6fc4444645556e2a1ecc05879e9/images/familiar-features.svg" alt="Familiar Features">
<h3>Familiar features</h3>
<p>npm Orgs has 100% parity with all the public npm registry features your developers already use.</p>
</div>
<div class="feature-item">
<img src="https://raw.githubusercontent.com/ironhack-labs/lab-html-exercise/3a5dda422dd6e6fc4444645556e2a1ecc05879e9/images/npm-audit.svg" alt="NPM Audit">
<h3>npm audit</h3>
<p>Enjoy the security auditing features built into the npm client, a zero-friction way to make open source software safer.</p>
</div>
</div>
</section>
</main>
</body>
</html>
240 changes: 240 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,240 @@
@import url('https://fonts.googleapis.com/css?family=Poppins');

body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #f9f9f9;
}

header {
background-color: #fff;
color: #333;
padding: 10px 0;
border-bottom: 1px solid #ddd;
}

.header-top {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 25px;
border-bottom: 1px solid lightgray;
}

.logo img {
width: 20px;
margin-right: 10px;
}

nav {
width: 600px;
}

nav ul {
list-style: none;
display: flex;
justify-content: space-between;
align-items: center;
}

nav a {
text-decoration: none;
color: black;
font-weight: bold;
transition: color 0.3s;
}

nav ul li a:hover {
color: #FB3E44;
}

.blackHeart {
width: 20px;
margin-right: 1rem;
}

.header-bottom {
display: flex;
align-items: center;
justify-content: space-between;
padding: 15px 25px;
background-color: #f5f5f5;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.logo-main {
max-width: 100px;
}

.search-bar {
display: flex;
align-items: center;
gap: 10px;
border: 1px solid #ddd;
border-radius: 4px;
padding: 5px 10px;
background-color: #fff;
}

.icon-search {
width: 18px;
}

.search-bar input {
border: none;
outline: none;
flex-grow: 1;
color: rgba(0, 0, 0, 0.05);
}

.search-bar button {
padding: 8px 15px;
background-color: #FB3E44;
border: none;
color: white;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
}

.search-bar button:hover {
background-color: #d42f3a;
}

.header-buttons a {
padding: 8px 15px;
margin-left: 10px;
border-radius: 4px;
text-decoration: none;
font-weight: bold;
color: white;
transition: background-color 0.3s;
}

.button-primary {
background-color: #FB3E44;
}

.button-secondary {
background-color: #4CAF50;
}

.button-primary:hover {
background-color: #d42f3a;
}

.button-secondary:hover {
background-color: #388E3C;
}

main {
padding: 40px 20px;
text-align: center;
}

#intro {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 600px;
background-color: rgba(232, 217, 217, 0.3);
padding: 60px 20px;
border-radius: 8px;
}

#intro h1 {
font-size: 3rem;
margin-bottom: 20px;
color: #333;
font-weight: bold;
}

#intro p {
font-size: 1.2rem;
margin-bottom: 30px;
color: #666;
}

.button-primary, .button-secondary {
padding: 15px 30px;
margin: 10px 15px;
border-radius: 5px;
text-decoration: none;
color: white;
display: inline-block;
font-size: 1rem;
}

.button-primary {
background-color: #FB3B49;
box-shadow: 8px 8px 0 rgba(251, 59, 73, 0.2);
}

#features {
margin-top: 60px;
padding: 40px 20px;
background-color: white;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

#features h2 {
background-color: rgba(255, 204, 53, 0.4);
padding: 10px;
font-style: italic;
margin-bottom: 20px;
}

.feature-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
margin-top: 30px;
}

.feature-item {
padding: 20px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-item img {
width: 60px;
margin-bottom: 15px;
}

.feature-item h3 {
color: #ED1C24;
font-weight: bold;
margin-bottom: 10px;
}

.hexagon-image {
width: 150px;
margin: 40px auto;
display: block;
}

#section3 h3 {
color: #ED1C24;
}

.create-org-button {
background-color: black;
color: white;
padding: 15px 30px;
border: none;
border-radius: 5px;
box-shadow: 8px 8px 0 rgba(128, 83, 35, 0.2);
cursor: pointer;
transition: background-color 0.3s;
}

.create-org-button:hover {
background-color: #333;
}