как сделать чтобы если ссылка была с айди например #privacy то показывало приваси и так далее

@using WebApplication3.Models.Domain
@using Microsoft.AspNetCore.Mvc.TagHelpers
@using Microsoft.Data.SqlClient
@using Microsoft.EntityFrameworkCore
@model dynamic

@{
    Layout = null;
    var username = User.Identity.Name;

    object? id = null;
    byte[] avatar = null;

    var options = new DbContextOptions<AppDbContext>();

    using (var dbContext = new AppDbContext(options))
    {
        var user = dbContext.Users
            .FirstOrDefault(u => u.UserName == username);

        if (user != null)
        {
            id = user.Id;
            avatar = user.Avatar;
        }
    }
}
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Poppins:wght@500&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
    <link rel='stylesheet' href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css" asp-append-version="true"/>
    <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css" asp-append-version="true"/>
    <link rel="stylesheet" href="~/css/main-help.css" asp-append-version="true"/>
    <title>Help - lonecore</title>
</head>
<body>
<partial name="_Notification"/>
<partial name="_Notification"/>
<div class="screen-display">
<div class="div-menu">
    <a href="/Main/Main">
        <img src="/logo.png" alt="" class="img-logo"/>
    </a>

    <a class="link-forum" href="#"><i class="bi bi-chat-left-dots-fill"></i> Forum</a>
    <a class="link-profile" href="/Main/Profile"><i class="bi bi-person"></i> Profile</a>
    <a class="link-help" href="/Main/Help"><i class="bi bi-info-circle"></i> Help</a>
    <a class="link-purchase" href="/Main/Purchase"><i class="bi bi-bag-heart-fill"></i> Purchase</a>
    @if (User.IsInRole("Admin"))
    {
        <a class="link-admin" href="/Admin/Admin"><i class="bi bi-cloud-haze"></i> Admin Panel</a>
    }
    <a class="link-logout" href="/Auth/Logout"><i class="bi bi-box-arrow-left"></i> log out</a>

    <img src="data:Image/jpg;base64,@(Convert.ToBase64String(avatar))" alt="" class="img-profile"/>
    <h3>@username</h3>
    <h5>uid: @id</h5>
</div>

<div class="aptr-afr-main">
    <p class="agreements">Agreements</p>
    <div class="polosa-1"></div>
    <a href="#" id="privacy-link" class="privacy-aptr-afr activate">Prvacy Policy</a>
    <a href="#" id="terms-link" class="termsandrules-aptr-afr">Terms and Rules</a>
    <a href="#" id="refunds-link" class="refunds-aptr-afr">Refunds</a>

    <p class="aditional-info">Aditional Info</p>
    <div class="polosa-2"></div>
    <a href="#" id="faq-link" class="faq-aptr-afr">frequently asked questions</a>
    <a href="#" id="contact-link" class="contact-aptr-afr">contact us</a>
</div>

<div id="privacy-content" style="display:block;">
    <div class="privacy-policy-block">
        <p class="privacy-title">Privacy Policy</p>
        <div class="privacy-policy-scroll">
            <h1 class="wto-title">Welcome to lonecore!</h1>
                    <p class="wto-text">Thank you for taking a moment to explore our privacy policy. At lonecore, we're deeply committed to safeguarding your privacy and believe in transparency when it comes to handling your information.</p>
            
                    <h2 class="yiwu-title">Your Information with Us</h2>
                    <p class="yiwu-text">We collect and process various types of data, including:</p>
                    <ul>
                        <li>Your username</li>
                        <li>Your email address</li>
                        <li>Your IP address(es)</li>
                        <li>Details about your device's hardware (like serial and model numbers)</li>
                        <li>Information about your device's operating system</li>
                        <li>Data about running processes, drivers, and other executable code</li>
                        <li>Any game accounts linked to lonecore</li>
                        <li>Your public Discord ID.</li>
                    </ul>
                    <p class="yiwu-text">We use this information for hardware identification (HWID) resets and have plans to utilize it for exclusive subscriber Discord servers and more.</p>
            
                    <h2 class="hi-title">Hardware Identification (HWID)</h2>
                    <p class="hi-text">Our Hardware Identification system binds a user's license to their computer, discouraging account sharing. If any component in your device changes, you may need a HWID reset to continue using our software. Simply visit the Contact Us page and submit your request in such cases.</p>
            
                    <h2 class="otuoyi-title">Other Uses of Your Information</h2>
                    <p class="otuoyi-text">We collect data solely for security, identification, and user convenience. We pledge never to share or distribute user data with individuals or third parties who adhere to our website's agreements.</p>
                    <p class="otuoyi-text">In exceptional circumstances, such as fraudulent card disputes (e.g., stolen cards), we may provide a user's information to trusted authorities to comply with card provider and Stripe (payment gateway) investigations. You can find more details in our refund policy.</p>
            
                    <h2 class="syd-title">Securing Your Data</h2>
                    <p class="syd-text">Our top priority is ensuring the security of the information you entrust to us. We have implemented robust measures and procedures to prevent unauthorized access or disclosure of the data we collect.</p>
            
                    <h2 class="yr-title">Your Rights</h2>
                    <p class="yr-text">As a user of our website, you have the right to request access to all the data we hold about you, and you can also request the deletion of your data from our servers. To exercise these rights, please visit our Contact Us page and submit your inquiry or request.</p>
        </div>
    </div>
</div>
<div id="terms-content" style="display:none;">
    <div class="terms-block">
        <p class="terms-title">Terms and Rules</p>
        
        <div class="terms-scroll">
            <h1>Agreements and Your Access</h1>
                <p>
                    You are about to dive into a world of agreements encompassing our terms of service, privacy policy, refund policy, and any other pacts featured on this website (collectively referred to as the "agreements"). By venturing onto our website or engaging with our software, you willingly bind yourself to these Agreements. Should you find these Terms disagreeable, your path to our website is unequivocally closed.
                </p>
            
                <h1>Your Access and lonecore</h1>
                <p>
                    Within these digital realms, a legally binding accord unfolds between you, whether as an individual or representing an entity ("you"), and lonecore ("we," "us," or "our"). This accord pertains to your exploration and utilization of our online domain, <a href="https://lonecore.pw/" style="color: #5C54C5">lonecore(clickable)</a>, and any products or services that grace our digital canvas (collectively denoted as the "software").
                </p>
            
                <h1>Dynamic Agreement Evolution</h1>
                <p>
                    The very nature of our digital domain is dynamic, and thus, we reserve the liberty to amend the agreements showcased herein at our discretion and without forewarning.
                </p>
            
                <h1>License for Users</h1>
            <p>
                Lonecore extends a user license to its patrons, founded on a subscription model. As long as your subscription dances to life, you are bestowed the privilege of downloading and deploying the loader for accessing our software. This license signifies permission, not a transference of ownership. Under its umbrella, you must refrain from:
            </p>
            
                <ul>
                    <li>Tinkering or duplicating the software.</li>
                    <li>Employing the software for any commercial endeavor, excluding the promotion of lonecore.</li>
                    <li>Venturing into the realms of decompilation, disassembly, reverse engineering, cracking, or memory dumps concerning the loader or software's object code.</li>
                    <li>Entering the labyrinth of debugging, analysis, or monitoring of the loader or software.</li>
                    <li>Venturing to peddle or convey the software we bestow without securing prior authorization. Violation of these stipulations may result in a permanent blacklisting (or "ban") from our software. Banned individuals are FORBIDDEN from creating fresh accounts on this website or attempting to procure or access the software. A ban does not unlock the doors to refunds. In cases of perceived unjust bans, you may initiate an appeal by contacting us through our designated channels.</li>
                </ul>
            
                <h1>Use and Accountability</h1>
                <p>
                    Lonecore's mission is resolute: it exists for deployment on unsecured servers, spanning offline matches and designated community servers. We accept no liability for the actions of our users when they harness this software or the consequences that may transpire from its utilization. It is imperative that users tread responsibly, staying firmly within the legal bounds of their respective countries.
                </p>
            
                <h1>Jurisdiction and Claims</h1>
                <p>
                    In the realm of claims and jurisdiction, this digital domain defers to the laws of Tokelau, disregarding any conflicts that may arise under different legal frameworks.
                </p>
            
                <h1>Guardian of Your Account</h1>
                <p>
                    If you are the custodian of an account within this digital realm, the onus falls squarely on your shoulders to safeguard the sanctity of your confidential user particulars (namely, your username and password). You bear the responsibility for all events unfolding under your account's aegis, including the management of your account's password.
                </p>
        </div>
    </div>
</div>
<div id="refunds-content" style="display:none;">
    <div class="refunds-block">
        <p class="refunds-title">Refunds</p>
        
        <div class="block-text">
            <h1>Our Refund Policy</h1>
            <p>
                When it comes to purchases made through our company, please be aware that they are generally non-refundable.
            </p>
            <p>
                However, we acknowledge that there might be exceptional cases where you encounter issues due to our software's functionality on your device. In such rare situations, we are open to considering a one-time refund.
            </p>
            <p>
                To initiate this process, kindly proceed to our "Contact Us" page and submit your inquiry or refund request. It is crucial to obtain prior authorization from our administration before any refunds can be processed.
            </p>
            <p>
                Please bear in mind that unauthorized disputes are not tolerated and will result in permanent blacklisting from our services.
            </p>
            <h1>Our Stance Against Fraud</h1>
            <p>
                We have a strict stance against fraudulent activities. Should a dispute on Stripe be labeled as "fraudulent" (e.g., involving a stolen card), we treat it with the utmost seriousness. In such instances, we reserve the full right to share identifying information (such as your email, IP address, etc.) with the appropriate authorities and collaborate closely with the card provider to conduct a comprehensive investigation into the matter.
            </p>
            <p>
                Accounts linked to any ongoing payment disputes may be temporarily disabled for the duration of the case and, if deemed necessary, permanently terminated from our services. For a more detailed understanding of our policies regarding bans and account termination, please consult our terms of service.
            </p>
            <h1>Cancellation Policy</h1>
            <p>
                We want to clarify that subscriptions acquired through our website do not renew automatically. Therefore, there's no need for concern regarding recurring payments. You can enjoy peace of mind knowing that once your subscription period ends, it won't automatically extend unless you choose to make another purchase.
            </p>
        </div>
    </div>
</div>
<div id="faq-content" style="display:none;">
    <div class="help-block">
        <h1 class="help-title">FAQ</h1>

        <div class="help-answers">
            <div class="help-scroll">
                <h4 class="question">Q: When did lonecore come out</h4>
                <h4 class="answer">A: Release date is</h4>
                <h4 class="question">Q: Do you allow account sharing / transferring?</h4>
                <h4 class="answer">A: No, we do not allow account sharing or transfering</h4>
                <h4 class="question">Q: Can i get unbanned?</h4>
                <h4 class="answer">A: Yes, you can, if here is a good reason, head over and <a href="#" id="contact-link" class="clickable-contact-us-link"> contact us</a> </h4>
                <h4 class="question">Q: Is lonecore detected by anti-cheat?</h4>
                <h4 class="answer">A: Every cheat is undetected by anti-cheat, but you can easily get banned by overwatch</h4>
                <h4 class="question">Q: Is there lua system?</h4>
                <h4 class="answer">A: Currently, no. But if its going to be needed, we will make it</h4>
                <h4 class="question">Q: Will the invite system be removed?</h4>
                <h4 class="answer">A: Yes, after lonecore official release</h4>
                <h4 class="question">Q: Does HyoHao love men?</h4>
                <h4 class="answer">A: HELL YEAH BOI</h4>
            </div>
        </div>
    </div>

    <div class="help-two-block">
        <h1 class="help-two-title">What is beta and why am i here?</h1>
        <h3 class="help-answ">
            Beta testing is an opportunity for real users to use a software in a production environment to uncover any bugs or issues before a general release. You have been chosen by developers to access this beta test, and we are glad to see you here.
        </h3>
    </div>
</div>
<div id="contact-content" style="display:none;">
    <div class="contact-block">
        <p class="contact-title">Email</p>
        
        <div class="contact-text">
            <h1>Contact Information</h1>
            <p>
                While we do offer email as a means of contact, please be aware that response times via email may be considerably longer compared to reaching out to us through direct contacts.
            </p>
            <p>
                For any technical support needs, we recommend contacting us at <a href="mailto:<PRESIDIO_ANONYMIZED_EMAIL_ADDRESS>" style="color: #5C54C5"><PRESIDIO_ANONYMIZED_EMAIL_ADDRESS></a>.
            </p>
            <p>
                For inquiries of utmost importance related to business matters exclusively, you may contact the owner directly at <a href="mailto:<PRESIDIO_ANONYMIZED_EMAIL_ADDRESS>" style="color: #5C54C5"><PRESIDIO_ANONYMIZED_EMAIL_ADDRESS></a>.
            </p>
        </div>
    </div>
</div>
</div>
<script src="~/js/script.js" asp-append-version="true"></script>
<script type="text/javascript">
    
    const privacyLink = document.getElementById("privacy-link");
    const termsLink = document.getElementById("terms-link");
    const refundsLink = document.getElementById("refunds-link");
    const faqLink = document.getElementById("faq-link");
    const contactLink = document.getElementById("contact-link");
    
    const privacyContent = document.getElementById("privacy-content");
    const termsContent = document.getElementById("terms-content");
    const refundsContent = document.getElementById("refunds-content");
    const faqContent = document.getElementById("faq-content");
    const contactContent = document.getElementById("contact-content");
    
    function hideAllContent() {
      privacyContent.style.display = "none";
      termsContent.style.display = "none";
      refundsContent.style.display = "none";
      faqContent.style.display = "none";
      contactContent.style.display = "none";
    }
    
    privacyLink.addEventListener("click", function() {
      hideAllContent();
      privacyContent.style.display = "block";
      
      privacyLink.classList.add("activate");
      termsLink.classList.remove("activate");
      refundsLink.classList.remove("activate");
      faqLink.classList.remove("activate");
      contactLink.classList.remove("activate");
    });
    
    termsLink.addEventListener("click", function() {
      hideAllContent();
      termsContent.style.display = "block";
      
      termsLink.classList.add("activate");
      privacyLink.classList.remove("activate");
      refundsLink.classList.remove("activate");
      faqLink.classList.remove("activate");
      contactLink.classList.remove("activate");
    });
    
    refundsLink.addEventListener("click", function() {
      hideAllContent();
      refundsContent.style.display = "block";
      
      refundsLink.classList.add("activate");
      privacyLink.classList.remove("activate");
      termsLink.classList.remove("activate");
      faqLink.classList.remove("activate");
      contactLink.classList.remove("activate");
    });
    
    faqLink.addEventListener("click", function() {
      hideAllContent();
      faqContent.style.display = "block";
      
      faqLink.classList.add("activate");
      privacyLink.classList.remove("activate");
      termsLink.classList.remove("activate");
      refundsLink.classList.remove("activate");
      contactLink.classList.remove("activate");
    });
    
    contactLink.addEventListener("click", function() {
      hideAllContent();
      contactContent.style.display = "block";
      
      contactLink.classList.add("activate");
      privacyLink.classList.remove("activate");
      termsLink.classList.remove("activate");
      refundsLink.classList.remove("activate");
      faqLink.classList.remove("activate");
    });

    </script>
<script src="~/js/colors.js" asp-append-version="true"></script>
</body>

@await Html.PartialAsync("_FooterPartialView")