|
1 | 1 | import React from "react"; |
2 | 2 | import Layout from "@theme/Layout"; |
3 | | -import styled from "styled-components"; |
| 3 | +import Link from "@docusaurus/Link"; |
| 4 | +import "./index.css"; |
4 | 5 |
|
5 | | -// Styled Components |
6 | | -const LicensingContainer = styled.div` |
7 | | - max-width: 800px; |
8 | | - margin: 0 auto; |
9 | | - padding: 20px; |
10 | | - border-radius: 5px; |
11 | | - box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); |
12 | | - margin-top: 20px; |
13 | | - margin-bottom: 20px; |
14 | | - font-size: 16px; |
15 | | - line-height: 1.6; |
16 | | - font-family: "Open Sans", sans-serif; |
17 | | - text-align: justify; |
18 | | -`; |
19 | | - |
20 | | -const Title = styled.h2` |
21 | | - margin-bottom: 24px; |
22 | | - font-family: "Open Sans", sans-serif; |
23 | | - font-weight: 700; |
24 | | - line-height: 1.6; |
25 | | - text-align: center; |
26 | | - font-size: 27px; |
27 | | -`; |
28 | | - |
29 | | -const SubTitle = styled.h3` |
30 | | - margin-bottom: 20px; |
31 | | - font-weight: 700; |
32 | | -`; |
33 | | - |
34 | | -const Content = styled.p` |
35 | | - margin-bottom: 20px; |
36 | | -`; |
37 | | - |
38 | | -// Licensing Component |
39 | 6 | const Licensing: React.FC = () => { |
40 | 7 | return ( |
41 | 8 | <Layout |
42 | 9 | title={"Licensing"} |
43 | | - description="Licensing information for recode hive" |
| 10 | + description="Licensing information for RecodeHive" |
44 | 11 | > |
45 | | - <LicensingContainer> |
46 | | - <Title>Licensing</Title> |
47 | | - <Content> |
48 | | - Welcome to recode hive. This project is licensed under the MIT |
49 | | - License. This page outlines the terms of the license and provides |
50 | | - details on how you can use, modify, and distribute our project. |
51 | | - </Content> |
52 | | - <Content> |
53 | | - <SubTitle>MIT License</SubTitle> |
54 | | - <Content> |
55 | | - <strong>Copyright (c) 2025 recode hive</strong> |
56 | | - <br /> |
57 | | - <br /> |
58 | | - Permission is hereby granted, free of charge, to any person |
59 | | - obtaining a copy of this software and associated documentation files |
60 | | - (the "Software"), to deal in the Software without restriction, |
61 | | - including without limitation the rights to use, copy, modify, merge, |
62 | | - publish, distribute, sublicense, and/or sell copies of the Software, |
63 | | - and to permit persons to whom the Software is furnished to do so, |
64 | | - subject to the following conditions: |
65 | | - <br /> |
66 | | - <br /> |
67 | | - The above copyright notice and this permission notice shall be |
68 | | - included in all copies or substantial portions of the Software. |
69 | | - <br /> |
70 | | - <br /> |
71 | | - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
72 | | - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
73 | | - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
74 | | - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS |
75 | | - BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
76 | | - ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
77 | | - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
78 | | - SOFTWARE. |
79 | | - <br /> |
80 | | - <br /> |
81 | | - </Content> |
82 | | - </Content> |
83 | | - </LicensingContainer> |
| 12 | + <div className="lic-container"> |
| 13 | + <div className="lic-content-wrapper"> |
| 14 | + {/* Header Section */} |
| 15 | + <div className="lic-header"> |
| 16 | + <h1 className="lic-title">Licensing</h1> |
| 17 | + <p className="lic-intro"> |
| 18 | + Welcome to RecodeHive. This project is licensed under the MIT |
| 19 | + License. This page outlines the terms of the license and provides |
| 20 | + details on how you can use, modify, and distribute our project. |
| 21 | + </p> |
| 22 | + </div> |
| 23 | + |
| 24 | + {/* Main Content Card */} |
| 25 | + <div className="lic-content-card"> |
| 26 | + {/* MIT License Section */} |
| 27 | + <div className="lic-section"> |
| 28 | + <h2 className="lic-section-title"> |
| 29 | + <span className="lic-section-icon">📜</span> |
| 30 | + MIT License |
| 31 | + </h2> |
| 32 | + <div className="lic-section-content"> |
| 33 | + <p> |
| 34 | + <strong>Copyright (c) 2025 RecodeHive</strong> |
| 35 | + </p> |
| 36 | + <p> |
| 37 | + Permission is hereby granted, free of charge, to any person |
| 38 | + obtaining a copy of this software and associated documentation |
| 39 | + files (the "Software"), to deal in the Software without |
| 40 | + restriction, including without limitation the rights to use, |
| 41 | + copy, modify, merge, publish, distribute, sublicense, and/or |
| 42 | + sell copies of the Software, and to permit persons to whom the |
| 43 | + Software is furnished to do so, subject to the following |
| 44 | + conditions: |
| 45 | + </p> |
| 46 | + <p> |
| 47 | + The above copyright notice and this permission notice shall be |
| 48 | + included in all copies or substantial portions of the |
| 49 | + Software. |
| 50 | + </p> |
| 51 | + <p style={{ textTransform: "uppercase", fontWeight: "bold" }}> |
| 52 | + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY |
| 53 | + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE |
| 54 | + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR |
| 55 | + PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
| 56 | + COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 57 | + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR |
| 58 | + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 59 | + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 60 | + </p> |
| 61 | + </div> |
| 62 | + </div> |
| 63 | + </div> |
| 64 | + |
| 65 | + <div className="lic-contact-section"> |
| 66 | + <h2 className="lic-contact-title">Contact Us</h2> |
| 67 | + <div className="lic-contact-content"> |
| 68 | + <p> |
| 69 | + If you have any questions regarding licensing, please contact us |
| 70 | + at{" "} |
| 71 | + <a |
| 72 | + href="mailto:sanjay@recodehive.com" |
| 73 | + target="_blank" |
| 74 | + rel="noopener noreferrer" |
| 75 | + > |
| 76 | + sanjay@recodehive.com |
| 77 | + </a> |
| 78 | + . |
| 79 | + </p> |
| 80 | + </div> |
| 81 | + </div> |
| 82 | + </div> |
| 83 | + </div> |
84 | 84 | </Layout> |
85 | 85 | ); |
86 | 86 | }; |
|
0 commit comments