-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.tsx
85 lines (80 loc) · 3.57 KB
/
index.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
import Link from "@docusaurus/Link";
import SvgBackground from "@site/repos/telegram-git-notifier-docs/assets/public/images/telegram-git-notifier-background.svg";
import Heading from "@theme/Heading";
import Layout from "@theme/Layout";
import clsx from "clsx";
import "../assets/styles/styles.scss";
import Feature from "./feature";
import Head from "@docusaurus/core/lib/client/exports/Head";
import { JSX } from "react";
const HeaderData = {
title: "Documentation For Telegram Git Notifier",
Svg: SvgBackground,
description:
"With this package, you can create a Telegram bot to receive notifications from GitHub or GitLab events. You can use this package with Laravel or any PHP application.",
tags: ["telegram", "git", "notifier", "bot", "github", "gitlab"],
startButtonLink: "/telegram-git-notifier/introduction",
startButtonLabel: "Get Started",
};
function HomepageHeader() {
const {Svg, title, description, startButtonLink, startButtonLabel} = HeaderData;
return (
<>
<Head>
<title>Homepage | Telegram Git Notifier | CSlant Documentation</title>
<link rel="canonical" href="https://docs.cslant.com/telegram-git-notifier" data-rh="true" />
<meta name="description"
content="Telegram Git Notifier is a package that allows you to create a Telegram bot to receive notifications from GitHub or GitLab events. You can use this package with Laravel or any PHP application."
data-rh="true" />
<meta name="keywords"
content="laravel telegram git notifier,telegram git notifier,telegram bot,gitlab,github,laravel,php,package,documentation"
data-rh="true" />
<meta name="author" content="CSlant" data-rh="true" />
<meta name="robots" content="index, follow" data-rh="true" />
<meta property="og:site_name" content="Telegram Git Notifier Documentation" data-rh="true" />
<meta property="og:type" content="website" data-rh="true" />
<meta property="og:title" content="Telegram Git Notifier Documentation" data-rh="true" />
<meta property="og:description"
content="Telegram Git Notifier is a package that allows you to create a Telegram bot to receive notifications from GitHub or GitLab events. You can use this package with Laravel or any PHP application."
data-rh="true" />
<meta property="og:url" content="https://docs.cslant.com/telegram-git-notifier" data-rh="true" />
</Head>
<header className="main_header">
<div className="container">
<div className="row">
<div className="col col--5 left_header">
<Heading as="h1" className="hero__title main_title">
{title}
</Heading>
<p className="hero__subtitle">{description}</p>
<div className="buttons">
<Link className="button button--info button--lg" to={startButtonLink}>
{startButtonLabel}
</Link>
</div>
</div>
<div className={clsx("col col--7")}>
<Svg />
</div>
</div>
</div>
</header>
</>
);
}
export default function TelegramGitNotifierHome(): JSX.Element {
return (
<Layout title="Home Page" description="Telegram Git Notifier Documentation">
<HomepageHeader/>
<main>
<section className="home-page__features">
<div className="container">
<div className="row home-page__container">
<Feature/>
</div>
</div>
</section>
</main>
</Layout>
);
}