diff --git a/frontend/src/pages/CodingPlateform.jsx b/frontend/src/pages/CodingPlateform.jsx index 65c8a222..68ee0e6e 100644 --- a/frontend/src/pages/CodingPlateform.jsx +++ b/frontend/src/pages/CodingPlateform.jsx @@ -1,9 +1,35 @@ -import React from 'react' +import React from "react"; +import "../style/CodingPlateform.css"; -const CodingPlateform = () => { +const tools = [ + { name: "CodeSandbox", description: "An online code editor and prototyping tool", link: "https://codesandbox.io/", image: "https://i.pinimg.com/564x/82/14/0e/82140ec1a4bc53413b6c9150b1e3bab3.jpg" }, + { name: "CodePen", description: "An online community for testing and showcasing user-created HTML, CSS, and JavaScript code snippets", link: "https://codepen.io/", image: "https://i.pinimg.com/564x/0c/ea/84/0cea842d30cae99ee4e5772308fddbf8.jpg" }, + { name: "JSFiddle", description: "An online IDE for web development, where users can create, test, and showcase HTML, CSS, and JavaScript code snippets", link: "https://jsfiddle.net/", image: "https://i.pinimg.com/736x/16/63/aa/1663aa377120b3ee56822fc19d851278.jpg" }, + { name: "StackBlitz", description: "An online IDE for web applications, allowing developers to create, share, and collaborate on projects in the browser", link: "https://stackblitz.com/", image: "https://i.pinimg.com/564x/12/6d/c5/126dc594c84336847f0623bc1d26c0b3.jpg" }, + { name: "Replit", description: "An online IDE for programming in multiple languages, with features like collaboration, hosting, and version control", link: "https://replit.com/", image: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/New_Replit_Logo.svg/1200px-New_Replit_Logo.svg.png" }, + { name: "JSBin", description: "An online HTML, CSS, and JavaScript code editor for web developers", link: "https://jsbin.com/", image: "https://static.jsbin.com/images/logo.png" }, + { name: "Plunker", description: "An online community for creating, collaborating on, and sharing web development projects", link: "https://plnkr.co/", image: "https://i.pinimg.com/564x/6a/0c/70/6a0c70cacbdaae750dd56bed1964b95a.jpg" }, + { name: "Glitch", description: "A community-driven platform for creating, remixing, and hosting web apps and websites", link: "https://glitch.com/", image: "https://logos-world.net/wp-content/uploads/2021/03/Glitch-Logo-2018-present.png" }, + { name: "Stack Overflow Code Snippet", description: "A feature of Stack Overflow that allows users to create, test, and share code snippets directly on the site", link: "https://stackoverflow.com/", image: "https://i.pinimg.com/564x/2e/30/2d/2e302de0ac09bc7085c45f03abc72472.jpg" }, + { name: "GitHub Gists", description: "A service provided by GitHub that allows users to share code snippets and files", link: "https://gist.github.com/", image: "https://k9982874.gallerycdn.vsassets.io/extensions/k9982874/github-gist-explorer/0.2.3/1638842316475/Microsoft.VisualStudio.Services.Icons.Default" }, +]; + +const CodingPlatform = () => { return ( -
CodingPlateform
- ) -} +
+

Coding Platforms

+
+ {tools.map((tool, index) => ( +
+ {tool.name} +

{tool.name}

+

{tool.description}

+ Visit Website +
+ ))} +
+
+ ); +}; -export default CodingPlateform \ No newline at end of file +export default CodingPlatform; diff --git a/frontend/src/style/CodingPlateform.css b/frontend/src/style/CodingPlateform.css new file mode 100644 index 00000000..0d5167cc --- /dev/null +++ b/frontend/src/style/CodingPlateform.css @@ -0,0 +1,85 @@ +body { + font-family: Arial, sans-serif; + margin: 0; + padding: 0; + background-color: #f4f4f4; +} + +.coding-platform { + text-align: center; + padding: 80px 20px; +} + +.title { + font-size: 2.5rem; + margin-bottom: 20px; + color: #333; +} + +.tools-grid { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 20px; +} + +.tool-card { + background: #fff; + border: 1px solid #ddd; + border-radius: 8px; + padding: 20px; + width: 300px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + transition: transform 0.3s ease, box-shadow 0.3s ease; + text-align: center; +} + +.tool-card:hover { + transform: translateY(-5px); + box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); +} + +.tool-image { + width: 80px; + height: 80px; + object-fit: cover; + margin-bottom: 20px; +} + +.tool-name { + font-size: 1.5rem; + margin-bottom: 10px; + color: #007bff; +} + +.tool-description { + font-size: 1rem; + margin-bottom: 20px; + color: #555; +} + +.tool-link { + display: inline-block; + padding: 10px 20px; + background: #007bff; + color: #fff; + border-radius: 5px; + text-decoration: none; + transition: background 0.3s ease; +} + +.tool-link:hover { + background: #0056b3; +} + +/* Responsive Design */ +@media (max-width: 768px) { + .tools-grid { + flex-direction: column; + align-items: center; + } + + .tool-card { + width: 90%; + } +}