From b595eacddb8c98f1db8d47d1deeb384b1d0c30cf Mon Sep 17 00:00:00 2001 From: Patryk Date: Mon, 29 Sep 2025 19:00:50 +0200 Subject: [PATCH 1/2] =?UTF-8?q?Dodano=20pust=C4=85=20podstron=C4=99=20Post?= =?UTF-8?q?s=20i=20link=20w=20nawigacji=20zgodnie=20z=20instrukcjami=20Pau?= =?UTF-8?q?lS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.js | 2 + src/components/Header.jsx | 254 ++++++++++++++++++++------------------ src/pages/Posts.css | 22 ++++ src/pages/Posts.js | 18 +++ 4 files changed, 179 insertions(+), 117 deletions(-) create mode 100644 src/pages/Posts.css create mode 100644 src/pages/Posts.js diff --git a/src/App.js b/src/App.js index 9de6bd6..ca51037 100644 --- a/src/App.js +++ b/src/App.js @@ -18,6 +18,7 @@ import ScrollToTop from "./components/ScrollToTop"; import Testnet from "./pages/Testnet"; import TestnetRewards from "./pages/TestnetRewards"; import Grants from "./pages/Grants"; +import Posts from "./pages/Posts"; function App() { return ( @@ -41,6 +42,7 @@ function App() { } /> } /> } /> + } /> diff --git a/src/components/Header.jsx b/src/components/Header.jsx index 948d123..9a1d9a5 100644 --- a/src/components/Header.jsx +++ b/src/components/Header.jsx @@ -1,7 +1,5 @@ import "../styles/header.css"; - import { Link, useLocation } from "react-router-dom"; - import Button from "./Button"; import { useState, useEffect } from "react"; @@ -38,105 +36,37 @@ const Header = () => { el.setAttribute("content", "3DPass mobile wallet, guideliones, download"); } else if (location.includes("testnet")) { el.setAttribute("content", "3DPass - Testnet, canary network | Layer 1 blockchain platform for the tokenization of objects, Proof of Scan protocol based on recognition, useful smart contracts and dApps"); + } else if (location.includes("posts")) { // Dodaj dla Posts + el.setAttribute("content", "3DPass - Latest updates and insights from the 3Dpass team"); } else { el.setAttribute("content", "3DPass - Layer 1 blockchain platform for the tokenization of objects, Proof of Scan protocol based on recognition, useful smart contracts and dApps"); } } }, [location]); - return (
- -
-
- -
- -
- -
-1 - ? "header-nav active" - : "header-nav" - } - > - Features -
- - -
-1 - ? "header-nav active" - : "header-nav" - } - > - Community -
- - -
-1 - ? "header-nav active" - : "header-nav" - } - > - P3D -
- - -
-1 - ? "header-nav active" - : "header-nav" - } - > - Assets -
- - -
-1 - ? "header-nav active" - : "header-nav" - } - > - Mainnet + +
+
+ +
-
setOpenMenu(!openMenu)} - >
- -
setOpenMenu(!openMenu)} - > -
- -
- -
+
-1 - ? "right-menu-nav active" - : "right-menu-nav" + ? "header-nav active" + : "header-nav" } > Features @@ -146,8 +76,8 @@ const Header = () => {
-1 - ? "right-menu-nav active" - : "right-menu-nav" + ? "header-nav active" + : "header-nav" } > Community @@ -157,8 +87,8 @@ const Header = () => {
-1 - ? "right-menu-nav active" - : "right-menu-nav" + ? "header-nav active" + : "header-nav" } > P3D @@ -168,8 +98,8 @@ const Header = () => {
-1 - ? "right-menu-nav active" - : "right-menu-nav" + ? "header-nav active" + : "header-nav" } > Assets @@ -179,46 +109,136 @@ const Header = () => {
-1 - ? "right-menu-nav active" - : "right-menu-nav" + ? "header-nav active" + : "header-nav" } > Mainnet
- + {/* Dodaj link Posts */}
-1 - ? "right-menu-nav active" - : "right-menu-nav" + location.indexOf("posts") > -1 + ? "header-nav active" + : "header-nav" } > - Grant program + Posts
- -
-1 - ? "right-menu-nav active" - : "right-menu-nav" - } - > - Dev Wiki +
setOpenMenu(!openMenu)} + >
+
setOpenMenu(!openMenu)} + > +
+ +
+
+ +
-1 + ? "right-menu-nav active" + : "right-menu-nav" + } + > + Features +
+ + +
-1 + ? "right-menu-nav active" + : "right-menu-nav" + } + > + Community +
+ + +
-1 + ? "right-menu-nav active" + : "right-menu-nav" + } + > + P3D +
+ + +
-1 + ? "right-menu-nav active" + : "right-menu-nav" + } + > + Assets +
+ + +
-1 + ? "right-menu-nav active" + : "right-menu-nav" + } + > + Mainnet +
+ + {/* Dodaj link Posts */} +
-1 + ? "right-menu-nav active" + : "right-menu-nav" + } + > + Posts +
+ + +
-1 + ? "right-menu-nav active" + : "right-menu-nav" + } + > + Grant program +
+ + +
-1 + ? "right-menu-nav active" + : "right-menu-nav" + } + > + Dev Wiki +
+ +
+
+
+ +
-
- -
-
-
+
); }; -export default Header; +export default Header; \ No newline at end of file diff --git a/src/pages/Posts.css b/src/pages/Posts.css new file mode 100644 index 0000000..991d7ac --- /dev/null +++ b/src/pages/Posts.css @@ -0,0 +1,22 @@ +.posts-page { + padding: 40px; + max-width: 1200px; + margin: 0 auto; + } + .posts-header { + text-align: center; + margin-bottom: 40px; + } + .posts-header h1 { + font-size: 2.5rem; + color: #333; + } + .posts-header p { + font-size: 1.2rem; + color: #666; + } + .posts-list { + text-align: center; + font-size: 1.1rem; + color: #666; + } \ No newline at end of file diff --git a/src/pages/Posts.js b/src/pages/Posts.js new file mode 100644 index 0000000..e7440d0 --- /dev/null +++ b/src/pages/Posts.js @@ -0,0 +1,18 @@ +import React from 'react'; +import './Posts.css'; + +const Posts = () => { + return ( +
+
+

Posts

+

Stay tuned for the latest updates and insights from the 3Dpass team.

+
+
+

Coming soon...

+
+
+ ); +}; + +export default Posts; \ No newline at end of file From 35a893c723bf0d1af61d63c4499669cab18ac1ca Mon Sep 17 00:00:00 2001 From: Patryk Date: Wed, 1 Oct 2025 12:46:16 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Przeniesiono=20link=20Posts=20z=20nag=C5=82?= =?UTF-8?q?=C3=B3wka=20do=20stopki=20w=20sekcji=20Community=20zgodnie=20z?= =?UTF-8?q?=20pro=C5=9Bb=C4=85=20CEO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Footer.jsx | 40 +++++++++++++++++++++------------------ src/components/Header.jsx | 24 +---------------------- 2 files changed, 23 insertions(+), 41 deletions(-) diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx index a0eabac..60fc5bd 100644 --- a/src/components/Footer.jsx +++ b/src/components/Footer.jsx @@ -1,3 +1,4 @@ +import { Link } from "react-router-dom"; // Dodaj import, jeśli nie ma import "../styles/footer.css"; const Footer = () => { @@ -13,18 +14,18 @@ const Footer = () => {
Donate:
- d1Df6WwY7S9XDbdsAaT2t6daFMJRcCm5nnUNKC2U7iQQWYDzA

+ d1Df6WwY7S9XDbdsAaT2t6daFMJRcCm5nnUNKC2U7iQQWYDzA

-
Responsibility Disclaimer:
-
- This website is an open source free software maintained - by 3dpass community members and providing some useful - information about The Ledger of Things (LoT) decentralized - ecosystem, which might be partly inacurate, deprecated or invalid. - Suggest your corrections by making a Pull Request into the repo: - -
The Website GitHub link
-
+
Responsibility Disclaimer:
+
+ This website is an open source free software maintained + by 3dpass community members and providing some useful + information about The Ledger of Things (LoT) decentralized + ecosystem, which might be partly inaccurate, deprecated or invalid. + Suggest your corrections by making a Pull Request into the repo: + +
The Website GitHub link
+
@@ -39,7 +40,7 @@ const Footer = () => {
Proof of Scan Consensus
- +
3DPRC-2 Standard
@@ -83,11 +84,14 @@ const Footer = () => {
Use Cases
+ +
Posts
+
3Dpass Coin
-
+
P3D
@@ -136,14 +140,14 @@ const Footer = () => {
Validator Setup
-
Assets
-
+
Assets
+ -
On-chain Identity
+
On-chain Identity
Dev Wiki
-
+
@@ -151,4 +155,4 @@ const Footer = () => { ); }; -export default Footer; +export default Footer; \ No newline at end of file diff --git a/src/components/Header.jsx b/src/components/Header.jsx index 9a1d9a5..9b4a919 100644 --- a/src/components/Header.jsx +++ b/src/components/Header.jsx @@ -36,7 +36,7 @@ const Header = () => { el.setAttribute("content", "3DPass mobile wallet, guideliones, download"); } else if (location.includes("testnet")) { el.setAttribute("content", "3DPass - Testnet, canary network | Layer 1 blockchain platform for the tokenization of objects, Proof of Scan protocol based on recognition, useful smart contracts and dApps"); - } else if (location.includes("posts")) { // Dodaj dla Posts + } else if (location.includes("posts")) { el.setAttribute("content", "3DPass - Latest updates and insights from the 3Dpass team"); } else { el.setAttribute("content", "3DPass - Layer 1 blockchain platform for the tokenization of objects, Proof of Scan protocol based on recognition, useful smart contracts and dApps"); @@ -116,17 +116,6 @@ const Header = () => { Mainnet - {/* Dodaj link Posts */} -
-1 - ? "header-nav active" - : "header-nav" - } - > - Posts -
-
setOpenMenu(!openMenu)} @@ -195,17 +184,6 @@ const Header = () => { Mainnet
- {/* Dodaj link Posts */} -
-1 - ? "right-menu-nav active" - : "right-menu-nav" - } - > - Posts -
-