Refactor tag file, remove subtitle

This commit is contained in:
Christoph Hagen
2025-01-05 17:18:23 +01:00
parent 5ac5a7b000
commit 29bba5e76e
11 changed files with 85 additions and 78 deletions

View File

@ -43,17 +43,15 @@ extension LocalizedTag {
content: .mock,
urlComponent: "electronics",
name: "Electronics",
subtitle: "Projects with electronics",
description: "Some description of the tag",
thumbnail: FileResource(resourceImage: "image1", type: .jpg),
linkPreviewDescription: "Some description of the tag",
linkPreviewImage: FileResource(resourceImage: "image1", type: .jpg),
originalUrl: "projects/electronics")
static let german = LocalizedTag(
content: .mock,
urlComponent: "elektronik",
name: "Elektronik",
subtitle: "Projekte mit Elektronik",
description: "Eine Beschreibung des Tags",
thumbnail: FileResource(resourceImage: "image2", type: .jpg),
linkPreviewDescription: "Eine Beschreibung des Tags",
linkPreviewImage: FileResource(resourceImage: "image2", type: .jpg),
originalUrl: "projects/electronics")
}