Updated admin page to be more streamlined and added the beginning of the blogging features

This commit is contained in:
Vincent Allen
2025-10-21 13:32:39 -04:00
parent 0e24ce2073
commit b34449808f
224 changed files with 27064 additions and 396 deletions

View File

@@ -0,0 +1,26 @@
using System.ComponentModel.DataAnnotations;
namespace OpenArchival.DataAccess;
/// <summary>
/// Used to display sliders of featured artifacts on the search page before a search is entered.
/// </summary>
public class SearchPageSliderEntry
{
[Key]
public int Id { get; set; }
public string Title { get; set; } = "";
public string Description { get; set; } = "";
/// <summary>
/// The tags used to find artifacts for the slider
/// </summary>
public List<ArtifactEntryTag> FilterTags { get; set; } = [];
/// <summary>
/// The maximum number of artifact entries that should be pulled for this slider
/// </summary>
public int MaxCount { get; set; } = 10;
}