Git Komut Rehberi & Terminal Asistanı
Sıfırdan Yeni Bir Depo Başlatın:
Mevcut Bir Git Deposu veya Klasörü Gönderin:
Hataları Geri Alma, İptal & Temizlik:
Son commit'i geri al (yapılan değişiklikleri korur):
git reset --soft HEAD~1
Yapılan yerel değişiklikleri iptal et (çalışma ağacını temizler):
git restore .
Takip edilmeyen gereksiz dosyaları sil:
git clean -fd
Değişiklikleri geçici sakla ve geri getir (stash):
git stash git stash pop
Dal (Branch) ve Sürüm Etiketleri:
Yeni dal aç ve geçiş yap:
git checkout -b yeni-ozellik git push -u origin yeni-ozellik
Sürüm etiketi (tag) oluştur ve gönder:
git tag -a v1.0.0 -m "Sürüm 1.0.0" git push origin --tags
feat: SnapCAD Studio'yu YakHub deposuna taşı
- DWG/DXF içe aktarma ve .skf yeniden açma düzeltmeleri - YakNet Bulut eşitlemede boş/eski kopya koruması ve yerel-only proje bildirimi - Panelden içe aktarma duyuruları ve erişilebilir Türkçe hata mesajları - AGPL-3.0 lisansı, README ve YakHub bağlantıları
This commit is contained in:
@@ -0,0 +1,286 @@
|
||||
"use client";
|
||||
|
||||
import { Box, ShieldCheck } from "lucide-react";
|
||||
|
||||
interface PlatformFooterProps {
|
||||
onNavigateSection?: (
|
||||
section:
|
||||
| "home"
|
||||
| "drawing"
|
||||
| "circuits"
|
||||
| "codeblocks"
|
||||
| "challenges"
|
||||
| "customization"
|
||||
| "about"
|
||||
| "contact"
|
||||
| "kvkk"
|
||||
| "terms"
|
||||
| "security"
|
||||
) => void;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export function PlatformFooter({ onNavigateSection, className = "" }: PlatformFooterProps) {
|
||||
const handleNav = (
|
||||
section:
|
||||
| "home"
|
||||
| "drawing"
|
||||
| "circuits"
|
||||
| "codeblocks"
|
||||
| "challenges"
|
||||
| "customization"
|
||||
| "about"
|
||||
| "contact"
|
||||
| "kvkk"
|
||||
| "terms"
|
||||
| "security",
|
||||
fallbackUrl?: string
|
||||
) => {
|
||||
if (onNavigateSection) {
|
||||
onNavigateSection(section);
|
||||
} else if (fallbackUrl) {
|
||||
window.location.href = fallbackUrl;
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<footer className={`snapcad-platform-footer ${className}`} role="contentinfo" aria-label="SnapCAD Studio Kurumsal Altbilgi">
|
||||
<div className="footer-inner-container">
|
||||
{/* 1. Sütun: Marka & Kurumsal Tanım */}
|
||||
<div className="footer-col brand-col">
|
||||
<div className="footer-brand">
|
||||
<div className="footer-brand-gem" aria-hidden="true">
|
||||
<Box size={20} className="text-white" />
|
||||
</div>
|
||||
<div>
|
||||
<span className="footer-brand-title">
|
||||
SnapCAD <span className="text-sky-400 font-bold">Studio</span>
|
||||
</span>
|
||||
<span className="footer-brand-subtitle">Resmi YakNet Hizmeti • YakHub Ekosistemi</span>
|
||||
</div>
|
||||
</div>
|
||||
<p className="footer-brand-desc">
|
||||
SnapCAD Studio, YakNet bulut altyapısı ve YakHub ekosistemi üzerinde çalışan kurumsal,
|
||||
tam erişilebilir ve tarayıcı tabanlı 3B parametrik CAD ve mühendislik platformudur.
|
||||
</p>
|
||||
<div className="footer-badges-cluster">
|
||||
<span className="footer-pill-badge yaknet-badge" title="Resmi YakNet ve YakHub Ekosistemi Hizmeti">
|
||||
<ShieldCheck size={13} aria-hidden="true" />
|
||||
<span>Resmi YakNet Hizmeti</span>
|
||||
</span>
|
||||
<span className="footer-pill-badge wcag-badge" title="Web İçeriği Erişilebilirlik Yönergeleri 2.1 AAA Seviyesi">
|
||||
<ShieldCheck size={13} aria-hidden="true" />
|
||||
<span>WCAG 2.1 AAA</span>
|
||||
</span>
|
||||
<span className="footer-pill-badge oss-badge">
|
||||
<span>AGPLv3 Açık Kaynak</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* 2. Sütun: Stüdyolar */}
|
||||
<div className="footer-col">
|
||||
<h3 className="footer-col-title">Stüdyolar</h3>
|
||||
<ul className="footer-links-list">
|
||||
<li>
|
||||
<button
|
||||
type="button"
|
||||
className="footer-link-btn"
|
||||
onClick={() => handleNav("home", "/")}
|
||||
>
|
||||
3D Katı CAD
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button
|
||||
type="button"
|
||||
className="footer-link-btn"
|
||||
onClick={() => handleNav("home", "/")}
|
||||
>
|
||||
İt / Çek
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button
|
||||
type="button"
|
||||
className="footer-link-btn"
|
||||
onClick={() => handleNav("drawing", "/?section=drawing")}
|
||||
>
|
||||
Teknik Resim
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button
|
||||
type="button"
|
||||
className="footer-link-btn"
|
||||
onClick={() => handleNav("circuits", "/?section=circuits")}
|
||||
>
|
||||
Elektronik Devreler
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button
|
||||
type="button"
|
||||
className="footer-link-btn"
|
||||
onClick={() => handleNav("codeblocks", "/?section=codeblocks")}
|
||||
>
|
||||
Kod Blokları
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button
|
||||
type="button"
|
||||
className="footer-link-btn"
|
||||
onClick={() => handleNav("challenges", "/?section=challenges")}
|
||||
>
|
||||
Görevler
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{/* 3. Sütun: Kurumsal & Yasal */}
|
||||
<div className="footer-col">
|
||||
<h3 className="footer-col-title">Kurumsal & Yasal</h3>
|
||||
<ul className="footer-links-list">
|
||||
<li>
|
||||
<button
|
||||
type="button"
|
||||
className="footer-link-btn"
|
||||
onClick={() => handleNav("about", "/hakkimizda")}
|
||||
>
|
||||
Hakkımızda
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button
|
||||
type="button"
|
||||
className="footer-link-btn"
|
||||
onClick={() => handleNav("contact", "/iletisim")}
|
||||
>
|
||||
İletişim
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button
|
||||
type="button"
|
||||
className="footer-link-btn"
|
||||
onClick={() => handleNav("customization", "/?section=customization")}
|
||||
>
|
||||
Erişilebilirlik
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button
|
||||
type="button"
|
||||
className="footer-link-btn highlight-link"
|
||||
onClick={() => handleNav("kvkk", "/kvkk")}
|
||||
>
|
||||
KVKK & Gizlilik
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button
|
||||
type="button"
|
||||
className="footer-link-btn highlight-link"
|
||||
onClick={() => handleNav("terms", "/kullanim-kosullari")}
|
||||
>
|
||||
Kullanım Koşulları
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button
|
||||
type="button"
|
||||
className="footer-link-btn highlight-link"
|
||||
onClick={() => handleNav("security", "/kurumsal-guvenlik")}
|
||||
>
|
||||
Kurumsal Güvenlik
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{/* 4. Sütun: YakNet Ekosistemi */}
|
||||
<div className="footer-col">
|
||||
<h3 className="footer-col-title">YakNet Ekosistemi</h3>
|
||||
<ul className="footer-links-list">
|
||||
<li>
|
||||
<a
|
||||
href="https://developer-console.yakhub.com.tr"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="footer-link-btn external"
|
||||
>
|
||||
Geliştirici Konsolu
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://cdnjs.yakhub.com.tr"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="footer-link-btn external"
|
||||
>
|
||||
CDNJS
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://yakhub.com.tr"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="footer-link-btn external"
|
||||
>
|
||||
YakHub Ana Portal
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://account.yakhub.com.tr"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="footer-link-btn external"
|
||||
>
|
||||
YakNet Hesap (SSO)
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Alt Telif Barı */}
|
||||
<div className="footer-bottom-bar">
|
||||
<div className="footer-bottom-inner">
|
||||
<p className="copyright-text">
|
||||
© 2026 SnapCAD Studio. Resmi bir YakNet hizmetidir. YakHub Ekosistemi çatısı altında geliştirilmektedir. Tüm hakları saklıdır.
|
||||
</p>
|
||||
<div className="footer-bottom-meta">
|
||||
<button
|
||||
type="button"
|
||||
className="footer-meta-link-btn"
|
||||
onClick={() => handleNav("kvkk", "/kvkk")}
|
||||
>
|
||||
KVKK & Gizlilik
|
||||
</button>
|
||||
<span aria-hidden="true">•</span>
|
||||
<button
|
||||
type="button"
|
||||
className="footer-meta-link-btn"
|
||||
onClick={() => handleNav("terms", "/kullanim-kosullari")}
|
||||
>
|
||||
Kullanım Koşulları
|
||||
</button>
|
||||
<span aria-hidden="true">•</span>
|
||||
<button
|
||||
type="button"
|
||||
className="footer-meta-link-btn"
|
||||
onClick={() => handleNav("security", "/kurumsal-guvenlik")}
|
||||
>
|
||||
Kurumsal Güvenlik
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user