IKHSAN
EN Read in EnglishID

pixies

Publik
Branch
master
Commit terakhir
9b0697f26 Oktober 2026

GetStarted.jsx

Buka raw
import "./styles.sass";
import Button from "@/common/components/Button/index.js";
import {faArrowRight} from "@fortawesome/free-solid-svg-icons";
import {faGithub} from "@fortawesome/free-brands-svg-icons";
import {useNavigate} from "react-router-dom";

const GITHUB_LINK = "https://github.com/ikhsanddy/pixies";

export const GetStarted = () => {
    const navigate = useNavigate();
    
    return (
        <section className="cta-section">
            <h2>Ready to get started?</h2>
            <div className="cta-actions">
                <Button 
                    text="Install" 
                    icon={faArrowRight} 
                    color="primary"
                    onClick={() => navigate("/install")} 
                />
                <Button 
                    text="GitHub" 
                    icon={faGithub} 
                    color="primary"
                    variant="outline"
                    onClick={() => window.open(GITHUB_LINK, "_blank")} 
                />
            </div>
        </section>
    );
}
byte
1.052
baris
32
Jenis
jsx
Commit terakhir
26 Oktober 2026