diff --git a/apps/datahub/src/app/app.module.ts b/apps/datahub/src/app/app.module.ts
index 663e0b0be..8e30804d8 100644
--- a/apps/datahub/src/app/app.module.ts
+++ b/apps/datahub/src/app/app.module.ts
@@ -14,7 +14,6 @@ import {
FeatureRecordModule,
GN_UI_VERSION,
WEB_COMPONENT_EMBEDDER_URL,
- RecordMetaComponent,
} from '@geonetwork-ui/feature/record'
import {
DefaultRouterModule,
@@ -157,7 +156,6 @@ export const metaReducers: MetaReducer[] = !environment.production ? [] : []
UiInputsModule,
MatTabsModule,
UiWidgetsModule,
- RecordMetaComponent,
LetDirective,
// FIXME: these imports are required by non-standalone components and should be removed once all components have been made standalone
NgIconsModule.withIcons({
diff --git a/apps/datahub/src/app/record/record-page/record-page.component.html b/apps/datahub/src/app/record/record-page/record-page.component.html
index 1ba9c5c7f..139097e05 100644
--- a/apps/datahub/src/app/record/record-page/record-page.component.html
+++ b/apps/datahub/src/app/record/record-page/record-page.component.html
@@ -1,7 +1,4 @@
-
diff --git a/libs/feature/record/src/index.ts b/libs/feature/record/src/index.ts
index 7c4802157..5cd2bfe85 100644
--- a/libs/feature/record/src/index.ts
+++ b/libs/feature/record/src/index.ts
@@ -7,4 +7,3 @@ export * from './lib/data-view-share/data-view-share.component'
export * from './lib/data-view-web-component/data-view-web-component.component'
export * from './lib/external-viewer-button/external-viewer-button.component'
export * from './lib/map-view/map-view.component'
-export * from './lib/record-meta/record-meta.component'
diff --git a/libs/feature/record/src/lib/record-meta/record-meta.component.spec.ts b/libs/feature/record/src/lib/record-meta/record-meta.component.spec.ts
deleted file mode 100644
index a3cdc592c..000000000
--- a/libs/feature/record/src/lib/record-meta/record-meta.component.spec.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-import { ComponentFixture, TestBed } from '@angular/core/testing'
-import { RecordMetaComponent } from './record-meta.component'
-
-describe('RecordMetaComponent', () => {
- let component: RecordMetaComponent
- let fixture: ComponentFixture
-
- beforeEach(async () => {
- await TestBed.configureTestingModule({
- declarations: [],
- imports: [RecordMetaComponent],
- providers: [],
- }).compileComponents()
- })
-
- beforeEach(() => {
- fixture = TestBed.createComponent(RecordMetaComponent)
- component = fixture.componentInstance
- })
-
- it('should create', () => {
- expect(component).toBeTruthy()
- })
-})
diff --git a/libs/feature/record/src/lib/record-meta/record-meta.component.ts b/libs/feature/record/src/lib/record-meta/record-meta.component.ts
deleted file mode 100644
index d26bf23c5..000000000
--- a/libs/feature/record/src/lib/record-meta/record-meta.component.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-import {
- ChangeDetectionStrategy,
- Component,
- Input,
- OnChanges,
- OnDestroy,
-} from '@angular/core'
-import { Meta } from '@angular/platform-browser'
-import { DatasetRecord } from '@geonetwork-ui/common/domain/model/record'
-
-@Component({
- selector: 'gn-ui-record-meta',
- template: '',
- changeDetection: ChangeDetectionStrategy.OnPush,
- standalone: true,
-})
-export class RecordMetaComponent implements OnDestroy, OnChanges {
- @Input() metadata: DatasetRecord
-
- constructor(private meta: Meta) {}
-
- ngOnChanges() {
- if (this.metadata?.title) {
- this.meta.addTag({ property: 'og:title', content: this.metadata.title })
- this.meta.addTag({
- property: 'og:url',
- content: window.location.href.toString(),
- })
- if (this.metadata?.overviews?.length > 0) {
- for (const overview of this.metadata.overviews) {
- this.meta.addTag({
- property: 'og:image',
- content: overview.url.toString(),
- })
- }
- }
- }
- }
-
- ngOnDestroy() {
- this.meta.removeTag('property="og:image"')
- this.meta.removeTag('property="og:url"')
- this.meta.removeTag('property="og:title"')
- }
-}