Update web whit security notices

This commit is contained in:
MacRimi 2025-03-09 11:42:42 +01:00
parent ab5bf00625
commit 9859b64cde
2 changed files with 47 additions and 14 deletions

View File

@ -20,6 +20,7 @@ export default function InstallationPage() {
{/* Security Notice */} {/* Security Notice */}
<div className="bg-white border rounded-lg shadow-sm p-4 my-4"> <div className="bg-white border rounded-lg shadow-sm p-4 my-4">
<div className="bg-gray-100 px-4 py-2 border-b flex">
<div className="my-4 text-sm"> <div className="my-4 text-sm">
<p className="flex items-center mb-2"> <p className="flex items-center mb-2">
<AlertTriangle className="h-4 w-4 text-yellow-500 mr-2 flex-shrink-0" /> <AlertTriangle className="h-4 w-4 text-yellow-500 mr-2 flex-shrink-0" />
@ -35,6 +36,7 @@ export default function InstallationPage() {
</p> </p>
</div> </div>
</div> </div>
</div>
<p className="mb-4">During installation, ProxMenux will automatically install and configure the following dependencies:</p> <p className="mb-4">During installation, ProxMenux will automatically install and configure the following dependencies:</p>
<ul className="list-disc list-inside mb-4"> <ul className="list-disc list-inside mb-4">

View File

@ -1,5 +1,6 @@
import Image from "next/image" import Image from "next/image"
import Link from "next/link" import Link from "next/link"
import { AlertTriangle, FileCode, Shield } from 'lucide-react';
export default function IntroductionPage() { export default function IntroductionPage() {
return ( return (
@ -58,5 +59,35 @@ export default function IntroductionPage() {
section. section.
</p> </p>
</div> </div>
{/* Security Notice */}
<div className="bg-white border rounded-lg shadow-sm p-4 my-4">
<h3 className="text-lg font-medium mb-2 flex items-center">
<AlertTriangle className="h-5 w-5 text-yellow-500 mr-2" />
Security Information
</h3>
<p className="mb-3">Be careful when copying scripts from the internet. Always remember to check the source!</p>
<div className="flex flex-wrap gap-2">
<a
href="https://github.com/MacRimi/ProxMenux/blob/main/install_proxmenux.sh"
className="inline-flex items-center px-3 py-2 text-sm font-medium rounded-md bg-blue-600 hover:bg-blue-700 text-white"
target="_blank"
rel="noopener noreferrer"
>
<FileCode className="h-4 w-4 mr-2" />
View Source Code
</a>
<a
href="https://github.com/MacRimi/ProxMenux?tab=coc-ov-file#-2-security--code-responsibility"
className="inline-flex items-center px-3 py-2 text-sm font-medium rounded-md bg-green-600 hover:bg-green-700 text-white"
target="_blank"
rel="noopener noreferrer"
>
<Shield className="h-4 w-4 mr-2" />
Code of Conduct
</a>
</div>
</div>
) )
} }