сделал копию море для tasty coffee
This commit is contained in:
gofnnp 2023-09-12 14:36:51 +04:00
parent ea66abfcd1
commit af56582aca
15 changed files with 31 additions and 31 deletions

View File

@ -1,4 +1,4 @@
# CoffeeLikeMore # TastyCoffee
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.0.6. This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.0.6.

View File

@ -4,7 +4,7 @@
"version": 1, "version": 1,
"newProjectRoot": "projects", "newProjectRoot": "projects",
"projects": { "projects": {
"coffee-like-more": { "tasty-coffee": {
"projectType": "application", "projectType": "application",
"schematics": { "schematics": {
"@schematics/angular:component": { "@schematics/angular:component": {
@ -21,7 +21,7 @@
"build": { "build": {
"builder": "@angular-devkit/build-angular:browser", "builder": "@angular-devkit/build-angular:browser",
"options": { "options": {
"outputPath": "/var/www/html/lk.crm4retail.ru/more", "outputPath": "/var/www/html/lk.crm4retail.ru/tasty-coffee",
"baseHref": "/", "baseHref": "/",
"index": "src/index.html", "index": "src/index.html",
"main": "src/main.ts", "main": "src/main.ts",
@ -86,10 +86,10 @@
"builder": "@angular-devkit/build-angular:dev-server", "builder": "@angular-devkit/build-angular:dev-server",
"configurations": { "configurations": {
"production": { "production": {
"browserTarget": "coffee-like-more:build:production" "browserTarget": "tasty-coffee:build:production"
}, },
"development": { "development": {
"browserTarget": "coffee-like-more:build:development", "browserTarget": "tasty-coffee:build:development",
"proxyConfig": "proxy.confi.json" "proxyConfig": "proxy.confi.json"
} }
}, },
@ -98,7 +98,7 @@
"extract-i18n": { "extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n", "builder": "@angular-devkit/build-angular:extract-i18n",
"options": { "options": {
"browserTarget": "coffee-like-more:build" "browserTarget": "tasty-coffee:build"
} }
}, },
"test": { "test": {

View File

@ -1,11 +1,11 @@
{ {
"name": "coffee-like-more", "name": "tasty-coffee",
"version": "0.0.2", "version": "0.0.2",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coffee-like-more", "name": "tasty-coffee",
"version": "0.0.2", "version": "0.0.2",
"dependencies": { "dependencies": {
"@angular/animations": "^15.2.9", "@angular/animations": "^15.2.9",

View File

@ -1,5 +1,5 @@
{ {
"name": "coffee-like-more", "name": "tasty-coffee",
"version": "0.0.2", "version": "0.0.2",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",

View File

@ -20,16 +20,16 @@ describe('AppComponent', () => {
expect(app).toBeTruthy(); expect(app).toBeTruthy();
}); });
it(`should have as title 'coffee-like-more'`, () => { it(`should have as title 'tasty-coffee'`, () => {
const fixture = TestBed.createComponent(AppComponent); const fixture = TestBed.createComponent(AppComponent);
const app = fixture.componentInstance; const app = fixture.componentInstance;
expect(app.title).toEqual('coffee-like-more'); expect(app.title).toEqual('tasty-coffee');
}); });
it('should render title', () => { it('should render title', () => {
const fixture = TestBed.createComponent(AppComponent); const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges(); fixture.detectChanges();
const compiled = fixture.nativeElement as HTMLElement; const compiled = fixture.nativeElement as HTMLElement;
expect(compiled.querySelector('.content span')?.textContent).toContain('coffee-like-more app is running!'); expect(compiled.querySelector('.content span')?.textContent).toContain('tasty-coffee app is running!');
}); });
}); });

View File

@ -10,7 +10,7 @@ import { JsonrpcService, RpcService } from './services/jsonrpc.service';
styleUrls: ['./app.component.scss'], styleUrls: ['./app.component.scss'],
}) })
export class AppComponent implements OnInit { export class AppComponent implements OnInit {
title = 'Coffee Like More'; title = 'Tasty Coffee';
constructor( constructor(
private router: Router, private router: Router,

View File

@ -42,7 +42,7 @@ export class InviteFriendsComponent implements OnInit {
if (navigator.share) { if (navigator.share) {
navigator.share({ navigator.share({
title: document.title, title: document.title,
text: "Coffee Like More", text: "Tasty Coffee",
url: this.refUrl url: this.refUrl
}) })
.then(() => console.log('Successful share')) .then(() => console.log('Successful share'))

View File

@ -40,7 +40,7 @@ export class RefSystemComponent implements OnInit {
if (navigator.share) { if (navigator.share) {
navigator.share({ navigator.share({
title: document.title, title: document.title,
text: "Coffee Like More", text: "Tasty Coffee",
url: this.refUrl url: this.refUrl
}) })
.then(() => console.log('Successful share')) .then(() => console.log('Successful share'))

View File

@ -42,7 +42,7 @@ export class InviteFriendsComponent implements OnInit {
if (navigator.share) { if (navigator.share) {
navigator.share({ navigator.share({
title: document.title, title: document.title,
text: "Coffee Like More", text: "Tasty Coffee",
url: this.refUrl url: this.refUrl
}) })
.then(() => console.log('Successful share')) .then(() => console.log('Successful share'))

View File

@ -42,7 +42,7 @@ export class InviteFriendsComponent implements OnInit {
if (navigator.share) { if (navigator.share) {
navigator.share({ navigator.share({
title: document.title, title: document.title,
text: "Coffee Like More", text: "Tasty Coffee",
url: this.refUrl url: this.refUrl
}) })
.then(() => console.log('Successful share')) .then(() => console.log('Successful share'))

View File

@ -6,9 +6,9 @@ export const environment = {
appBonusEndpoint: 'https://customerapi2.mi.crm4retail.ru/json.rpc/', appBonusEndpoint: 'https://customerapi2.mi.crm4retail.ru/json.rpc/',
appWPEndpoint: 'http://213.239.210.240:4500/wp-json/woofood/v1/', appWPEndpoint: 'http://213.239.210.240:4500/wp-json/woofood/v1/',
hasBonusProgram: true, hasBonusProgram: true,
systemId: 'mKyR557dYr39eg3T6v', systemId: 'jc6gXotVsHG7l5X8o6',
defaultUrl: 'https://more.lk.crm4retail.ru', defaultUrl: 'https://tasty-coffee.lk.crm4retail.ru',
manifestUrl: 'https://more.lk.crm4retail.ru/manifest.webmanifest', manifestUrl: 'https://tasty-coffee.lk.crm4retail.ru/manifest.webmanifest',
firebase: { firebase: {
apiKey: "AIzaSyDTb_xuMz2vDx8xGs34AJiltraKVlwmrtY", apiKey: "AIzaSyDTb_xuMz2vDx8xGs34AJiltraKVlwmrtY",
authDomain: "coffee-like-77bfe.firebaseapp.com", authDomain: "coffee-like-77bfe.firebaseapp.com",
@ -19,7 +19,7 @@ export const environment = {
}, },
version: packageJson.version, version: packageJson.version,
appleWalletEndpoint: 'https://apple-wallet-iiko.it-retail.tech/apns/api', appleWalletEndpoint: 'https://apple-wallet-iiko.it-retail.tech/apns/api',
icardProxy: 'https://more.lk.crm4retail.ru/api/icard-proxy/', icardProxy: 'https://tasty-coffee.lk.crm4retail.ru/api/icard-proxy/',
appleWalletSecret: 'Token F5mbzEERAznGKVbB6l', appleWalletSecret: 'Token F5mbzEERAznGKVbB6l',
clientName: 'more' clientName: 'tasty-coffee'
} }

View File

@ -6,9 +6,9 @@ export const environment = {
appBonusEndpoint: 'https://customerapi2.mi.crm4retail.ru/json.rpc/', appBonusEndpoint: 'https://customerapi2.mi.crm4retail.ru/json.rpc/',
appWPEndpoint: 'http://192.168.0.179:4200/wp-json/woofood/v1/', appWPEndpoint: 'http://192.168.0.179:4200/wp-json/woofood/v1/',
hasBonusProgram: true, hasBonusProgram: true,
systemId: 'mKyR557dYr39eg3T6v', systemId: 'jc6gXotVsHG7l5X8o6',
defaultUrl: 'http://192.168.0.179:4200', defaultUrl: 'http://192.168.0.179:4200',
manifestUrl: 'https://more.lk.crm4retail.ru/manifest.webmanifest', manifestUrl: 'https://tasty-coffee.lk.crm4retail.ru/manifest.webmanifest',
firebase: { firebase: {
apiKey: "AIzaSyDTb_xuMz2vDx8xGs34AJiltraKVlwmrtY", apiKey: "AIzaSyDTb_xuMz2vDx8xGs34AJiltraKVlwmrtY",
authDomain: "coffee-like-77bfe.firebaseapp.com", authDomain: "coffee-like-77bfe.firebaseapp.com",
@ -19,7 +19,7 @@ export const environment = {
}, },
version: packageJson.version, version: packageJson.version,
appleWalletEndpoint: 'https://apple-wallet-iiko.it-retail.tech/apns/api', appleWalletEndpoint: 'https://apple-wallet-iiko.it-retail.tech/apns/api',
icardProxy: 'https://more.lk.crm4retail.ru/api/icard-proxy/', icardProxy: 'https://tasty-coffee.lk.crm4retail.ru/api/icard-proxy/',
appleWalletSecret: 'Token F5mbzEERAznGKVbB6l', appleWalletSecret: 'Token F5mbzEERAznGKVbB6l',
clientName: 'more' clientName: 'tasty-coffee'
}; };

View File

@ -2,7 +2,7 @@
<html lang="ru"> <html lang="ru">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>More</title> <title>Tasty Coffee</title>
<base href="/"> <base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <link rel="apple-touch-icon" href="./assets/icons/apple-icon-180x180.png"> --> <!-- <link rel="apple-touch-icon" href="./assets/icons/apple-icon-180x180.png"> -->

View File

@ -1,6 +1,6 @@
{ {
"name": "More", "name": "TastyCoffee",
"short_name": "More", "short_name": "TastyCoffee",
"theme_color": "#1976d2", "theme_color": "#1976d2",
"background_color": "#fafafa", "background_color": "#fafafa",
"display": "standalone", "display": "standalone",
@ -53,6 +53,6 @@
"gcm_sender_id": "99855572145", "gcm_sender_id": "99855572145",
"related_applications": [{ "related_applications": [{
"platform": "webapp", "platform": "webapp",
"url": "https://more.lk.crm4retail.ru/manifest.webmanifest" "url": "https://tasty-coffee.lk.crm4retail.ru/manifest.webmanifest"
}] }]
} }

View File

@ -1,6 +1,6 @@
{ {
"style": { "style": {
"organizationName": "More", "organizationName": "tasty-coffee",
"logoText": "", "logoText": "",
"description": "", "description": "",
"notificationPlaceholder": "Здесь будут уведомления", "notificationPlaceholder": "Здесь будут уведомления",