diff --git a/generators/client/files.js b/generators/client/files.js
index dd3c4f78..b63d7895 100644
--- a/generators/client/files.js
+++ b/generators/client/files.js
@@ -2,6 +2,7 @@ const jhipsterConstants = require('generator-jhipster/generators/generator-const
const ANGULAR_DIR = jhipsterConstants.ANGULAR_DIR;
const REACT_DIR = jhipsterConstants.REACT_DIR;
+const MAIN_SRC_DIR = jhipsterConstants.CLIENT_MAIN_SRC_DIR;
const CLIENT_WEBPACK_DIR = jhipsterConstants.CLIENT_WEBPACK_DIR;
const CLIENT_TEST_SRC_DIR = jhipsterConstants.CLIENT_TEST_SRC_DIR;
@@ -11,6 +12,41 @@ const clientFiles = {
{
condition: generator => generator.clientFramework === 'angularX',
templates: [
+ {
+ file: 'angular/src/main/webapp/content/images/jhipster_family_member_4.svg',
+ method: 'copy',
+ renameTo: () => `${MAIN_SRC_DIR}content/images/jhipster_family_member_4.svg`,
+ },
+ {
+ file: 'angular/src/main/webapp/content/images/jhipster_family_member_4_head-192.png',
+ method: 'copy',
+ renameTo: () => `${MAIN_SRC_DIR}content/images/jhipster_family_member_4_head-192.png`,
+ },
+ {
+ file: 'angular/src/main/webapp/content/images/jhipster_family_member_4_head-256.png',
+ method: 'copy',
+ renameTo: () => `${MAIN_SRC_DIR}content/images/jhipster_family_member_4_head-256.png`,
+ },
+ {
+ file: 'angular/src/main/webapp/content/images/jhipster_family_member_4_head-384.png',
+ method: 'copy',
+ renameTo: () => `${MAIN_SRC_DIR}content/images/jhipster_family_member_4_head-384.png`,
+ },
+ {
+ file: 'angular/src/main/webapp/content/images/jhipster_family_member_4_head-512.png',
+ method: 'copy',
+ renameTo: () => `${MAIN_SRC_DIR}content/images/jhipster_family_member_4_head-512.png`,
+ },
+ {
+ file: 'angular/src/main/webapp/manifest.webapp',
+ method: 'copy',
+ renameTo: () => `${MAIN_SRC_DIR}manifest.webapp`,
+ },
+ {
+ file: 'angular/home/home.scss',
+ method: 'copy',
+ renameTo: () => `${ANGULAR_DIR}home/home.scss`,
+ },
// Custom home component to show micronaut-ness
{
file: 'angular/home/home.component.html',
@@ -156,6 +192,41 @@ const clientFiles = {
{
condition: generator => generator.clientFramework === 'react',
templates: [
+ {
+ file: 'react/src/main/webapp/content/images/jhipster_family_member_4.svg',
+ method: 'copy',
+ renameTo: () => `${MAIN_SRC_DIR}content/images/jhipster_family_member_4.svg`,
+ },
+ {
+ file: 'react/src/main/webapp/content/images/jhipster_family_member_4_head-192.png',
+ method: 'copy',
+ renameTo: () => `${MAIN_SRC_DIR}content/images/jhipster_family_member_4_head-192.png`,
+ },
+ {
+ file: 'react/src/main/webapp/content/images/jhipster_family_member_4_head-256.png',
+ method: 'copy',
+ renameTo: () => `${MAIN_SRC_DIR}content/images/jhipster_family_member_4_head-256.png`,
+ },
+ {
+ file: 'react/src/main/webapp/content/images/jhipster_family_member_4_head-384.png',
+ method: 'copy',
+ renameTo: () => `${MAIN_SRC_DIR}content/images/jhipster_family_member_4_head-384.png`,
+ },
+ {
+ file: 'react/src/main/webapp/content/images/jhipster_family_member_4_head-512.png',
+ method: 'copy',
+ renameTo: () => `${MAIN_SRC_DIR}content/images/jhipster_family_member_4_head-512.png`,
+ },
+ {
+ file: 'react/src/main/webapp/manifest.webapp',
+ method: 'copy',
+ renameTo: () => `${MAIN_SRC_DIR}manifest.webapp`,
+ },
+ {
+ file: 'react/home/home.scss',
+ method: 'copy',
+ renameTo: () => `${REACT_DIR}modules/home/home.scss`,
+ },
{
file: 'react/home/home.tsx',
method: 'processJsx',
diff --git a/generators/client/templates/angular/home/home.scss.ejs b/generators/client/templates/angular/home/home.scss.ejs
new file mode 100644
index 00000000..a054f947
--- /dev/null
+++ b/generators/client/templates/angular/home/home.scss.ejs
@@ -0,0 +1,10 @@
+/* ==========================================================================
+Main page styles
+========================================================================== */
+.hipster {
+ display: inline-block;
+ width: 100%;
+ height: 497px;
+ background: url("../../content/images/jhipster_family_member_4.svg") no-repeat center top;
+ background-size: contain;
+}
diff --git a/generators/client/templates/angular/src/main/webapp/content/images/jhipster_family_member_4.svg b/generators/client/templates/angular/src/main/webapp/content/images/jhipster_family_member_4.svg
new file mode 100644
index 00000000..17885981
--- /dev/null
+++ b/generators/client/templates/angular/src/main/webapp/content/images/jhipster_family_member_4.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/generators/client/templates/angular/src/main/webapp/content/images/jhipster_family_member_4_head-192.png b/generators/client/templates/angular/src/main/webapp/content/images/jhipster_family_member_4_head-192.png
new file mode 100644
index 00000000..da9c3054
Binary files /dev/null and b/generators/client/templates/angular/src/main/webapp/content/images/jhipster_family_member_4_head-192.png differ
diff --git a/generators/client/templates/angular/src/main/webapp/content/images/jhipster_family_member_4_head-256.png b/generators/client/templates/angular/src/main/webapp/content/images/jhipster_family_member_4_head-256.png
new file mode 100644
index 00000000..b8a4cce4
Binary files /dev/null and b/generators/client/templates/angular/src/main/webapp/content/images/jhipster_family_member_4_head-256.png differ
diff --git a/generators/client/templates/angular/src/main/webapp/content/images/jhipster_family_member_4_head-384.png b/generators/client/templates/angular/src/main/webapp/content/images/jhipster_family_member_4_head-384.png
new file mode 100644
index 00000000..e0be7f6c
Binary files /dev/null and b/generators/client/templates/angular/src/main/webapp/content/images/jhipster_family_member_4_head-384.png differ
diff --git a/generators/client/templates/angular/src/main/webapp/content/images/jhipster_family_member_4_head-512.png b/generators/client/templates/angular/src/main/webapp/content/images/jhipster_family_member_4_head-512.png
new file mode 100644
index 00000000..e6506793
Binary files /dev/null and b/generators/client/templates/angular/src/main/webapp/content/images/jhipster_family_member_4_head-512.png differ
diff --git a/generators/client/templates/angular/src/main/webapp/manifest.webapp.ejs b/generators/client/templates/angular/src/main/webapp/manifest.webapp.ejs
new file mode 100644
index 00000000..ffd02165
--- /dev/null
+++ b/generators/client/templates/angular/src/main/webapp/manifest.webapp.ejs
@@ -0,0 +1,31 @@
+{
+ "name": "<%= angularXAppName %>",
+ "short_name": "<%= angularXAppName %>",
+ "icons": [
+ {
+ "src": "./content/images/jhipster_family_member_4_head-192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "./content/images/jhipster_family_member_4_head-256.png",
+ "sizes": "256x256",
+ "type": "image/png"
+ },
+ {
+ "src": "./content/images/jhipster_family_member_4_head-384.png",
+ "sizes": "384x384",
+ "type": "image/png"
+ },
+ {
+ "src": "./content/images/jhipster_family_member_4_head-512.png",
+ "sizes": "512x512",
+ "type": "image/png"
+ }
+ ],
+ "theme_color": "#000000",
+ "background_color": "#e0e0e0",
+ "start_url": ".",
+ "display": "standalone",
+ "orientation": "portrait"
+}
diff --git a/generators/client/templates/react/home/home.scss.ejs b/generators/client/templates/react/home/home.scss.ejs
new file mode 100644
index 00000000..106869dc
--- /dev/null
+++ b/generators/client/templates/react/home/home.scss.ejs
@@ -0,0 +1,10 @@
+/* ==========================================================================
+Main page styles
+========================================================================== */
+.hipster {
+ display: inline-block;
+ width: 100%;
+ height: 497px;
+ background: url("../../../content/images/jhipster_family_member_4.svg") no-repeat center top;
+ background-size: contain;
+}
diff --git a/generators/client/templates/react/src/main/webapp/content/images/jhipster_family_member_4.svg b/generators/client/templates/react/src/main/webapp/content/images/jhipster_family_member_4.svg
new file mode 100644
index 00000000..17885981
--- /dev/null
+++ b/generators/client/templates/react/src/main/webapp/content/images/jhipster_family_member_4.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/generators/client/templates/react/src/main/webapp/content/images/jhipster_family_member_4_head-192.png b/generators/client/templates/react/src/main/webapp/content/images/jhipster_family_member_4_head-192.png
new file mode 100644
index 00000000..da9c3054
Binary files /dev/null and b/generators/client/templates/react/src/main/webapp/content/images/jhipster_family_member_4_head-192.png differ
diff --git a/generators/client/templates/react/src/main/webapp/content/images/jhipster_family_member_4_head-256.png b/generators/client/templates/react/src/main/webapp/content/images/jhipster_family_member_4_head-256.png
new file mode 100644
index 00000000..b8a4cce4
Binary files /dev/null and b/generators/client/templates/react/src/main/webapp/content/images/jhipster_family_member_4_head-256.png differ
diff --git a/generators/client/templates/react/src/main/webapp/content/images/jhipster_family_member_4_head-384.png b/generators/client/templates/react/src/main/webapp/content/images/jhipster_family_member_4_head-384.png
new file mode 100644
index 00000000..e0be7f6c
Binary files /dev/null and b/generators/client/templates/react/src/main/webapp/content/images/jhipster_family_member_4_head-384.png differ
diff --git a/generators/client/templates/react/src/main/webapp/content/images/jhipster_family_member_4_head-512.png b/generators/client/templates/react/src/main/webapp/content/images/jhipster_family_member_4_head-512.png
new file mode 100644
index 00000000..e6506793
Binary files /dev/null and b/generators/client/templates/react/src/main/webapp/content/images/jhipster_family_member_4_head-512.png differ
diff --git a/generators/client/templates/react/src/main/webapp/manifest.webapp.ejs b/generators/client/templates/react/src/main/webapp/manifest.webapp.ejs
new file mode 100644
index 00000000..ed25a049
--- /dev/null
+++ b/generators/client/templates/react/src/main/webapp/manifest.webapp.ejs
@@ -0,0 +1,31 @@
+{
+ "name": "<%= baseName %>",
+ "short_name": "<%= baseName %>",
+ "icons": [
+ {
+ "src": "./content/images/jhipster_family_member_4_head-192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "./content/images/jhipster_family_member_4_head-256.png",
+ "sizes": "256x256",
+ "type": "image/png"
+ },
+ {
+ "src": "./content/images/jhipster_family_member_4_head-384.png",
+ "sizes": "384x384",
+ "type": "image/png"
+ },
+ {
+ "src": "./content/images/jhipster_family_member_4>_head-512.png",
+ "sizes": "512x512",
+ "type": "image/png"
+ }
+ ],
+ "theme_color": "#000000",
+ "background_color": "#e0e0e0",
+ "start_url": ".",
+ "display": "standalone",
+ "orientation": "portrait"
+}