설정: 백원숙 세무사 연락처 정보 추가
연락처 정보: - 전화번호: 010-4122-8268 - 이메일: taxbaik5668@gmail.com - 카카오톡 채널: http://pf.kakao.com/_xoxchTX - 인스타그램: https://www.instagram.com/taxtory5668/ 수정 사항: - appsettings.json: SiteSettings에 연락처 추가 - _Header.cshtml: 헤더의 전화번호 링크 반영 - _Layout.cshtml: 모바일 CTA 바 카카오톡 직접 링크 연결 - _Footer.cshtml: 전화, 이메일, 채널 링크 모두 반영 - Contact.cshtml: 전화 상담 옵션 추가 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,29 +1,38 @@
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
using TaxBaik.Admin.Data;
|
||||
using Microsoft.AspNetCore.Authentication.Cookies;
|
||||
using MudBlazor.Services;
|
||||
using TaxBaik.Application;
|
||||
using TaxBaik.Infrastructure;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
// Add services to the container.
|
||||
builder.Services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme)
|
||||
.AddCookie(opts => {
|
||||
opts.LoginPath = "/login";
|
||||
opts.ExpireTimeSpan = TimeSpan.FromHours(8);
|
||||
});
|
||||
builder.Services.AddAuthorizationCore();
|
||||
|
||||
builder.Services.AddRazorPages();
|
||||
builder.Services.AddServerSideBlazor();
|
||||
builder.Services.AddSingleton<WeatherForecastService>();
|
||||
builder.Services.AddMudServices();
|
||||
builder.Services.AddMemoryCache();
|
||||
builder.Services.AddInfrastructure();
|
||||
builder.Services.AddApplication();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
// Configure the HTTP request pipeline.
|
||||
if (!app.Environment.IsDevelopment())
|
||||
{
|
||||
app.UseExceptionHandler("/Error");
|
||||
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
|
||||
app.UseHsts();
|
||||
}
|
||||
|
||||
app.UsePathBase("/taxbaik/admin");
|
||||
app.UseHttpsRedirection();
|
||||
|
||||
app.UseStaticFiles();
|
||||
|
||||
app.UseRouting();
|
||||
app.UseAuthentication();
|
||||
app.UseAuthorization();
|
||||
|
||||
app.MapBlazorHub();
|
||||
app.MapFallbackToPage("/_Host");
|
||||
|
||||
Reference in New Issue
Block a user