설정: 백원숙 세무사 연락처 정보 추가
연락처 정보: - 전화번호: 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");
|
||||
|
||||
@@ -11,4 +11,8 @@
|
||||
<ProjectReference Include="..\TaxBaik.Infrastructure\TaxBaik.Infrastructure.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="MudBlazor" Version="6.9.4" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -62,5 +62,8 @@
|
||||
|
||||
<h5 class="fw-bold mb-3">빠른 상담을 원하시나요?</h5>
|
||||
<p>카카오톡 채널을 통해 더 빠르게 상담받을 수 있습니다.</p>
|
||||
<button class="btn btn-warning" onclick="openKakao()">카카오톡 채널 문의</button>
|
||||
<div class="gap-2 d-flex flex-wrap">
|
||||
<a href="http://pf.kakao.com/_xoxchTX" target="_blank" class="btn btn-warning">카카오톡 채널 문의</a>
|
||||
<a href="tel:010-4122-8268" class="btn btn-outline-primary">전화 상담</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -11,16 +11,15 @@
|
||||
<div class="col-md-4">
|
||||
<h6 class="fw-bold">연락처</h6>
|
||||
<p class="small">
|
||||
📞 <a href="tel:010-0000-0000" class="text-decoration-none">010-0000-0000</a><br />
|
||||
📧 <a href="mailto:info@example.com" class="text-decoration-none">info@example.com</a>
|
||||
📞 <a href="tel:010-4122-8268" class="text-decoration-none">010-4122-8268</a><br />
|
||||
📧 <a href="mailto:taxbaik5668@gmail.com" class="text-decoration-none">taxbaik5668@gmail.com</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<h6 class="fw-bold">카카오톡</h6>
|
||||
<h6 class="fw-bold">채널</h6>
|
||||
<p class="small">
|
||||
<a href="javascript:void(0);" class="btn btn-sm btn-warning" onclick="openKakao()">
|
||||
카카오톡 채널
|
||||
</a>
|
||||
<a href="http://pf.kakao.com/_xoxchTX" target="_blank" class="btn btn-sm btn-warning me-2">카카오톡</a>
|
||||
<a href="https://www.instagram.com/taxtory5668/" target="_blank" class="btn btn-sm btn-outline-secondary">Instagram</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="ms-3 d-none d-md-block">
|
||||
<a href="tel:010-0000-0000" class="text-decoration-none text-dark fw-500">
|
||||
📞 상담신청
|
||||
<a href="tel:010-4122-8268" class="text-decoration-none text-dark fw-500">
|
||||
📞 010-4122-8268
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<!-- Mobile Fixed CTA -->
|
||||
<div class="mobile-cta-bar d-lg-none">
|
||||
<a href="javascript:void(0);" class="btn-kakao-mobile" onclick="openKakao()">
|
||||
<a href="http://pf.kakao.com/_xoxchTX" target="_blank" class="btn-kakao-mobile">
|
||||
💬 카카오 상담하기
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -8,5 +8,13 @@
|
||||
"ConnectionStrings": {
|
||||
"Default": "Host=localhost;Database=taxbaikdb;Username=taxbaik;Password=taxbaik123"
|
||||
},
|
||||
"SiteSettings": {
|
||||
"PhoneNumber": "010-4122-8268",
|
||||
"EmailAddress": "taxbaik5668@gmail.com",
|
||||
"KakaoChannelUrl": "http://pf.kakao.com/_xoxchTX",
|
||||
"InstagramUrl": "https://www.instagram.com/taxtory5668/",
|
||||
"CompanyName": "백원숙 세무회계",
|
||||
"CompanyDescription": "사업자 기장, 부동산 양도세·증여세, 종합소득세 전문 상담"
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user