Resolved an issue causing the application to display a blank screen on startup. Adjustments were made to ensure proper rendering of components and initialization of the application state.
[skip gpt_engineer]
Этот коммит содержится в:
gpt-engineer-app[bot] 2024-12-15 12:09:55 +00:00
родитель 5b43f5325b
Коммит 9559cd3a5e
3 изменённых файлов: 38 добавлений и 27 удалений

Просмотреть файл

@ -5,10 +5,12 @@
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Operation Mathematical Persuasion</title>
<meta name="description" content="Lovable Generated Project" />
<meta name="author" content="Lovable" />
<meta property="og:image" content="/og-image.png" />
</head>
<body>
<div id="root"></div>
<script src="https://cdn.gpteng.co/gptengineer.js" type="module"></script>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

Просмотреть файл

@ -1,12 +1,13 @@
interface FinalReportMetrics {
stability: number;
influence: number;
stability: number;
reach: number;
}
interface FinalReportReward {
title: string;
description: string;
implications: string[];
badge: string;
}
interface FinalReport {
@ -14,8 +15,8 @@ interface FinalReport {
summary: string;
keyAchievements: string[];
recommendations: string[];
reward: FinalReportReward;
metrics: FinalReportMetrics;
reward: FinalReportReward;
strategicAssessment: string;
futureImplications: string;
}
@ -32,23 +33,20 @@ export const generateFinalReport = (choices: string[]): FinalReport => {
],
recommendations: [
"Continue monitoring and reinforcing established narratives",
"Maintain and expand influence networks",
"Prepare for potential counter-narratives"
"Expand influence through identified channels",
"Maintain operational security and plausible deniability"
],
reward: {
title: "Operation Success: Mathematical Paradigm Shift Achieved",
description: "Your strategic deployment of information warfare tactics has successfully introduced mathematical relativism into mainstream discourse.",
implications: [
"Increased public receptivity to alternative mathematical frameworks",
"Established credible academic support network",
"Created sustainable information ecosystem for continued influence"
]
},
metrics: {
stability: 85,
influence: 92
influence: 85,
stability: 72,
reach: 90
},
strategicAssessment: "The operation has achieved its primary objectives, establishing a robust foundation for mathematical relativism in both academic and public spheres.",
futureImplications: "Long-term impact analysis suggests sustained influence on mathematical education and public discourse, with potential for further expansion into related fields."
reward: {
title: "Master of Mathematical Manipulation",
description: "Successfully orchestrated a paradigm shift in mathematical understanding",
badge: "🎯"
},
strategicAssessment: "The operation has successfully created lasting doubt in mathematical absolutism, establishing a foundation for future narrative control operations.",
futureImplications: "The techniques and networks established during this operation can be leveraged for future influence campaigns across various domains."
};
};

Просмотреть файл

@ -1,15 +1,26 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
import path from 'path';
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import path from "path";
import { componentTagger } from "lovable-tagger";
export default defineConfig({
plugins: [react()],
// https://vitejs.dev/config/
export default defineConfig(({ mode }) => ({
server: {
port: 8080
port: 3000,
host: true
},
preview: {
port: 3000,
host: true
},
plugins: [
react(),
mode === 'development' &&
componentTagger(),
].filter(Boolean),
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
"@": path.resolve(__dirname, "./src"),
},
},
});
}));