2023-05-14 22:07:16 +03:00
|
|
|
import type { Component } from 'solid-js';
|
|
|
|
|
|
|
|
|
|
import logo from './assets/logo.svg';
|
|
|
|
|
import styles from './css/App.module.css';
|
2023-05-15 16:37:03 +03:00
|
|
|
import { FileManager } from './fileManager/FileManager';
|
2023-05-14 23:01:36 +03:00
|
|
|
|
|
|
|
|
console.log("env:", import.meta.env.MODE);
|
|
|
|
|
console.log("api host:", import.meta.env.VITE_API_HOST);
|
2023-05-14 22:07:16 +03:00
|
|
|
|
|
|
|
|
const App: Component = () => {
|
|
|
|
|
return (
|
|
|
|
|
<div class={styles.App}>
|
2023-05-15 16:37:03 +03:00
|
|
|
<FileManager />
|
2023-05-14 22:07:16 +03:00
|
|
|
<header class={styles.header}>
|
|
|
|
|
<img src={logo} class={styles.logo} alt="logo" />
|
|
|
|
|
<p>
|
|
|
|
|
Weather tool web
|
|
|
|
|
</p>
|
|
|
|
|
</header>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default App;
|