Skip to content

Commit

Permalink
Merge pull request #25 from kevintamakuwala/23_kevintamakuwala
Browse files Browse the repository at this point in the history
23 kevintamakuwala
  • Loading branch information
Nisarg155 committed Oct 18, 2023
2 parents 66fd44b + d61b927 commit 2ebdc26
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 60 deletions.
6 changes: 3 additions & 3 deletions components.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[
{
"name" : "Login Page",
"url" :"/components/Login_page" ,
"url" :"Login_page",
"authorName" : "12Kishan",
"imgUrl" : "./images/view.jpg"
},
{
"name" : "Contact Form",
"url" :"/components/contact_form",
"url" :"contact_form",
"authorName" : "NaitikPatel-325",
"imgUrl" : "./images/contact.png "
},
{
"name" : "Sliders",
"url" :"/components/react/build/?slider",
"url" :"react/build/?slider",
"authorName" : "kevintamakuwala",
"imgUrl" : "./images/slider.png"
}
Expand Down
2 changes: 2 additions & 0 deletions components/react/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

# testing
/coverage
#production
/build

# misc
.DS_Store
Expand Down
12 changes: 6 additions & 6 deletions components/react/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"files": {
"main.css": "/components/react/build/static/css/main.7c33173d.css",
"main.js": "/components/react/build/static/js/main.418486b6.js",
"index.html": "/components/react/build/index.html",
"main.7c33173d.css.map": "/components/react/build/static/css/main.7c33173d.css.map",
"main.418486b6.js.map": "/components/react/build/static/js/main.418486b6.js.map"
"main.css": "/Frontend-Treasure/components/react/build/static/css/main.7c33173d.css",
"main.js": "/Frontend-Treasure/components/react/build/static/js/main.02646e9a.js",
"index.html": "/Frontend-Treasure/components/react/build/index.html",
"main.7c33173d.css.map": "/Frontend-Treasure/components/react/build/static/css/main.7c33173d.css.map",
"main.02646e9a.js.map": "/Frontend-Treasure/components/react/build/static/js/main.02646e9a.js.map"
},
"entrypoints": [
"static/css/main.7c33173d.css",
"static/js/main.418486b6.js"
"static/js/main.02646e9a.js"
]
}
2 changes: 1 addition & 1 deletion components/react/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="React Components"/><link rel="manifest" href="/components/react/build/manifest.json"/><title>React Components</title><script defer="defer" src="/components/react/build/static/js/main.418486b6.js"></script><link href="/components/react/build/static/css/main.7c33173d.css" rel="stylesheet"></head><body><noscript>React Based Components</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="React Components"/><link rel="manifest" href="/Frontend-Treasure/components/react/build/manifest.json"/><title>React Components</title><script defer="defer" src="/Frontend-Treasure/components/react/build/static/js/main.02646e9a.js"></script><link href="/Frontend-Treasure/components/react/build/static/css/main.7c33173d.css" rel="stylesheet"></head><body><noscript>React Based Components</noscript><div id="root"></div></body></html>
3 changes: 0 additions & 3 deletions components/react/build/static/js/main.418486b6.js

This file was deleted.

39 changes: 0 additions & 39 deletions components/react/build/static/js/main.418486b6.js.LICENSE.txt

This file was deleted.

1 change: 0 additions & 1 deletion components/react/build/static/js/main.418486b6.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion components/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "react-components",
"version": "0.1.0",
"private": true,
"homepage": "http://127.0.0.1:5500/components/react/build/",
"homepage": "https://csiddu.github.io/Frontend-Treasure/components/react/build/",
"dependencies": {
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
Expand Down
6 changes: 2 additions & 4 deletions components/react/src/pages/layout/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ const Layout = () => {
<nav>
<ul>
<li>
<a href="/components/react/build/?">Home</a>
{/* <Link to="/components/react/build/">Home</Link> */}
<a href="/Frontend-Treasure/components/react/build/?">Home</a>
</li>
<li>
<a href="/components/react/build/?slider">Slider</a>
{/* <Link to="/components/react/build?slider">Slider</Link> */}
<a href="/Frontend-Treasure/components/react/build/?slider">Slider</a>
</li>
</ul>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN"
crossorigin="anonymous"
/>

<link rel="stylesheet" href="style.css" />
<link
rel="stylesheet"
Expand Down
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ document.addEventListener("DOMContentLoaded", () => {
data.forEach((component) => {
const newElement = document.createElement("div");
newElement.innerHTML = ` <div class="card">
<div class="poster"><a href="${component.url}"><img
<div class="poster"><a href="components/${component.url}"><img
src="${component.imgUrl}" alt="${component.name}" /></a></div>
<div class="details">
<h1>${component.name}</h1>
Expand Down

0 comments on commit 2ebdc26

Please sign in to comment.