Files
LayoutLib.Layout/Components/Footer.razor
T

79 lines
6.7 KiB
Plaintext

@using Common
@using Microsoft.Extensions.Localization
@inject IStringLocalizer<SharedRes> Loc
<footer class="bg-slate-900 border-t-2 border-orange-500/30 mt-20">
<div class="max-w-7xl mx-auto px-6 py-16">
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12 mb-12">
<!-- Brand Column -->
<div>
<h3 class="text-2xl font-black text-primary mb-4 tracking-tight">@Loc["MassTech"]</h3>
<p class="text-white/90 text-sm leading-relaxed mb-4">
@Loc["Brand_Description"]
</p>
<div class="flex gap-3">
<a href="#" class="w-10 h-10 rounded-xl bg-orange-500/20 hover:bg-orange-500/40 border border-orange-500/30 flex items-center justify-center text-primary hover:text-orange-300 transition-all" aria-label="Facebook">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24">
<path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/>
</svg>
</a>
<a href="#" class="w-10 h-10 rounded-xl bg-orange-500/20 hover:bg-orange-500/40 border border-orange-500/30 flex items-center justify-center text-primary hover:text-orange-300 transition-all" aria-label="Twitter">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24">
<path d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"/>
</svg>
</a>
<a href="#" class="w-10 h-10 rounded-xl bg-orange-500/20 hover:bg-orange-500/40 border border-orange-500/30 flex items-center justify-center text-primary hover:text-orange-300 transition-all" aria-label="Instagram">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24">
<path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"/>
</svg>
</a>
</div>
</div>
<!-- Shop Column -->
<div>
<h4 class="text-sm font-bold uppercase tracking-widest text-primary mb-4">@Loc["Shop"]</h4>
<ul class="space-y-3">
<li><a href="/shop" class="text-white hover:text-primary transition-colors text-sm font-medium">@Loc["All_Products"]</a></li>
<li><a href="/shop?IsBundle=true" class="text-white hover:text-primary transition-colors text-sm font-medium">@Loc["Bundles"]</a></li>
<li><a href="/shop?IsBundle=false" class="text-white hover:text-primary transition-colors text-sm font-medium">@Loc["Products"]</a></li>
</ul>
</div>
<!-- Company Column -->
<div>
<h4 class="text-sm font-bold uppercase tracking-widest text-primary mb-4">@Loc["Company"]</h4>
<ul class="space-y-3">
<li><a href="/about" class="text-white hover:text-primary transition-colors text-sm font-medium">@Loc["About_Us"]</a></li>
<li><a href="/contact" class="text-white hover:text-primary transition-colors text-sm font-medium">@Loc["Contact"]</a></li>
<li><a href="#" class="text-white hover:text-primary transition-colors text-sm font-medium">@Loc["Careers"]</a></li>
<li><a href="#" class="text-white hover:text-primary transition-colors text-sm font-medium">@Loc["Press"]</a></li>
</ul>
</div>
<!-- Support Column -->
<div>
<h4 class="text-sm font-bold uppercase tracking-widest text-primary mb-4">@Loc["Support"]</h4>
<ul class="space-y-3">
<li><a href="/contact" class="text-white hover:text-primary transition-colors text-sm font-medium">@Loc["Help_Center"]</a></li>
<li><a href="/contact" class="text-white hover:text-primary transition-colors text-sm font-medium">@Loc["Shipping_Info"]</a></li>
<li><a href="/contact" class="text-white hover:text-primary transition-colors text-sm font-medium">@Loc["Returns"]</a></li>
<li><a href="/contact" class="text-white hover:text-primary transition-colors text-sm font-medium">@Loc["Contact_Us"]</a></li>
</ul>
</div>
</div>
<!-- Bottom Bar -->
<div class="pt-8 border-t border-orange-500/20 flex flex-col md:flex-row items-center justify-between gap-4">
<p class="text-white text-sm font-medium">
© @DateTime.UtcNow.Year @Loc["MassTech"]. @Loc["All_Rights_Reserved"].
</p>
<div class="flex gap-6">
<a href="#" class="text-white hover:text-primary transition-colors text-sm font-medium">@Loc["Privacy_Policy"]</a>
<a href="#" class="text-white hover:text-primary transition-colors text-sm font-medium">@Loc["Terms_of_Service"]</a>
<a href="#" class="text-white hover:text-primary transition-colors text-sm font-medium">@Loc["Cookies"]</a>
</div>
</div>
</div>
</footer>