diff --git a/index.html b/index.html index 2e60abf..36efdb8 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,8 @@ - FBI Security Analyzer & AR Game + + Global Security Platform | Official Domain
diff --git a/public/CNAME b/public/CNAME new file mode 100644 index 0000000..756da51 --- /dev/null +++ b/public/CNAME @@ -0,0 +1 @@ +global-security-platform.com \ No newline at end of file diff --git a/social_media_analyzer/heuristics.py b/social_media_analyzer/heuristics.py index 1796ae3..2500ad4 100644 --- a/social_media_analyzer/heuristics.py +++ b/social_media_analyzer/heuristics.py @@ -45,6 +45,7 @@ "bankofamerica.com", "chase.com", "wellsfargo.com", "citibank.com", "hsbc.com", "barclays.com", "deutsche-bank.com", "santander.com" ], + "platform": ["global-security-platform.com"], "general": ["google.com"], "general_web": [ "wikipedia.org", "yahoo.com", "live.com", "microsoft.com", diff --git a/src/App.css b/src/App.css index c48cd0f..e1bb2bf 100644 --- a/src/App.css +++ b/src/App.css @@ -8,7 +8,23 @@ .App-header { background-color: #111; padding: 20px; - border-bottom: 2px solid #00ff00; + border-bottom: 2px solid #61dafb; +} + +.header-content { + display: flex; + align-items: center; + justify-content: center; + gap: 15px; +} + +.official-badge { + background: #61dafb; + color: #111; + padding: 2px 8px; + border-radius: 4px; + font-size: 0.8rem; + font-weight: bold; } nav { @@ -17,24 +33,50 @@ nav { nav button { padding: 10px 20px; - margin: 0 10px; + margin: 5px 10px; background: transparent; - border: 1px solid #00ff00; - color: #00ff00; + border: 1px solid #61dafb; + color: #61dafb; cursor: pointer; - font-family: 'Courier New', Courier, monospace; + font-family: 'Inter', system-ui, -apple-system, sans-serif; text-transform: uppercase; + border-radius: 4px; + transition: all 0.3s ease; } nav button.active { - background: #00ff00; + background: #61dafb; color: #000; } nav button:hover { - box-shadow: 0 0 10px #00ff00; + box-shadow: 0 0 10px rgba(97, 218, 251, 0.5); + background: rgba(97, 218, 251, 0.1); } main { padding: 20px; + flex: 1; +} + +.global-footer { + background: #111; + padding: 20px; + border-top: 1px solid #333; + margin-top: 40px; +} + +.global-footer a { + color: #61dafb; + text-decoration: none; +} + +.global-footer a:hover { + text-decoration: underline; +} + +.App { + display: flex; + flex-direction: column; + min-height: 100vh; } diff --git a/src/App.jsx b/src/App.jsx index e69f876..b9391db 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -6,24 +6,30 @@ import AIContentDetector from './AIContentDetector'; import FakeContentAnalyzer from './FakeContentAnalyzer'; import FBIGame from './FBIGame'; import SupplyChainPlatform from './SupplyChainPlatform'; +import Marketplace from './Marketplace'; function App() { - const [view, setView] = useState('scam'); + const [view, setView] = useState('marketplace'); return (
-

Universal Security Analyzer

+
setView('marketplace')} style={{ cursor: 'pointer' }}> +

Global Security Platform

+ OFFICIAL +
+ {view === 'marketplace' && } {view === 'scam' && } {view === 'fake-news' && } {view === 'ai-content' && } @@ -31,6 +37,9 @@ function App() { {view === 'fbi-game' && } {view === 'supply-chain' && }
+
); } diff --git a/src/App.test.jsx b/src/App.test.jsx index 085a275..6c85869 100644 --- a/src/App.test.jsx +++ b/src/App.test.jsx @@ -3,20 +3,23 @@ import { expect, test } from 'vitest'; import App from './App'; import React from 'react'; -test('renders Universal Security Analyzer title', () => { +test('renders Global Security Platform title', () => { render(); - const titleElement = screen.getByText(/Universal Security Analyzer/i); - expect(titleElement).toBeDefined(); + const titleElements = screen.getAllByText(/Global Security Platform/i); + expect(titleElements.length).toBeGreaterThan(0); }); test('renders navigation buttons', () => { render(); + const marketplaceButtons = screen.getAllByText(/Marketplace/i); + expect(marketplaceButtons.length).toBeGreaterThan(0); + const scamButtons = screen.getAllByText(/Scam Analyzer/i); expect(scamButtons.length).toBeGreaterThan(0); - const fakeNewsButtons = screen.getAllByText(/Fake News Analyzer/i); + const fakeNewsButtons = screen.getAllByText(/Fake News/i); expect(fakeNewsButtons.length).toBeGreaterThan(0); - const fbiButtons = screen.getAllByText(/FBI AR Game/i); + const fbiButtons = screen.getAllByText(/FBI Game/i); expect(fbiButtons.length).toBeGreaterThan(0); }); diff --git a/src/Marketplace.jsx b/src/Marketplace.jsx new file mode 100644 index 0000000..80ec312 --- /dev/null +++ b/src/Marketplace.jsx @@ -0,0 +1,128 @@ +import React from 'react'; + +const tools = [ + { + id: 'scam', + name: 'Scam Analyzer', + description: 'Heuristic-based detection for phishing and fraudulent messages.', + icon: '🛡️' + }, + { + id: 'fake-news', + name: 'Fake News Detector', + description: 'Analyze news articles for sensationalism and misinformation patterns.', + icon: '📰' + }, + { + id: 'ai-content', + name: 'AI Content Detector', + description: 'Identify text generated by large language models.', + icon: '🤖' + }, + { + id: 'fake-content', + name: 'Fake Content Verifier', + description: 'Verify the authenticity of digital media and profiles.', + icon: '🔍' + }, + { + id: 'fbi-game', + name: 'FBI AR Game', + description: 'Immersive training for identifying security threats in AR.', + icon: '🕶️' + }, + { + id: 'supply-chain', + name: 'Logistics Digital Twin', + description: '3D warehouse simulation and blockchain-backed logistics tracking.', + icon: '📦' + } +]; + +export default function Marketplace({ setView }) { + return ( +
+
+

Global Security Marketplace

+

Official Domain: global-security-platform.com

+

The centralized hub for your digital protection needs. Secure your communication, verify your data, and optimize your logistics with our AI-powered suite.

+
+ +
+ {tools.map((tool) => ( +
setView(tool.id)}> +
{tool.icon}
+

{tool.name}

+

{tool.description}

+ +
+ ))} +
+ + +
+ ); +}