From 2c229c75726facd09036b470191b4a361665330a Mon Sep 17 00:00:00 2001 From: Kris0011 Date: Sun, 15 Oct 2023 22:52:00 +0530 Subject: [PATCH] added components.json to store the data of all components and fetch them into components.html page --- README.md | 9 +++++++++ components.html | 22 +++------------------- components.json | 15 +++++++++++++++ images/view.jpg | Bin 0 -> 44604 bytes script.js | 24 ++++++++++++++++++++++++ 5 files changed, 51 insertions(+), 19 deletions(-) create mode 100644 components.json create mode 100644 images/view.jpg diff --git a/README.md b/README.md index d3e5100..c4ab16c 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,15 @@ Open source in frontend development is a gateway to growth. Here's why: **4. Make changes and commit:** - Make your desired changes to the files in your local repository. +- New component should be added in this manner only : *`components/`* with having index.html file inside it. Do some required changes in **components.json** file and add Name , URL (*Same as folder name of the component*) , Author name and Image-URL . Your changes should be like this : + ``` + { + "name" : "Name of the component", + "url" : "Component's folder name", + "authorName" : "My Name", + "imgUrl" : "./images/example.jpg" + } + ``` - Use the following commands to stage and commit your changes: - `git add.` - `git commit -m "Your message"` diff --git a/components.html b/components.html index 6861ca1..77bbd36 100644 --- a/components.html +++ b/components.html @@ -38,26 +38,10 @@ -
- -
-
-
-

Login Page

-

By : 12Kishan

-
-
+
+ + - -
-
-
-
-

Contact Form

-

By : NaitikPatel-325

-
-