"use client"; import { useEffect, useRef } from "react"; import Button from "./button"; import { SliderHeader } from "./slider-header"; import type { SliderSlideProps } from "./slider-slide"; const ACTION_AREA_HEIGHT = 80; const CONTENT_MASK = `linear-gradient(to bottom, black 0, black calc(100% - ${ACTION_AREA_HEIGHT}px), transparent calc(100% - ${ACTION_AREA_HEIGHT}px), transparent 100%)`; type SliderSlideOneProps = SliderSlideProps & { onScrollToEnd?: () => void; }; export function SliderSlideOne({ index, onScrollToEnd }: SliderSlideOneProps) { const containerRef = useRef(null); useEffect(() => { const container = containerRef.current; if (!container) return; const checkScroll = () => { const tolerance = 10; const isBottom = container.scrollHeight - container.scrollTop <= container.clientHeight + tolerance; if (isBottom) { onScrollToEnd?.(); } }; // Check initially checkScroll(); container.addEventListener("scroll", checkScroll); window.addEventListener("resize", checkScroll); // Check after short delay for dynamically rendered container layout const timer = setTimeout(checkScroll, 150); return () => { container.removeEventListener("scroll", checkScroll); window.removeEventListener("resize", checkScroll); clearTimeout(timer); }; }, [onScrollToEnd]); return (

Welcome to Habib Marriage. Please review our terms of service before proceeding. By registering and using this platform, you agree to these terms

1. Acceptance of Rules and Platform Goal

Full Acceptance of Agreement: {" "} Registration and use of any part of the application means reading and fully accepting all rules. If you do not agree, you must refrain from further use.

Changes and Updates: {" "} The application reserves the right to edit the rules when necessary, and your continued use will constitute acceptance of the new changes.

Exclusive Goal of the Application: {" "} This platform is designed solely for matchmaking and permanent marriage. Use with the purpose of dating, temporary relationships, or entertainment is prohibited.

Age and Legal Capacity Requirement: {" "} Use of services is allowed only for individuals over 18 years of age who have the legal and religious capacity for marriage.

2. User Account, Security, and Authentication

Accuracy of Personal Information: {" "} The user is obliged to enter all identity, occupational, educational, and marital status information completely accurately and honestly.

Prohibition of Fake Accounts: {" "} Creating an account using the identity, name, mobile number, or photos of others, as well as creating multiple user accounts, is a serious violation.

Maintaining Account Security: {" "} The responsibility for maintaining the confidentiality of the password and login code lies with the user, and transferring or renting the account to another person is prohibited.

Introducing a Trusted Person: {" "} To enhance security, users can introduce a trusted family member. This information is used strictly for security and urgent cases.

3. Communications, Ethics, and User Behavior

Mutual Respect: {" "} Conversations must be ethical and purposeful. Sending offensive, sexual, obscene, threatening, or harassing messages is strictly prohibited.

Respecting Others' Privacy: {" "} Saving, sending, or publishing screenshots of conversations and photos of other users outside the application is a violation of privacy.

Absolute Prohibition of Financial Requests: {" "} Requesting money, loans, gift cards, cryptocurrency, or any financial benefit from other users under any pretext is prohibited.

Prohibition of Commercial Activity: {" "} Any advertising, marketing, selling goods, or raising capital within the application environment is considered a violation.

Respectful End of Conversation: {" "} If the other party does not wish to continue the communication, the user is obliged to respect their decision and refrain from pursuing or causing harassment.

4. Privacy, Data, and Intellectual Property

Personal Information Protection: {" "} The application is committed to protecting your sensitive information in accordance with the privacy policy and will not sell it to third parties without permission.

Public Profile Display: {" "} By completing the profile, the user consents to their public information being displayed to other qualified users for service delivery.

Account Deletion Rules: {" "} Upon requesting account deletion, your information is removed from public view, but necessary data for legal and security requirements will remain archived in the system.

Intellectual Property Rights: {" "} All rights to software codes, design, database, and brand name belong to the platform, and any copying or scraping is prohibited.

5. Financial Terms and Subscriptions

Nature of Paid Services: {" "} Payment is solely for using premium features and software infrastructure and does not provide any guarantee for marriage or finding a spouse.

Refund Policy:{" "} Paid fees are non-refundable, except in definitive cases of system technical errors.

Disclaimer for External Transactions: {" "} The application holds no responsibility for financial transactions between users or outside the application's official payment gateway.

6. Monitoring, Violations, and Legal Prosecution

Confidential Reporting: {" "} Users must report violations, suspicious behavior, or financial requests through the report violation option. The identity of the reporter remains confidential.

Authorities of Application Moderators: {" "} The platform reserves the right to block, restrict, or suspend the user account without prior notice if any violation or breach of rules is detected.

Cooperation with Law Enforcement: {" "} In the event of cybercrimes, fraud, or threats, the application will refer the necessary information to judicial and law enforcement authorities.

Dispute Resolution: {" "} Any legal dispute must first be pursued through application support. If no agreement is reached, the competent authority will be the courts of the city where the application is registered.

7. Disclaimer and In-Person Meetings

Role of the Application: {" "} This platform is only a facilitator for initial communication and does not replace family background research, counseling, and pre-marital investigations.

Responsibility for Accuracy of Claims: {" "} Accurate verification of users' claims regarding their financial, occupational, marital, and health status is the responsibility of the user and their family.

Responsibility for In-Person Meetings: {" "} Planning and deciding to meet in person is entirely the responsibility of the users, and the application assumes no liability for any incidents or potential damages.

Safety Recommendations in Meetings: {" "} It is strongly recommended that initial meetings be held in crowded public places, and that a family member or a trusted person be kept informed.

Force Majeure Conditions: {" "} In the event of occurrences beyond control, such as a nationwide internet outage, natural disasters, or sanctions, the application will have no liability for temporary service outages.

); } type SliderSlideOneActionsProps = { onAccept: () => void; disabled?: boolean; }; export function SliderSlideOneActions({ onAccept, disabled, }: SliderSlideOneActionsProps) { const handleBack = () => { if (typeof window !== "undefined") { try { window.sessionStorage.setItem("skip_intro_redirect", "true"); } catch (e) { console.warn("sessionStorage is not accessible:", e); } } }; return (
); }