Remove duplicated index.html file
This commit removes the redundant `index.html` file from the `src/presentation/public` directory. This file was initially created there with Vue CLI before migration to Vite. The existence of this file is now unnecessary as Vite requires `index.html` to be at the project root. The deletion of this duplicate file simplifies the project and eliminates potential confusion regarding the entry point of the application. Changes: - Update `docs/presentation.md` to clarify the location of `index.html`. - Remove the `src/presentation/public/index.html` file, which was duplicate of the project root `index.html`. These changes ensure compliance with Vite's configuration and project structure clarity.
This commit is contained in:
@@ -11,6 +11,8 @@ The presentation layer uses an event-driven architecture for bidirectional react
|
||||
## Structure
|
||||
|
||||
- [`/src/` **`presentation/`**](./../src/presentation/): Contains Vue and Electron code.
|
||||
- [**`main.ts`**](./../src/presentation/main.ts): Starts Vue app.
|
||||
- [**`index.html`**](./../src/presentation/index.html): The `index.html` entry file, located at the root of the project as required by Vite
|
||||
- [**`bootstrapping/`**](./../src/presentation/bootstrapping/): Registers Vue components and plugins.
|
||||
- [**`components/`**](./../src/presentation/components/): Contains Vue components and helpers.
|
||||
- [**`Shared/`**](./../src/presentation/components/Shared): Contains shared Vue components and helpers.
|
||||
@@ -20,8 +22,7 @@ The presentation layer uses an event-driven architecture for bidirectional react
|
||||
- [**`fonts/`**](./../src/presentation/assets/fonts/): Contains fonts.
|
||||
- [**`styles/`**](./../src/presentation/assets/styles/): Contains shared styles.
|
||||
- [**`components/`**](./../src/presentation/assets/styles/components): Contains styles coupled to Vue components.
|
||||
- [**`main.scss`**](./../src/presentation/assets/styles/main.scss): Main Sass file, imported by other components as single entrypoint.
|
||||
- [**`main.ts`**](./../src/presentation/main.ts): Starts Vue app.
|
||||
- [**`main.scss`**](./../src/presentation/assets/styles/main.scss): Main Sass file, imported by other components as single entrypoint..
|
||||
- [**`electron/`**](./../src/presentation/electron/): Contains Electron code.
|
||||
- [`/main/` **`index.ts`**](./../src/presentation/main.ts): Main entry for Electron, managing application windows and lifecycle events.
|
||||
- [`/preload/` **`index.ts`**](./../src/presentation/main.ts): Script executed before the renderer, securing Node.js features for renderer use.
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
|
||||
<body>
|
||||
<noscript>
|
||||
<style>
|
||||
#javascriptDisabled {
|
||||
background:#eceef1;
|
||||
margin: 5rem auto;
|
||||
max-width: 800px;
|
||||
font-size: 7px;
|
||||
padding: 3rem;
|
||||
border: 1px solid#333a45;
|
||||
font-size: 1.5rem;
|
||||
line-height: 150%;
|
||||
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
|
||||
}
|
||||
</style>
|
||||
<div id="javascriptDisabled">
|
||||
<h1>Problem loading page</h1>
|
||||
<p>The page does not work without JavaScript enabled. Please enable it to use privacy.sexy. There's no shady stuff as 100% of the website is open source.</p>
|
||||
</div>
|
||||
</noscript>
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
</body>
|
||||
Reference in New Issue
Block a user