From eba3d1d37491ebe99110eb9e2b9e9faa2c17df03 Mon Sep 17 00:00:00 2001 From: Mara Date: Wed, 24 Sep 2025 12:52:13 +0200 Subject: [PATCH 1/3] add html structure --- index.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/index.html b/index.html index a2d9c01ab..4d2ddca9f 100644 --- a/index.html +++ b/index.html @@ -1,3 +1,28 @@ +
+
+
+ black heart + Nifty Penguin Magic +
+ +
+ +
+ +
+
+ + + 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 From faa769472651aec9513dbcd25e3aa3aaeb205cc8 Mon Sep 17 00:00:00 2001 From: Mara Date: Wed, 24 Sep 2025 14:44:12 +0200 Subject: [PATCH 2/3] WIP Add style --- index.html | 47 ++++++++++++++++++++++++++++++----------------- style.css | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 17 deletions(-) create mode 100644 style.css diff --git a/index.html b/index.html index 4d2ddca9f..fe2e6765c 100644 --- a/index.html +++ b/index.html @@ -1,9 +1,17 @@ -
-
+ + + + + +
- black heart + black heart Nifty Penguin Magic
+
+ +
+
-
+
+ + +
+
+ +
+
-
- -
-
+
+
+ magnifying glass + + +
+ + + +
+ -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 diff --git a/style.css b/style.css new file mode 100644 index 000000000..6ace9b897 --- /dev/null +++ b/style.css @@ -0,0 +1,34 @@ +@import url('https://fonts.googleapis.com/css?family=Poppins'); + +body { + font-family: 'Poppins'; +} + +header > div { + padding: 0 25px; + display: flex; + justify-content: space-between; + align-items: center; + border-bottom: 1px solid lightgray; +} + +nav { + width: 600px; +} + +nav ul { + list-style: none; + display: flex; + justify-content: space-between; + align-items: center; +} + +nav a { + text-decoration: none; + color: black; +} + +.blackHeart { + width: 20px; + margin-right: 1rem; +} \ No newline at end of file From 580d806b080887ac781dfee2cb47419dbc2876ad Mon Sep 17 00:00:00 2001 From: Mara Date: Thu, 25 Sep 2025 16:09:51 +0200 Subject: [PATCH 3/3] finish clone --- .vscode/launch.json | 15 +++ index.html | 124 ++++++++++++++-------- style.css | 245 +++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 342 insertions(+), 42 deletions(-) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..2ba986f6f --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "chrome", + "request": "launch", + "name": "Launch Chrome against localhost", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}" + } + ] +} \ No newline at end of file diff --git a/index.html b/index.html index fe2e6765c..937b1ef03 100644 --- a/index.html +++ b/index.html @@ -1,47 +1,91 @@ - - - - + + + + + NPM Clone + + +
-
- black heart - Nifty Penguin Magic +
+ +
-
-
-
- -
-
- -
-
- -
-
- -
-
- magnifying glass - - -
- - - -
- - + + + +
+
+

Build amazing things

+

Essential JavaScript development tools that help you go to market faster and build powerful applications using modern open source code.

+
+ + +
+
+ + +
+ triangle-hexagon +

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.

+
+ +
+
+
+ cursor +

Zero configuration

+

Create an org, add your team, and start collaborating. Nothing to configure, set up, or manage.

+
+ +
+ network +

Team management

+

Team management Control who has access to what modules within your team namespace using straightforward team management capabilities.

+
+ +
+ features +

Familiar features

+

npm Orgs has 100% parity with all the public npm registry features your developers already use.

+
+
+ audit +

npm audit

+

Enjoy the security auditing features built into the npm client, a zero-friction way to make open source software safer.

+
+
+ + +
+
+ + \ No newline at end of file diff --git a/style.css b/style.css index 6ace9b897..2ebb32058 100644 --- a/style.css +++ b/style.css @@ -1,9 +1,11 @@ @import url('https://fonts.googleapis.com/css?family=Poppins'); -body { - font-family: 'Poppins'; +body, input, button, select, textarea, h1, h2, h3, h4, h5, h6, p, span, a, li { + font-family: 'Poppins', sans-serif; } +/* HEADER UP */ + header > div { padding: 0 25px; display: flex; @@ -28,7 +30,246 @@ nav a { color: black; } +.logo { + display: flex; + align-items: center; +} + .blackHeart { width: 20px; + margin-right: 10px; +} + + + + +/* HEADER LOW */ + +.header-low { + display: flex; + align-items: center; + gap: 15px; + padding: 10px 25px; + border-bottom: 1px solid lightgray; + box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.1); +} + +.npmLogo { + height: 25px; +} + +.search-form { + display: flex; + align-items: center; + background-color: lightgray; + border-radius: 5px; + padding: 5px 10px; + flex: 1; + height: 35px +} + +.search-form .MagLense { + height: 18px; + width: 18px; + margin-right: 8px; +} + +.search-form input { + flex: 1; + border: none; + background: transparent; + font-size: 14px; + outline: none; + color: rgba(0,0,0,.8); + padding: 5px 0; +} + +.header-low button { + background-color: #fb3e44; + color: white; + border: none; + padding: 0 15px; + margin-right: 30px; + border-radius: 3px; + height: 40px; + cursor: pointer; +} + +.login-links { + list-style: none; + display: flex; + gap: 0px; + margin: 0; + padding: 0; +} + +.login-links li a { + display: inline-block; + padding: 8px 16px; + text-decoration: none;; + font-size: 14px; + border-radius: 0px; + text-align: center; + cursor: pointer; + transition: all 0.2s ease; +} + +.login-links li:first-child a { + border: 1px solid black; + background-color: white; + color: black; +} + +.login-links li:last-child a { + border: none; + background-color: white; + color: black; +} + + +/* SECTION 1 */ + +#section1 { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + height: 600px; + background-color: rgba(232,217,217,.3); + padding: 40px; + text-align: center; + gap: 10px; +} + +#section1 h1 { + font-size: 5rem; + margin-bottom: 50px; + font-weight: bolder; +} + +#section1 p { + font-size: 1.2rem; + margin-bottom: 60px; + max-width: 530px; +} + +#section1 .buttons { + display: flex; + gap: 40px; +} + +.plans { + background-color: #fb3b49; + border: none; + color: white; + box-shadow: 8px 8px 0 rgba(251,59,73,.2); + padding: 12px 24px; + font-size: 1rem; + cursor: pointer; + height: 60px; + width: 250px; + font-weight: bold; +} + +.join { + background-color: white; + border: none; + color: black; + padding: 12px 24px; + font-size: 1rem; + cursor: pointer; + height: 60px; + width: 250px; + font-weight: bold; +} + +/* SECTION 2 */ + +#section2 { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + height: 600px; + background-color: white; + padding: 40px; + text-align: center; +} + +#section2 img { + height: 250px; margin-right: 1rem; + margin-bottom: 60px; +} + +#section2 h1 { + font-size: 2rem; + margin-bottom: 20px; + background-color: rgba(255,204,53,.4); + transform: skew(9deg,0deg); + font-style: italic; + font-weight: bold; + display: inline-block; + padding: 0 40px; +} + +#section2 p { + font-size: 0.9rem; + margin-bottom: 30px; + max-width: 700px; +} + + +/* SECTION 3 */ + +#section3 { + background-color: white; + padding: 40px 20px; + text-align: center; +} + +.features { + display: flex; + justify-content: center; + gap: 20px; + margin-bottom: 30px; +} + +.feature-box { + text-align: left; + flex: 1 1 200px; + max-width: 250px; + padding: 10px; +} + +.feature-box img { + height: 50px; + margin-bottom: 10px; +} + +.feature-box h1 { + font-size: 1.2rem; + margin-bottom: 20px; + color: #ED1C24; +} + +.feature-box p { + font-size: 1rem; + margin-bottom: 30px; + max-width: 600px; +} + +#section3 .org { + display: block; + margin: 0 auto; + width: 50%; /* spans under box 2 + 3 */ + max-width: 400px; + background-color: black; + color: white; + padding: 12px 20px; + font-size: 1rem; + font-weight: bold; + border: none; + box-shadow: 8px 8px 0 rgba(128,83,35,.2); + cursor: pointer; } \ No newline at end of file