Skip to content

Commit

Permalink
feat: build demo page (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Proza1k authored Aug 20, 2024
1 parent ad1e88b commit 43a02b7
Show file tree
Hide file tree
Showing 57 changed files with 480 additions and 3 deletions.
1 change: 1 addition & 0 deletions application/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"dev": "vite dev",
"start": "vite",
"build": "tsc -b && vite build",
"build:demo": "tsc -b && vite build --outDir ../../demo",
"lint": "eslint .",
"preview": "vite preview",
"format": "prettier . --write",
Expand Down
2 changes: 1 addition & 1 deletion application/frontend/src/pages/report/Report.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import ReportsTable from "src/components/ReportsTable/ReportsTable"
import { SearchBar } from "src/components/SearchBar"

import { Report } from "../../components/ReportsTable/ReportsTable"
import { SettingsButton } from "../Project/Project.styled"
import { Header, StyledContainer, Title } from "./Report.styled"
import { SettingsButton } from "src/pages/project/Project.styled"

export const ReportPage: React.FC = () => {
const [searchQuery, setSearchQuery] = useState<string>("")
Expand Down
4 changes: 2 additions & 2 deletions application/frontend/src/routes/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { RouteObject, useRoutes } from "react-router-dom"

import { Layout } from "../components/Layout/Layout"
import { Home } from "../pages/Home"
import { ProjectPage } from "../pages/Project/Project"
import { ReportPage } from "../pages/Report/Report"
import { ProjectPage } from "src/pages/project"
import { ReportPage } from "src/pages/report"

const routes: RouteObject[] = [
{
Expand Down
1 change: 1 addition & 0 deletions demo/assets/index-Cs25ijQy.css

Large diffs are not rendered by default.

454 changes: 454 additions & 0 deletions demo/assets/index-DZdjjMwg.js

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added demo/assets/roboto-greek-300-normal-D3gN5oZ1.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added demo/assets/roboto-greek-500-normal-CdRewbqV.woff
Binary file not shown.
Binary file added demo/assets/roboto-greek-700-normal-1IZ-NEfb.woff
Binary file not shown.
Binary file not shown.
Binary file added demo/assets/roboto-latin-300-normal-BZ6gvbSO.woff
Binary file not shown.
Binary file not shown.
Binary file added demo/assets/roboto-latin-400-normal-BVyCgWwA.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added demo/assets/roboto-latin-500-normal-rpP1_v3s.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
14 changes: 14 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<script type="module" crossorigin src="/assets/index-DZdjjMwg.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-Cs25ijQy.css">
</head>
<body>
<div id="root"></div>
</body>
</html>
3 changes: 3 additions & 0 deletions demo/locales/translation/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"header": "Header"
}
3 changes: 3 additions & 0 deletions demo/locales/translation/ru.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"header": "Шапка"
}
1 change: 1 addition & 0 deletions demo/vite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 43a02b7

Please sign in to comment.