Remove creator's about, adds title.
Remove extra content properties. Change creator's colors to materials palette.
This commit is contained in:
@@ -9,24 +9,24 @@ public class Creator
|
||||
public DateTimeOffset CreatedAt { get; init; }
|
||||
[MaxLength(255)] public string Name { get; set; } = null!;
|
||||
|
||||
public About About { get; set; } = new();
|
||||
[MaxLength(255)] public string? Title { get; set; }
|
||||
public Socials Socials { get; set; } = new();
|
||||
public Colors Colors { get; set; } = new();
|
||||
public Images Images { get; set; } = new();
|
||||
}
|
||||
|
||||
public class About
|
||||
{
|
||||
[MaxLength(255)] public string? Title { get; set; }
|
||||
[MaxLength(2048)] public string? Description { get; set; }
|
||||
}
|
||||
|
||||
public class Colors
|
||||
{
|
||||
[MaxLength(9)] public string? BannerTop { get; set; }
|
||||
[MaxLength(9)] public string? BannerBottom { get; set; }
|
||||
[MaxLength(9)] public string? Accent { get; set; }
|
||||
[MaxLength(9)] public string? Menu { get; set; }
|
||||
[MaxLength(9)] public string Primary { get; set; } = null!;
|
||||
[MaxLength(9)] public string Secondary { get; set; } = null!;
|
||||
[MaxLength(9)] public string Background { get; set; } = null!;
|
||||
[MaxLength(9)] public string Surface { get; set; } = null!;
|
||||
[MaxLength(9)] public string Error { get; set; } = null!;
|
||||
[MaxLength(9)] public string OnPrimary { get; set; } = null!;
|
||||
[MaxLength(9)] public string OnSecondary { get; set; } = null!;
|
||||
[MaxLength(9)] public string OnBackground { get; set; } = null!;
|
||||
[MaxLength(9)] public string OnSurface { get; set; } = null!;
|
||||
[MaxLength(9)] public string OnError { get; set; } = null!;
|
||||
}
|
||||
|
||||
public class Socials
|
||||
|
||||
Reference in New Issue
Block a user