favicon & json data
This commit is contained in:
1326
bizmatch-server/src/assets/broker.json
Normal file
1326
bizmatch-server/src/assets/broker.json
Normal file
File diff suppressed because it is too large
Load Diff
5018
bizmatch-server/src/assets/businesses.json
Normal file
5018
bizmatch-server/src/assets/businesses.json
Normal file
File diff suppressed because it is too large
Load Diff
1402
bizmatch-server/src/assets/commercials.json
Normal file
1402
bizmatch-server/src/assets/commercials.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -68,7 +68,6 @@ export class ListingsService {
|
|||||||
async saveListing(listing: BusinessListing | CommercialPropertyListing) {
|
async saveListing(listing: BusinessListing | CommercialPropertyListing) {
|
||||||
const repo=listing.listingsCategory==='business'?this.businessListingRepository:this.commercialPropertyListingRepository;
|
const repo=listing.listingsCategory==='business'?this.businessListingRepository:this.commercialPropertyListingRepository;
|
||||||
let result
|
let result
|
||||||
listing.temporary=false;
|
|
||||||
if (listing.id){
|
if (listing.id){
|
||||||
result = await repo.save(listing.id,listing as any)
|
result = await repo.save(listing.id,listing as any)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -99,8 +99,10 @@
|
|||||||
"tsConfig": "tsconfig.spec.json",
|
"tsConfig": "tsconfig.spec.json",
|
||||||
"inlineStyleLanguage": "scss",
|
"inlineStyleLanguage": "scss",
|
||||||
"assets": [
|
"assets": [
|
||||||
"src/favicon.ico",
|
"src/assets",
|
||||||
"src/assets"
|
"cropped-Favicon-32x32.png",
|
||||||
|
"cropped-Favicon-180x180.png",
|
||||||
|
"cropped-Favicon-191x192.png"
|
||||||
],
|
],
|
||||||
"styles": [
|
"styles": [
|
||||||
"src/styles.scss"
|
"src/styles.scss"
|
||||||
|
|||||||
@@ -12,16 +12,16 @@
|
|||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^17.2.2",
|
"@angular/animations": "^17.3.3",
|
||||||
"@angular/cdk": "^17.3.2",
|
"@angular/cdk": "^17.3.2",
|
||||||
"@angular/common": "^17.2.2",
|
"@angular/common": "^17.3.3",
|
||||||
"@angular/compiler": "^17.2.2",
|
"@angular/compiler": "^17.3.3",
|
||||||
"@angular/core": "^17.2.2",
|
"@angular/core": "^17.3.3",
|
||||||
"@angular/forms": "^17.2.2",
|
"@angular/forms": "^17.3.3",
|
||||||
"@angular/platform-browser": "^17.2.2",
|
"@angular/platform-browser": "^17.3.3",
|
||||||
"@angular/platform-browser-dynamic": "^17.2.2",
|
"@angular/platform-browser-dynamic": "^17.3.3",
|
||||||
"@angular/platform-server": "^17.2.2",
|
"@angular/platform-server": "^17.3.3",
|
||||||
"@angular/router": "^17.2.2",
|
"@angular/router": "^17.3.3",
|
||||||
"@fortawesome/angular-fontawesome": "^0.14.1",
|
"@fortawesome/angular-fontawesome": "^0.14.1",
|
||||||
"@fortawesome/fontawesome-free": "^6.5.1",
|
"@fortawesome/fontawesome-free": "^6.5.1",
|
||||||
"@fortawesome/fontawesome-svg-core": "^6.5.1",
|
"@fortawesome/fontawesome-svg-core": "^6.5.1",
|
||||||
@@ -49,9 +49,9 @@
|
|||||||
"zone.js": "~0.14.4"
|
"zone.js": "~0.14.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^17.2.1",
|
"@angular-devkit/build-angular": "^17.3.3",
|
||||||
"@angular/cli": "^17.2.1",
|
"@angular/cli": "^17.3.3",
|
||||||
"@angular/compiler-cli": "^17.2.2",
|
"@angular/compiler-cli": "^17.3.3",
|
||||||
"@types/express": "^4.17.21",
|
"@types/express": "^4.17.21",
|
||||||
"@types/jasmine": "~5.1.4",
|
"@types/jasmine": "~5.1.4",
|
||||||
"@types/node": "^20.11.20",
|
"@types/node": "^20.11.20",
|
||||||
@@ -63,4 +63,4 @@
|
|||||||
"karma-jasmine-html-reporter": "~2.1.0",
|
"karma-jasmine-html-reporter": "~2.1.0",
|
||||||
"typescript": "~5.3.3"
|
"typescript": "~5.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -119,7 +119,6 @@ export class EditListingComponent {
|
|||||||
sessionStorage.setItem('uuid', uuid);
|
sessionStorage.setItem('uuid', uuid);
|
||||||
this.listing = createGenericObject<BusinessListing>();
|
this.listing = createGenericObject<BusinessListing>();
|
||||||
this.listing.id = uuid
|
this.listing.id = uuid
|
||||||
this.listing.temporary = true;
|
|
||||||
this.listing.userId = this.user.id
|
this.listing.userId = this.user.id
|
||||||
this.listing.listingsCategory = 'business';
|
this.listing.listingsCategory = 'business';
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
bizmatch/src/assets/cropped-Favicon-32x32.png
Normal file
BIN
bizmatch/src/assets/cropped-Favicon-32x32.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
bizmatch/src/assets/favicon.png
Normal file
BIN
bizmatch/src/assets/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.0 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB |
BIN
bizmatch/src/favicon.png
Normal file
BIN
bizmatch/src/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.0 KiB |
@@ -17,12 +17,10 @@
|
|||||||
<meta property="og:image:width" content="1200">
|
<meta property="og:image:width" content="1200">
|
||||||
<meta property="og:image:height" content="630">
|
<meta property="og:image:height" content="630">
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="generator" content="WordPress 5.4.9">
|
|
||||||
<base href="/">
|
<base href="/">
|
||||||
<!-- <link rel="icon" type="image/x-icon" href="favicon.ico"> -->
|
<link rel="icon" href="assets/cropped-Favicon-32x32.png" sizes="32x32">
|
||||||
<link rel="icon" href="cropped-Favicon-32x32.png" sizes="32x32">
|
<!-- <link rel="icon" href="cropped-Favicon-192x192.png" sizes="192x192"> -->
|
||||||
<link rel="icon" href="cropped-Favicon-192x192.png" sizes="192x192">
|
<!-- <link rel="apple-touch-icon" href="cropped-Favicon-180x180.png"> -->
|
||||||
<link rel="apple-touch-icon" href="cropped-Favicon-180x180.png">
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<app-root></app-root>
|
<app-root></app-root>
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ export interface Listing {
|
|||||||
draft?:boolean;
|
draft?:boolean;
|
||||||
created:Date;
|
created:Date;
|
||||||
updated:Date;
|
updated:Date;
|
||||||
temporary:boolean;
|
|
||||||
}
|
}
|
||||||
export interface BusinessListing extends Listing {
|
export interface BusinessListing extends Listing {
|
||||||
listingsCategory: 'business'; //enum
|
listingsCategory: 'business'; //enum
|
||||||
|
|||||||
Reference in New Issue
Block a user