Add support page, admin features, and auth hardening.

Rename public affiliate route to /support with localized nav labels, and include affiliate/social/wallpaper admin, 2FA login, and related site updates.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Atakan Doğan Özban
2026-07-29 20:25:55 +02:00
co-authored by Cursor
parent 202dc16a52
commit fc45c35dbe
149 changed files with 3496 additions and 11263 deletions
+41
View File
@@ -0,0 +1,41 @@
using System.ComponentModel.DataAnnotations;
using System.Web;
namespace atakanozbancom.Models.classes
{
public class AdminAffiliateLinkVM
{
public int id { get; set; }
[Display(Name = "Title (EN)")]
[Required(ErrorMessage = "Title is required.")]
[StringLength(200)]
public string TitleEN { get; set; }
[Display(Name = "Description (EN)")]
[StringLength(500)]
public string DescEN { get; set; }
[Display(Name = "Title (TR)")]
[StringLength(200)]
public string TitleTR { get; set; }
[Display(Name = "Description (TR)")]
[StringLength(500)]
public string DescTR { get; set; }
[Display(Name = "URL")]
[Required(ErrorMessage = "URL is required.")]
[StringLength(1000)]
public string url { get; set; }
[Display(Name = "Sort Order")]
public int sort_order { get; set; }
// Path of the already-uploaded logo (used when editing)
public string existingImage { get; set; }
// New logo file (required on create, optional on edit to replace it)
public HttpPostedFileBase logoFile { get; set; }
}
}