Refactor and reorganize the entire application codebase to improve maintainability and performance.
[skip gpt_engineer]
Этот коммит содержится в:
gpt-engineer-app[bot] 2024-12-15 12:08:58 +00:00
родитель 48cdac639d
Коммит 5b43f5325b
3 изменённых файлов: 15 добавлений и 28 удалений

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

@ -2,13 +2,10 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>disinformation-quest</title> <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> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
<script src="https://cdn.gpteng.co/gptengineer.js" type="module"></script> <script src="https://cdn.gpteng.co/gptengineer.js" type="module"></script>

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

@ -25,9 +25,10 @@ export const generateFinalReport = (choices: string[]): FinalReport => {
title: "Operation Completion Report", title: "Operation Completion Report",
summary: "Mission accomplished with notable success in reshaping mathematical understanding.", summary: "Mission accomplished with notable success in reshaping mathematical understanding.",
keyAchievements: [ keyAchievements: [
"Established significant presence across multiple platforms", "Established credible alternative mathematical framework",
"Created lasting impact on mathematical discourse", "Built network of academic supporters",
"Successfully introduced alternative mathematical frameworks" "Created sustainable information ecosystem",
"Achieved significant public engagement"
], ],
recommendations: [ recommendations: [
"Continue monitoring and reinforcing established narratives", "Continue monitoring and reinforcing established narratives",

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

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