App avec splash screen persoonnalisé

This commit is contained in:
2021-12-03 15:45:11 +01:00
parent 10f70bb4c8
commit f190635238
40 changed files with 121 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,2 @@
#Thu Dec 02 10:21:48 CET 2021
gradle.version=4.4.1

3
.idea/.gitignore generated vendored Normal file
View File

@@ -0,0 +1,3 @@
# Default ignored files
/shelf/
/workspace.xml

8
.idea/modules.xml generated Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/simple-todos-blaze.iml" filepath="$PROJECT_DIR$/.idea/simple-todos-blaze.iml" />
</modules>
</component>
</project>

9
.idea/simple-todos-blaze.iml generated Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

6
.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View File

@@ -24,3 +24,4 @@ hot-module-replacement@0.4.0 # Update code in development without reloading the
blaze-hot # Update files using Blaze's API with HMR
reactive-dict
accounts-password
launch-screen

View File

@@ -44,7 +44,7 @@ logging@1.3.1
meteor@1.10.0
meteor-base@1.5.1
minifier-css@1.6.0
minifier-js@2.7.2
minifier-js@2.7.3
minimongo@1.7.0
mobile-experience@1.1.0
mobile-status-bar@1.1.0
@@ -62,7 +62,7 @@ ordered-dict@1.1.0
promise@0.12.0
random@1.2.0
rate-limit@1.0.9
react-fast-refresh@0.2.0
react-fast-refresh@0.2.1
reactive-dict@1.3.0
reactive-var@1.0.11
reload@1.3.1
@@ -75,7 +75,7 @@ socket-stream-client@0.4.0
spacebars@1.2.0
spacebars-compiler@1.2.1
standard-minifier-css@1.7.4
standard-minifier-js@2.7.2
standard-minifier-js@2.7.3
templating@1.4.1
templating-compiler@1.4.1
templating-runtime@1.5.0

View File

@@ -1,3 +1,41 @@
.loader {
position: absolute;
inset: 0;
background: radial-gradient(circle at bottom, #9fb8d1 0%, #157496 100% );
display: flex;
justify-content: center;
align-items: center;
}
.circle {
fill: none;
stroke: #fff;
stroke-width: 10px;
/* Couper le cercle */
stroke-dasharray: 100;
/*Décaler les pointillés*/
stroke-dashoffset: 150;
animation: rotation 1800ms ease-in-out infinite alternate;
}
@keyframes rotation {
0%{
stroke-dasharray: 100;
stroke-dashoffset: 70;
}
/* Changement endroit des pointillés */
100%{
stroke-dasharray: 100;
stroke-dashoffset: -800;
}
}
/*Classe que l'on ajoute pour faire transition de fin*/
.ended {
opacity: 0;
transition: opacity 2s ease-in-out;
}
body {
font-family: sans-serif;
background-color: #315481;

View File

@@ -1 +1,17 @@
import '../imports/ui/App.js';
var handle = LaunchScreen.hold();
document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
navigator.splashscreen.show();
}
setTimeout(()=> {
handle.release();
}, 10000);

35
mobile-config.js Normal file
View File

@@ -0,0 +1,35 @@
// mobile-config.js
App.launchScreens({
// iOS splash screens
iphone5: 'resources/launch_screens/iphone5.png',
iphone6: 'resources/launch_screens/iphone6.png',
iphone6p_portrait: 'resources/launch_screens/iphone6p_portrait.png',
iphone6p_landscape: 'resources/launch_screens/iphone6p_landscape.png',
iphoneX_portrait: 'resources/launch_screens/iphoneX_portrait.png',
iphoneX_landscape: 'resources/launch_screens/iphoneX_landscape.png',
ipad_portrait_2x: 'resources/launch_screens/ipad_portrait_2x.png',
ipad_landscape_2x: 'resources/launch_screens/ipad_landscape_2x.png',
ipad_portrait_pro_10_5: 'resources/launch_screens/ipad_portrait_pro_10_5.png',
ipad_landscape_pro_10_5: 'resources/launch_screens/ipad_landscape_pro_10_5.png',
ipad_portrait_pro_12_9: 'resources/launch_screens/ipad_portrait_pro_12_9.png',
ipad_landscape_pro_12_9: 'resources/launch_screens/ipad_landscape_pro_12_9.png',
// iOS splash screens legacy
iphone_2x: 'resources/launch_screens/iphone_2x.png',
ipad_portrait: 'resources/launch_screens/ipad_portrait.png',
ipad_landscape: 'resources/launch_screens/ipad_landscape.png',
// Android splash screens
android_mdpi_portrait: 'resources/launch_screens/android_mdpi_portrait.png',
android_mdpi_landscape: 'resources/launch_screens/android_mdpi_landscape.png',
android_hdpi_portrait: 'resources/launch_screens/android_hdpi_portrait.png',
android_hdpi_landscape: 'resources/launch_screens/android_hdpi_landscape.png',
android_xhdpi_portrait: 'resources/launch_screens/android_xhdpi_portrait.png',
android_xhdpi_landscape: 'resources/launch_screens/android_xhdpi_landscape.png',
android_xxhdpi_portrait: 'resources/launch_screens/android_xxhdpi_portrait.png',
android_xxhdpi_landscape: 'resources/launch_screens/android_xxhdpi_landscape.png',
android_xxxhdpi_portrait: 'resources/launch_screens/android_xxxhdpi_portrait.png',
android_xxxhdpi_landscape: 'resources/launch_screens/android_xxxhdpi_landscape.png'
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

BIN
splash.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB