mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-03 15:46:18 +00:00
* website: started new design (#6279)
* upload assets & change font to gt-walsheim
* fix language issue in learn-more page
* design cover for desktop
* website: home page sections (#6285)
* upload assets & change font to gt-walsheim
* fix language issue in learn-more page
* design cover for desktop
* add section 2, 3 & 4 for desktop
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
* website: more sections (#6289)
* upload assets & change font to gt-walsheim
* fix language issue in learn-more page
* design cover for desktop
* add section 2, 3 & 4 for desktop
* website: directory page (#6283)
* website: directory page
* core: use markdown in directory entries
* render markdown on directory page
* update markdown
* toggle secrets on click
* update listings asynchronously
* add group links to the listing
* cleanup
* better directory layout with pagination
* script to run website
* update page navigation
* search
* readable markdown colors, better "read less"
* core: atomic update of directory listings, to avoid files unavailable
* fix symlink, sort entries on page with new first
* update listings every 15 min, add activeAt time
* fix sorting in the page and listing url
* replace simplex:/ links on desktop
* website: fix search in directory
* add section 5 for Desktop
* android, desktop: update dependency
* website(directory): add bot address, open simplex links in new tab, improve error handling
* made cover responsive
* directory: show only recent groups in active/new tabs, page improvements (#6290)
* directory: show only recent groups as active or new
* round times
* sorting order
* fix links
* improve
* directory: disable search autocomplete
* directory: show approximate activity/creation time
* scripts: suffix deb packages with distribution codename (#6273)
* directory: show default image in case of loading error (can happen when group is delisted)
* website: add directory to nav bar, fixes (#6293)
* website: add directory to nav bar, fixes
* docs: update readme
* add responsiveness
* add socials
* remove white redundent line
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
Co-authored-by: sh <37271604+shumvgolove@users.noreply.github.com>
* website: navbar (#6307)
* add navbar for desktop
* website: complete navbar (#6313)
* website: desktop layout for section 2 3 4 5 (#6317)
* desktop layout for section 2 3 4 5
* improve mobile layout
* resolve navbar issues
* delete unwanted svg
* cover layout
* update section 5 for mobile
* section 5 desktop
* website: improve layout & section 6 (#6321)
* improve layout
* add section 6
* website: promoted groups on home page (#6323)
* website: promoted groups on home page
* use local images when fallback listing is used, replace image on download error with group icon
* welcome message
* more links
* rename CSS classes
* website: adding footer (#6326)
* adding footer
* add footer
* update nav
* improve spaces in .group-images
* quick fix
* add community vouchers page
* fix footer problem
* disable pull to refresh
* address bar now hide in safari
* website: fallback group images (#6342)
* website: new things (#6344)
* add learn_more.md section in /learn-more page
* fix cover swiping bug & improve gradient
* fix click bug of group-images
* website: improve layout (#6361)
* website: improve layout
* fix footer for iphone
* add light mode (#6368)
* website: important updates (#6375)
* design improvements for desktop
* design improvements for mobile
* same navbar for all pages
* add comparison table
* update z-index
* quick fix
* add glassy effect to nav
* quick improvement
* favicon
* quick fix
* update nav glassy effect
* quick nav update
* improve mobile layout
* improve mobile layout
* improve mobile layout
* rotate gradients for mobile
* safearea
* almost remove background from nav
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
* website: cover updates (#6380)
* remove background from nav
* add publications
* add security btns
* quick fixes
* quick fixes
* add all btns & made them responsive
* add hash & update pages
* Revert "remove background from nav"
This reverts commit ee27d17484.
* fix web.sh
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
* website: translation strings (#6384)
* add translation strings for home page
* add translation strings for comparison table
* update strings
* website: update text (#6387)
* website: update text
* website: additional translation strings
* comparison table
* update colors
* update glossary
* website: fix glossary capitalize issue (#6388)
* fix glossary capitalize issue
* fix gradient scroll issue
* fix gradient scroll issue
* website: community vouchers and token (#6389)
* website: community vouchers and token
* website: change translation string
* update name
* website: update translations, fonts, fix language navigation (#6395)
* website: update translations
* website: update fonts, fix language navigation
* website: update texts (#6404)
* website: update texts
* website: update texts
* update the text
* website: update texts
* update
* web: mobile layout / safe area (#6408)
* improve status bar / safe area coloring
* improve status coloring
* website: popup to mint nft (WIP) (#6410)
* website: popup to mint nft (WIP)
* update dApp
* minting works
* update dApp
* update
* update app
* improve
* update network to arbitrum
* update copyright
* website: layout fixes, token button (#6415)
* update images, add note about arbitrum
* update colors
* website: update tokens, switch dApp to Ethereum
---------
Co-authored-by: M. Sarmad Qadeer <MSarmadQadeer@gmail.com>
Co-authored-by: sh <37271604+shumvgolove@users.noreply.github.com>
72 lines
1.9 KiB
Bash
Executable File
72 lines
1.9 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
cp -R docs website/src
|
|
rm -rf website/src/docs/rfcs
|
|
rm website/src/docs/lang/*/README.md
|
|
rm -rf website/src/docs/dependencies
|
|
cp -R blog website/src
|
|
cp -R images website/src
|
|
rm website/src/blog/README.md
|
|
cp PRIVACY.md website/src/privacy.md
|
|
cd website
|
|
|
|
langs=()
|
|
|
|
# this loop finds out the available languages
|
|
for file in langs/*.json; do
|
|
if [ -f "$file" ]; then
|
|
file_name=$(basename "$file")
|
|
file_name=${file_name%.*}
|
|
langs+=($file_name)
|
|
fi
|
|
done
|
|
|
|
npm install
|
|
cp node_modules/lottie-web/build/player/lottie.min.js src/js
|
|
cp node_modules/ethers/dist/ethers.umd.min.js src/js
|
|
cp node_modules/ethers/dist/ethers.umd.js.map src/js
|
|
node merge_translations.js
|
|
node customize_docs_frontmatter.js
|
|
|
|
# creating folders for each language for internationalization
|
|
for lang in "${langs[@]}"; do
|
|
mkdir -p src/$lang
|
|
cp src/index.html src/$lang
|
|
cp src/messaging.html src/$lang
|
|
cp src/contact.html src/$lang
|
|
cp src/invitation.html src/$lang
|
|
cp src/fdroid.html src/$lang
|
|
echo "{\"lang\":\"$lang\"}" > src/$lang/$lang.json
|
|
echo "done $lang copying"
|
|
done
|
|
|
|
npm run build
|
|
|
|
for lang in "${langs[@]}"; do
|
|
rm -rf src/$lang
|
|
echo "done $lang deletion"
|
|
done
|
|
|
|
# for val in "${langs[@]}"; do
|
|
# json_content=$(echo "$json_content" | jq ". + {$val: $(jq . langs/$val.json)}")
|
|
# done
|
|
# echo "$json_content" > translations.json
|
|
|
|
|
|
# keys of the english language are used as the base keys
|
|
# base_keys=($(jq -r 'keys[]' 'langs/en.json'))
|
|
# this program generates a combined translations.json file
|
|
# main_json_obj="{}"
|
|
# for key in "${base_keys[@]}"; do
|
|
# val_json_obj="{}"
|
|
# for lang in "${langs[@]}"; do
|
|
# val="$(jq .["\"$key\""] langs/$lang.json)"
|
|
# if [ ! -z "$val" ] && [ "$val" != "null" ]; then
|
|
# val_json_obj=$(echo "$val_json_obj" | jq ". + {$lang: $val}")
|
|
# fi
|
|
# done
|
|
# main_json_obj=$(echo "$main_json_obj" | jq ". + {\"$key\": $val_json_obj}")
|
|
# done
|
|
# echo "$main_json_obj" > translations.json |