Skip to content

Commit

Permalink
Export project to web
Browse files Browse the repository at this point in the history
  • Loading branch information
Seagullie committed Sep 2, 2024
1 parent eab2dcf commit 1c6ca1a
Show file tree
Hide file tree
Showing 27 changed files with 34 additions and 38 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"android": "npx expo run:android",
"emulator": "C:\\Users\\main\\AppData\\Local\\Android\\Sdk\\emulator\\emulator.exe -avd Nexus_6_API_27_560_dpi_",
"web": "expo start --web",
"export-web": "npx expo export:web",
"rm-cache": "del /S /Q .\\node_modules\\.cache\\web\\web-development\\* ",
"test": "jest --watchAll --silent --noStackTrace",
"expo-doctor": "npx expo-doctor",
Expand Down Expand Up @@ -74,8 +75,7 @@
"react-native-web": "^0.18.12",
"rn-tooltip": "^3.0.3",
"setimmediate": "^1.0.5",
"swiper": "^10.0.4",
"uuidv4": "^6.2.13"
"swiper": "^10.0.4"
},
"devDependencies": {
"@babel/core": "^7.20.0",
Expand All @@ -90,6 +90,7 @@
"@types/react-test-renderer": "^18.0.0",
"babel-loader": "^9.1.2",
"babel-plugin-transform-remove-console": "^6.9.4",
"dotenv": "^16.4.5",
"jest": "^29.2.1",
"jest-expo": "^50.0.0",
"madge": "^8.0.0",
Expand All @@ -99,6 +100,7 @@
"ts-node": "^10.9.1",
"typescript": "^5.4.5",
"url-loader": "^4.1.1",
"uuidv4": "^6.2.13",
"webdriverio": "^8.11.2",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4",
Expand Down
4 changes: 3 additions & 1 deletion screens/AboutScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ import { ScrollView } from "react-native-gesture-handler"
import { useNavigation } from "@react-navigation/native"
import { DrawerRoutes } from "../routes/DrawerRoutes"
import { FontName } from "../constants/Fonts"
import appJson from "../app.json"

export default function AboutScreen() {
// TODO: read from config file
const appVersion = "1.1.0"
// const appVersion = "1.1.0"
const appVersion = appJson.expo.version
const navigation = useNavigation()

return (
Expand Down
25 changes: 8 additions & 17 deletions web-build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
"files": {
"main.css": "/static/css/main.0122ce01.css",
"main.js": "/static/js/main.a61e0bf6.js",
"static/js/31.f2d748b8.js": "/static/js/31.f2d748b8.js",
"static/media/MaterialCommunityIcons.ttf": "/static/media/MaterialCommunityIcons.5d42b4e60858731e7b65.ttf",
"static/media/uad_logo_text.svg": "/static/media/uad_logo_text.b76c274a19a049357f30.svg",
"main.js": "/static/js/main.49521b59.js",
"static/js/793.f2ddfdae.js": "/static/js/793.f2ddfdae.js",
"static/media/Ionicons.ttf": "/static/media/Ionicons.9b6b1954a5eb6efeaf11.ttf",
"static/media/lightbulb-nontrasparent-fixed.png": "/static/media/lightbulb-nontrasparent-fixed.c11b98c980e0ff68bfdb.png",
"static/media/Fontisto.ttf": "/static/media/Fontisto.c0edd68811e0237502fe.ttf",
"static/media/MaterialIcons.ttf": "/static/media/MaterialIcons.f20305dee9d396fea5c7.ttf",
"static/media/uad_logo_text_not_vector_hires.png": "/static/media/uad_logo_text_not_vector_hires.6e6513cfdf83a6ba25ef.png",
"static/media/Ionicons.ttf": "/static/media/Ionicons.3517aeaa34b2f8cd8eef.ttf",
"static/media/MaterialIcons.ttf": "/static/media/MaterialIcons.120b4c7bbd155bd0a04d.ttf",
"static/media/shepita_julia.png": "/static/media/shepita_julia.ff1f72af570c13146725.png",
"static/media/FontAwesome5_Solid.ttf": "/static/media/FontAwesome5_Solid.07c3313b24f7b1ca85ee.ttf",
"static/media/Montserrat-Medium.ttf": "/static/media/Montserrat-Medium.c86e3b9010ff63c99166.ttf",
Expand All @@ -28,27 +25,21 @@
"static/media/zakharova_zarina.png": "/static/media/zakharova_zarina.9161c04e32983806376f.png",
"static/media/Lato-Regular.ttf": "/static/media/Lato-Regular.9d883d540ee2b4de8024.ttf",
"static/media/Lato-Bold.ttf": "/static/media/Lato-Bold.636be8de934918e38ed9.ttf",
"static/media/AntDesign.ttf": "/static/media/AntDesign.163adab9dbd7cb1ed12a.ttf",
"static/media/reglament.png": "/static/media/reglament.64ff0ac21e6f4fb30a13.png",
"static/media/Entypo.ttf": "/static/media/Entypo.fc6169344c041cffcdae.ttf",
"static/media/GOTHICI.ttf": "/static/media/GOTHICI.cf2ca5f01e2e4526231e.ttf",
"static/media/settings.png": "/static/media/settings.ed6fa137a53d188c9ab1.png",
"static/media/reglament-preview.png": "/static/media/reglament-preview.0d3212f191802ca44f4a.png",
"static/media/CinzelDecorative-Regular.ttf": "/static/media/CinzelDecorative-Regular.c243877d82654b511c69.ttf",
"static/media/ivanov_mykhailo.png": "/static/media/ivanov_mykhailo.6bc77ff724dfac922eee.png",
"static/media/Foundation.ttf": "/static/media/Foundation.c0cbb004854f9c746f89.ttf",
"static/media/editor-preview.png": "/static/media/editor-preview.b19eda51e58548d31c84.png",
"static/media/Feather.ttf": "/static/media/Feather.0f5d9cede2e831f3fc80.ttf",
"static/media/GOTHICB.ttf": "/static/media/GOTHICB.d2dcbbef07d36bcfae6b.ttf",
"static/media/SimpleLineIcons.ttf": "/static/media/SimpleLineIcons.3ec13a24af3fdda11107.ttf",
"static/media/Octicons.ttf": "/static/media/Octicons.6b742a230954dc640ba2.ttf",
"static/media/schedule-view-cropped-preview-3.png": "/static/media/schedule-view-cropped-preview-3.42ec3b441f385acedd73.png",
"static/media/settings-preview.png": "/static/media/settings-preview.43d1399b34164751be97.png",
"static/media/uad-logo-white-outline.png": "/static/media/uad-logo-white-outline.9955f35ceba49eea28bc.png",
"static/media/FontAwesome5_Regular.ttf": "/static/media/FontAwesome5_Regular.1017bce89c72f95bcf8e.ttf",
"static/media/Zocial.ttf": "/static/media/Zocial.07fea2ac49bcc67d9a6b.ttf",
"favicon.ico": "/favicon.ico",
"static/media/EvilIcons.ttf": "/static/media/EvilIcons.699664b33ac2837d5bee.ttf",
"static/media/tiktok.png": "/static/media/tiktok.d4e2500fd93b16b6cfa8.png",
"index.html": "/index.html",
"static/media/uad_logo_text_not_vector.png": "/static/media/uad_logo_text_not_vector.02992db040c613011468.png",
Expand All @@ -62,12 +53,12 @@
"manifest.json": "/manifest.json",
"serve.json": "/serve.json",
"main.0122ce01.css.map": "/static/css/main.0122ce01.css.map",
"main.a61e0bf6.js.map": "/static/js/main.a61e0bf6.js.map",
"31.f2d748b8.js.map": "/static/js/31.f2d748b8.js.map"
"main.49521b59.js.map": "/static/js/main.49521b59.js.map",
"793.f2ddfdae.js.map": "/static/js/793.f2ddfdae.js.map"
},
"entrypoints": [
"static/js/31.f2d748b8.js",
"static/js/793.f2ddfdae.js",
"static/css/main.0122ce01.css",
"static/js/main.a61e0bf6.js"
"static/js/main.49521b59.js"
]
}
2 changes: 1 addition & 1 deletion web-build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta httpequiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1.00001,viewport-fit=cover"/><title>Розклад УАД</title><style>#root,body,html{width:100%;-webkit-overflow-scrolling:touch;margin:0;padding:0;min-height:100%}#root{flex-shrink:0;flex-basis:auto;flex-grow:1;display:flex;flex:1}html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;height:calc(100% + env(safe-area-inset-top))}body{display:flex;overflow-y:auto;overscroll-behavior-y:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-ms-overflow-style:scrollbar}</style><link rel="manifest" href="\manifest.json"><link rel="icon" type="image/png" sizes="16x16" href="\favicon-16.png"><link rel="icon" type="image/png" sizes="32x32" href="\favicon-32.png"><link rel="shortcut icon" href="\favicon.ico"><meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-touch-fullscreen" content="yes"><meta name="apple-mobile-web-app-title" content="Розклад УАД"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><link rel="apple-touch-icon" sizes="180x180" href="\pwa\apple-touch-icon\apple-touch-icon-180.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-640x1136.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-1242x2688.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-828x1792.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-1125x2436.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-1242x2208.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-750x1334.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-2048x2732.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-1668x2388.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-1668x2224.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-1536x2048.png"><script defer="defer" src="/static/js/31.f2d748b8.js"></script><script defer="defer" src="/static/js/main.a61e0bf6.js"></script><link href="/static/css/main.0122ce01.css" rel="stylesheet"></head><body><noscript><form action="" style="background-color:#fff;position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999"><div style="font-size:18px;font-family:Helvetica,sans-serif;line-height:24px;margin:10%;width:80%"><p>Oh no! It looks like JavaScript is not enabled in your browser.</p><p style="margin:20px 0"><button type="submit" style="background-color:#4630eb;border-radius:100px;border:none;box-shadow:none;color:#fff;cursor:pointer;font-weight:700;line-height:20px;padding:6px 16px">Reload</button></p></div></form></noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta httpequiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1.00001,viewport-fit=cover"/><title>Розклад УАД</title><style>#root,body,html{width:100%;-webkit-overflow-scrolling:touch;margin:0;padding:0;min-height:100%}#root{flex-shrink:0;flex-basis:auto;flex-grow:1;display:flex;flex:1}html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;height:calc(100% + env(safe-area-inset-top))}body{display:flex;overflow-y:auto;overscroll-behavior-y:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-ms-overflow-style:scrollbar}</style><link rel="manifest" href="\manifest.json"><link rel="icon" type="image/png" sizes="16x16" href="\favicon-16.png"><link rel="icon" type="image/png" sizes="32x32" href="\favicon-32.png"><link rel="shortcut icon" href="\favicon.ico"><meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-touch-fullscreen" content="yes"><meta name="apple-mobile-web-app-title" content="Розклад УАД"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><link rel="apple-touch-icon" sizes="180x180" href="\pwa\apple-touch-icon\apple-touch-icon-180.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-640x1136.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-1242x2688.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-828x1792.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-1125x2436.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-1242x2208.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-750x1334.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-2048x2732.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-1668x2388.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-1668x2224.png"><link rel="apple-touch-startup-image" media="screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="\pwa\apple-touch-startup-image\apple-touch-startup-image-1536x2048.png"><script defer="defer" src="/static/js/793.f2ddfdae.js"></script><script defer="defer" src="/static/js/main.49521b59.js"></script><link href="/static/css/main.0122ce01.css" rel="stylesheet"></head><body><noscript><form action="" style="background-color:#fff;position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999"><div style="font-size:18px;font-family:Helvetica,sans-serif;line-height:24px;margin:10%;width:80%"><p>Oh no! It looks like JavaScript is not enabled in your browser.</p><p style="margin:20px 0"><button type="submit" style="background-color:#4630eb;border-radius:100px;border:none;box-shadow:none;color:#fff;cursor:pointer;font-weight:700;line-height:20px;padding:6px 16px">Reload</button></p></div></form></noscript><div id="root"></div></body></html>
Loading

0 comments on commit 1c6ca1a

Please sign in to comment.