diff --git a/netlify.toml b/netlify.toml index aca7f08..fc1ad3f 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,4 +1,4 @@ [build] base = "website" - command = "export REACT_APP_BUILD_NO=`git rev-parse --short HEAD` && npm run test && npm run build" + command = "export VITE_BUILD_NO=`git rev-parse --short HEAD` && npm run test && npm run build" publish = "dist" diff --git a/website/src/screens/About.tsx b/website/src/screens/About.tsx index 2a5c0fe..81d4c69 100644 --- a/website/src/screens/About.tsx +++ b/website/src/screens/About.tsx @@ -12,142 +12,150 @@ import { State } from "../types/dictionary-types"; import { Link } from "react-router-dom"; import VideoPlayer from "../components/VideoPlayer"; -const About = ({ state }: { state: State }) => ( -
- The LingDocs Pashto Dictionary aims to make an easily - searchable and accessible dictionary of the Pashto Language, along with - its inflections and verb conjugations. -
-- After visiting this dictionary for the first time it will be accessible - from your browser even without an internet connection. You can also - {` `} - install it as an app on your phone or desktop by choosing - "Add to Home Screen" on "Install" on your browser menu. It is also - {` `} - - find and install it on the Google Play Store - - . -
-- This dictionary (and the{" "} - grammar that goes along with - it) uses a{" "} - - special phonetic system - {" "} - for writing the Pashto words in Latin letters, showing the pronunciation - the vowels. This has been designed to allow people to write and search - words without needing to type an special characters. -
-- This dictionary is grateful for and indebted to the excellent work - available at qamosona.com,{" "} - wiktionary.org, and{" "} - Google Translate. These - sources were used extensively as a reference for definitions. -
-- Currently this dictionary contains{" "} - {state.dictionaryInfo - ? state.dictionaryInfo.numberOfEntries - : "about 15,000"}{" "} - entries. It is nowhere near as comprehensive or accurate as some of these - other sources, but it does strive to present something uniquely accesible - to learners through offline web-app availability, - inflection/conjugation/phrase-building engine, and smart searching - algorithms. -
-Feedback and suggestions are appreciated.
-+ The LingDocs Pashto Dictionary aims to make an easily + searchable and accessible dictionary of the Pashto Language, along with + its inflections and verb conjugations. +
++ After visiting this dictionary for the first time it will be accessible + from your browser even without an internet connection. You can also + {` `} + install it as an app on your phone or desktop by + choosing "Add to Home Screen" on "Install" on your browser menu. It is + also + {` `} + + find and install it on the Google Play Store - -
- Or show your support through{" "} - buymeacoffee -
-- This dictionary app is open sounce. The code is available{" "} - here on GitHub{" "} - and is licensed under a GPLv3 License. -
-- The contents of this dictionary are licensed under a{" "} - - Creative Commons Creative Commons Attribution-NonCommercial-ShareAlike - 4.0 International License - - , with the added stipulation that this material cannot be used or - re-distributed by any people or groups involved with military, violence, - or government intelligence work. -
-- The LingDocs Pashto Dictionary assumes no responsibility or liability for - any errors or omissions in the content of this site. The information - contained in this site is provided on an “as is” basis with no guarantees - of completeness, accuracy, usefulness or timeliness. -
-- Privacy Policy -
-- © Copyright 2023 - lingdocs.com -
- {state.dictionaryInfo && ( -- Number of Entries: {state.dictionaryInfo.numberOfEntries} - Updated:{" "} - {dayjs(state.dictionaryInfo.release).toString()} + .
- )} - {import.meta.env.REACT_APP_BUILD_NO && ( -- App build number: {import.meta.env.REACT_APP_BUILD_NO} +
+ This dictionary (and the{" "} + grammar that goes along with + it) uses a{" "} + + special phonetic system + {" "} + for writing the Pashto words in Latin letters, showing the pronunciation + the vowels. This has been designed to allow people to write and search + words without needing to type an special characters.
- )} -+ This dictionary is grateful for and indebted to the excellent work + available at qamosona.com,{" "} + wiktionary.org, and{" "} + Google Translate. These + sources were used extensively as a reference for definitions. +
++ Currently this dictionary contains{" "} + {state.dictionaryInfo + ? state.dictionaryInfo.numberOfEntries + : "about 15,000"}{" "} + entries. It is nowhere near as comprehensive or accurate as some of + these other sources, but it does strive to present something uniquely + accesible to learners through offline web-app availability, + inflection/conjugation/phrase-building engine, and smart searching + algorithms. +
+Feedback and suggestions are appreciated.
++ Or show your support through{" "} + buymeacoffee +
++ This dictionary app is open sounce. The code is available{" "} + + here on GitHub + {" "} + and is licensed under a GPLv3 License. +
++ The contents of this dictionary are licensed under a{" "} + + Creative Commons Creative Commons Attribution-NonCommercial-ShareAlike + 4.0 International License + + , with the added stipulation that this material cannot be used or + re-distributed by any people or groups involved with military, violence, + or government intelligence work. +
++ The LingDocs Pashto Dictionary assumes no responsibility or liability + for any errors or omissions in the content of this site. The information + contained in this site is provided on an “as is” basis with no + guarantees of completeness, accuracy, usefulness or timeliness. +
++ Privacy Policy +
++ © Copyright 2023 - lingdocs.com +
+ {state.dictionaryInfo && ( ++ Number of Entries: {state.dictionaryInfo.numberOfEntries} - Updated:{" "} + {dayjs(state.dictionaryInfo.release).toString()} +
+ )} + {import.meta.env.VITE_BUILD_NO && ( ++ App build number: {import.meta.env.VITE_BUILD_NO} +
+ )} +