AcaMate_Web/Program/Views/Project/Register.razor.cs
Seonkyu.kim c178a17c04 [] 회원가입 기능
1. sns 로그인 작업 후 회원 없는 경우 회원가입 로직으로 전환
2. 디자인 반영
3. 사용자에게 받을 정보 input box로 관리
2025-05-30 17:53:24 +09:00

27 lines
797 B
C#

using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
namespace Front.Program.Views.Project;
public partial class Register : ComponentBase
{
[Inject] IJSRuntime JS { get; set; }
private string name;
private DateTime birth = DateTime.Now;
private string email;
private string phone;
private string address;
// private async Task ClickedCalendar()
// {
// // var input = e.Value?.ToString() ?? string.Empty;
// // if (input.All(c => c >= '0' && c <= '9') && input.Length <= 8)
// // {
// // birth = new string(input.Where(char.IsDigit).Take(8).ToArray());
// // }
// await JS.InvokeVoidAsync("openDatePickerOnFocus", dateInput);
//
// Console.WriteLine($"Birth: {birth}");
// }
}