|
| 1 | +export default function LicensePage(): React.ReactElement { |
| 2 | + return ( |
| 3 | + <main className="container max-w-4xl pt-20 max-sm:px-0 md:pb-12"> |
| 4 | + <div className="mb-8 text-center"> |
| 5 | + <h1 className="mb-4 text-4xl font-bold text-neutral-900 dark:text-white"> |
| 6 | + Licensing |
| 7 | + </h1> |
| 8 | + <p className="mb-6 text-lg text-neutral-600 dark:text-neutral-400"> |
| 9 | + Javaistic uses a dual licensing model for different types of content. |
| 10 | + </p> |
| 11 | + <div className="text-sm text-neutral-500 dark:text-neutral-500"> |
| 12 | + <p> |
| 13 | + <strong>Adopted:</strong> July 29, 2025 |
| 14 | + </p> |
| 15 | + <p> |
| 16 | + <strong>Last Updated:</strong> October 16, 2025 |
| 17 | + </p> |
| 18 | + </div> |
| 19 | + </div> |
| 20 | + <div className="prose prose-neutral dark:prose-invert max-w-none"> |
| 21 | + <h2>Dual License Overview</h2> |
| 22 | + <p> |
| 23 | + Javaistic is licensed under a <strong>dual license</strong> model to |
| 24 | + appropriately protect different types of content while maintaining |
| 25 | + open source principles: |
| 26 | + </p> |
| 27 | + |
| 28 | + <div className="mb-8 rounded-lg bg-neutral-50 p-6 dark:bg-neutral-900"> |
| 29 | + <h3 className="mb-4 text-xl font-semibold text-neutral-900 dark:text-white"> |
| 30 | + 1. Platform Code (Source Code) |
| 31 | + </h3> |
| 32 | + <div className="mb-4 flex items-center gap-4"> |
| 33 | + <img |
| 34 | + src="https://img.shields.io/badge/License-AGPL%20v3-blue.svg" |
| 35 | + alt="AGPL v3 License" |
| 36 | + className="h-6" |
| 37 | + /> |
| 38 | + <span className="text-lg font-medium"> |
| 39 | + GNU Affero General Public License v3.0 (AGPL-3.0) |
| 40 | + </span> |
| 41 | + </div> |
| 42 | + <p className="mb-4"> |
| 43 | + The source code of Javaistic is licensed under the AGPL-3.0, which |
| 44 | + is a strong copyleft license that ensures: |
| 45 | + </p> |
| 46 | + <ul className="mb-4"> |
| 47 | + <li>Freedom to use the software for any purpose</li> |
| 48 | + <li>Freedom to study and modify the source code</li> |
| 49 | + <li>Freedom to redistribute copies</li> |
| 50 | + <li>Freedom to distribute modified versions</li> |
| 51 | + <li> |
| 52 | + <strong>Network use protection:</strong> If you run a modified |
| 53 | + version on a server, you must make the source code available to |
| 54 | + users |
| 55 | + </li> |
| 56 | + </ul> |
| 57 | + <p className="mb-4 text-sm text-neutral-600 dark:text-neutral-400"> |
| 58 | + This license is particularly important for web applications to |
| 59 | + ensure that modifications remain open source. |
| 60 | + </p> |
| 61 | + <a |
| 62 | + href="https://www.gnu.org/licenses/agpl-3.0.html" |
| 63 | + target="_blank" |
| 64 | + rel="noopener noreferrer" |
| 65 | + className="inline-flex items-center gap-2 font-medium text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300" |
| 66 | + > |
| 67 | + View Full AGPL-3.0 License |
| 68 | + <svg |
| 69 | + className="h-4 w-4" |
| 70 | + fill="none" |
| 71 | + stroke="currentColor" |
| 72 | + viewBox="0 0 24 24" |
| 73 | + > |
| 74 | + <path |
| 75 | + strokeLinecap="round" |
| 76 | + strokeLinejoin="round" |
| 77 | + strokeWidth={2} |
| 78 | + d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14" |
| 79 | + /> |
| 80 | + </svg> |
| 81 | + </a> |
| 82 | + </div> |
| 83 | + |
| 84 | + <div className="mb-8 rounded-lg bg-neutral-50 p-6 dark:bg-neutral-900"> |
| 85 | + <h3 className="mb-4 text-xl font-semibold text-neutral-900 dark:text-white"> |
| 86 | + 2. Content (Documentation, Blog, Articles) |
| 87 | + </h3> |
| 88 | + <div className="mb-4 flex items-center gap-4"> |
| 89 | + <img |
| 90 | + src="https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png" |
| 91 | + alt="CC BY-NC-SA 4.0" |
| 92 | + className="h-6" |
| 93 | + /> |
| 94 | + <span className="text-lg font-medium"> |
| 95 | + Creative Commons Attribution-NonCommercial-ShareAlike 4.0 |
| 96 | + International |
| 97 | + </span> |
| 98 | + </div> |
| 99 | + <p className="mb-4"> |
| 100 | + All written content, including documentation, blog posts, tutorials, |
| 101 | + and articles, is licensed under CC BY-NC-SA 4.0, which allows: |
| 102 | + </p> |
| 103 | + <ul className="mb-4"> |
| 104 | + <li> |
| 105 | + <strong>Sharing:</strong> Copy and redistribute the material in |
| 106 | + any medium or format |
| 107 | + </li> |
| 108 | + <li> |
| 109 | + <strong>Adapting:</strong> Remix, transform, and build upon the |
| 110 | + material |
| 111 | + </li> |
| 112 | + <li> |
| 113 | + <strong>Attribution:</strong> You must give appropriate credit and |
| 114 | + indicate if changes were made |
| 115 | + </li> |
| 116 | + <li> |
| 117 | + <strong>Non-Commercial:</strong> You may not use the material for |
| 118 | + commercial purposes |
| 119 | + </li> |
| 120 | + <li> |
| 121 | + <strong>Share-Alike:</strong> If you remix or build upon the |
| 122 | + material, you must distribute your contributions under the same |
| 123 | + license |
| 124 | + </li> |
| 125 | + </ul> |
| 126 | + <p className="mb-4 text-sm text-neutral-600 dark:text-neutral-400"> |
| 127 | + This license ensures educational content remains freely available |
| 128 | + for learning while preventing commercial exploitation. |
| 129 | + </p> |
| 130 | + <a |
| 131 | + href="https://creativecommons.org/licenses/by-nc-sa/4.0/" |
| 132 | + target="_blank" |
| 133 | + rel="noopener noreferrer" |
| 134 | + className="inline-flex items-center gap-2 font-medium text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300" |
| 135 | + > |
| 136 | + View Full CC BY-NC-SA 4.0 License |
| 137 | + <svg |
| 138 | + className="h-4 w-4" |
| 139 | + fill="none" |
| 140 | + stroke="currentColor" |
| 141 | + viewBox="0 0 24 24" |
| 142 | + > |
| 143 | + <path |
| 144 | + strokeLinecap="round" |
| 145 | + strokeLinejoin="round" |
| 146 | + strokeWidth={2} |
| 147 | + d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14" |
| 148 | + /> |
| 149 | + </svg> |
| 150 | + </a> |
| 151 | + </div> |
| 152 | + |
| 153 | + <h2>License Files</h2> |
| 154 | + <p>You can find the complete license texts in our repository:</p> |
| 155 | + <ul> |
| 156 | + <li> |
| 157 | + <a |
| 158 | + href="https://github.com/javaistic/javaistic/blob/main/licenses/LICENSE-AGPL.md" |
| 159 | + className="text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300" |
| 160 | + > |
| 161 | + Full AGPL-3.0 License Text |
| 162 | + </a> |
| 163 | + </li> |
| 164 | + <li> |
| 165 | + <a |
| 166 | + href="https://github.com/javaistic/javaistic/blob/main/licenses/LICENSE-CC.md" |
| 167 | + className="text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300" |
| 168 | + > |
| 169 | + Full CC BY-NC-SA 4.0 License Text |
| 170 | + </a> |
| 171 | + </li> |
| 172 | + <li> |
| 173 | + <a |
| 174 | + href="https://github.com/javaistic/javaistic/blob/main/LICENSE.md" |
| 175 | + className="text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300" |
| 176 | + > |
| 177 | + License Overview (LICENSE.md) |
| 178 | + </a> |
| 179 | + </li> |
| 180 | + </ul> |
| 181 | + |
| 182 | + <h2>Contributing</h2> |
| 183 | + <p>When contributing to Javaistic:</p> |
| 184 | + <ul> |
| 185 | + <li> |
| 186 | + <strong>Code contributions</strong> will be licensed under AGPL-3.0 |
| 187 | + </li> |
| 188 | + <li> |
| 189 | + <strong>Content contributions</strong> (documentation, articles, |
| 190 | + etc.) will be licensed under CC BY-NC-SA 4.0 |
| 191 | + </li> |
| 192 | + <li> |
| 193 | + All contributions must comply with the respective license terms |
| 194 | + </li> |
| 195 | + </ul> |
| 196 | + |
| 197 | + <h2>Copyright Notice</h2> |
| 198 | + <p className="rounded-lg bg-neutral-100 p-4 text-center dark:bg-neutral-800"> |
| 199 | + <strong>Copyright © 2025 Arghya Ghosh</strong> |
| 200 | + <br /> |
| 201 | + <a |
| 202 | + href="https://arghya.dev" |
| 203 | + className="text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300" |
| 204 | + > |
| 205 | + arghya.dev |
| 206 | + </a> |
| 207 | + </p> |
| 208 | + |
| 209 | + <h2>Contact</h2> |
| 210 | + <p> |
| 211 | + For licensing inquiries or questions about using Javaistic content, |
| 212 | + please contact: |
| 213 | + </p> |
| 214 | + <ul> |
| 215 | + <li> |
| 216 | + <strong>Email:</strong>{" "} |
| 217 | + <a |
| 218 | + href="mailto:uiuxarghya@gmail.com" |
| 219 | + className="text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300" |
| 220 | + > |
| 221 | + uiuxarghya@gmail.com |
| 222 | + </a> |
| 223 | + </li> |
| 224 | + <li> |
| 225 | + <strong>GitHub:</strong>{" "} |
| 226 | + <a |
| 227 | + href="https://github.com/javaistic/javaistic" |
| 228 | + target="_blank" |
| 229 | + rel="noopener noreferrer" |
| 230 | + className="text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300" |
| 231 | + > |
| 232 | + javaistic/javaistic |
| 233 | + </a> |
| 234 | + </li> |
| 235 | + </ul> |
| 236 | + |
| 237 | + <div className="mt-8 rounded-lg border border-yellow-200 bg-yellow-50 p-4 py-0 dark:border-yellow-800 dark:bg-yellow-900/20"> |
| 238 | + <h3 className="mb-2 font-semibold text-yellow-800 dark:text-yellow-200"> |
| 239 | + Important Note |
| 240 | + </h3> |
| 241 | + <p className="text-sm text-yellow-700 dark:text-yellow-300"> |
| 242 | + This licensing page is for informational purposes. For legal advice |
| 243 | + or specific use cases, please consult with a qualified legal |
| 244 | + professional. The licenses described here apply to the original |
| 245 | + Javaistic project content only. |
| 246 | + </p> |
| 247 | + </div> |
| 248 | + </div> |
| 249 | + </main> |
| 250 | + ); |
| 251 | +} |
0 commit comments