Skip to content
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
123 changes: 121 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,128 @@
NPM Clone Nifty Penguin Magic npm Enterprise Products Solutions Resources Docs Support Search Join Log In Build amazing
<!-- 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
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>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NPM - Build amazing things</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
</head>

<body>
<header>
<!-- top section: heart and nav -->
<div class="top-header">
<div class="logo-title">
<img class="blackHeart" src="images/black-heart.png" 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>
<br>
<!-- bottom section: logo + search + auth -->
<div class="bottom-header">
<img class="npm-logo" src="images/npm-logo.png" alt="npm logo" />

<form class="search-form" action="/search">
<img class="search-icon" src="images/magnifying-glass.png" alt="magnifying glass" />
<input type="text" placeholder="Search packages" name="search" />
<button type="submit">Search</button>
</form>

<div class="auth-links">
<button class="btn join">Join</button>
<button class="btn login">Log in</button>
</div>
</div>
</header>

<!-- Section 1-->
<main>
<section class="main-section">
<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>
<button class="btn plans">See plans</button>
<button class="btn free">Join for free</button>
</section>
</main>
</section>
<!-- Hexagon image -->
<div class=" center-wrapper">
<div class="hexa">
<img src="images/triangle-hexagon.svg" alt="hexagon" />
</div>
</div>

<!-- Section 2-->
<section class="section2">
<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. Create an Org and get more out of the tools your team already knows and loves.
</p>

</section>

<!-- Section 3-->
<section class="section3">
<div>
<img src="images/zero-configuration.svg" alt="zero configuration icon" />
<h3>Zero configuration</h3>
<p>
Create an org, add your team, and start collaborating. Nothing to configure, set up, or manage.
</p>
</div>

<div>
<img src="images/team-management.svg" alt="team management icon" />
<h3>Team management</h3>
<p>
Control who has access to what modules within your team namespace using straightforward team management
capabilities.
</p>
</div>

<div>
<img src="images/familiar-features.svg" alt="familiar features icon" />
<h3>Familiar features</h3>
<p>
npm Orgs has 100% parity with all the public npm registry features your developers already use.
</p>
</div>

<div>
<img src="images/npm-audit.svg" alt="npm audit icon" />
<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>
</section>
<!-- Footer -->
<footer class= "footer">
<button class="btn-org">Create an Org</button>
</footer>
</body>
238 changes: 238 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,238 @@
@import url('https://fonts.googleapis.com/css?family=Poppins');

body {
font-family: 'Poppins';
}

/* Header layout */
header {
padding: 0 25px;
display: flex;
flex-direction: column;
gap: 20px;
border-bottom: 1px solid lightgray;
background-color: white;
}

/* top section layout */
.top-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
}

/* Nifty Penguin Magic logo */
.logo-title {
display: flex;
align-items: center;

}

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

/* Nav */
nav ul {
list-style: none;
display: flex;
gap: 20px;
padding: 0;
margin: 0;
}

nav a {
text-decoration: none;
color: black;
font-size: 14px;
}

/* bottom section layout */
.bottom-header {
display: flex;
align-items: center;
gap: 16px;
}

.npm-logo {
width: 60px;
}

/* Search form */
.search-form {
display: flex;
align-items: center;
background-color: #f4f4f4;
padding: 6px 10px;
border-radius: 4px;
flex-grow: 1;
}

.search-icon {
width: 16px;
margin-right: 6px;
opacity: 0.5;
}

.search-form input {
border: none;
background: none;
outline: none;
padding: 4px 8px;
color: black;
width: 200px;
flex: 1;
}

.search-form button {
background-color: #fb3e44;
color: white;
border: none;
padding: 6px 12px;
border-radius: 3px;
font-weight: bold;
cursor: pointer;
}

/* Auth links */
.auth-links {
display: flex;
align-items: center;
gap: 10px;
}

.auth-links .btn {
font-size: 14px;
padding: 6px 14px;
font-weight: bold;
border-radius: 4px;
cursor: pointer;
}

/* Join button – white bg, black text, border */
.auth-links .join {
background-color: white;
color: black;
border: 1px solid #888;
}

/* Log in button – transparent, no border */
.auth-links .login {
background: none;
color: black;
border: none;
}
/*Section */
/* Main section */
.main-section {

text-align: center;
margin: 50px auto 0;
max-width: 600px;
padding: 50px;
background-color: rgb(248, 243, 247);
flex-grow: 1;
}

.main-section h1 {
font-size: 2rem;
margin-bottom: 1rem;
;

}

.main-section p {
font-size: 1rem;
margin-bottom: 1.5rem;
line-height: 1.5;
}

.main-section .btn {
margin: 0 10px;
padding: 8px 16px;
border: 1px solid gray;
background-color: white;
cursor: pointer;
}
.main-section .plans {
background-color: rgb(246, 14, 14);
color: white;
}
.hexa {
width: 200px;
height: 200px;
}
.center-wrapper {
display: flex;
justify-content: center;
align-items: center;
margin-top: 20px;
}
.section2 {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
text-align: center;
}
.section2 h2 {
background-color: rgb(246, 240, 158);
padding: 0;
width: 50%;
border-radius: 5px;
margin: 0 0 1.5rem 0;

}
.section2 p{
font-size: 1rem;
margin: 0 auto 1rem;
line-height: 1.5;
max-width: 600px;

}
.section3 {
display: flex;
justify-content: space-between;
gap: 2rem;
padding: 40px;
flex-wrap: wrap; /* for responsiveness */
text-align: center;
}

.section3 div {
flex: 1 1 200px; /* grow, shrink, base width */
max-width: 220px;
padding: 1rem;
}


.section3 img {
width: 50px;
height: auto;
margin-bottom: 1rem;
}
.section3 h3 {
font-size: 1rem;
color: crimson;
margin-bottom: 0.5rem;
}

.section3 p {
font-size: 0.9rem;
color: #444;
line-height: 1.4;
}

.footer {
text-align: center;
}
.footer .btn-org {
background-color: black;
color: white;
padding: 10px;
border: none;
width: 20%;
box-shadow: 6px 6px 0 #e8dfd7;
}