mirror of
https://gitea.com/gitea/docs.git
synced 2026-06-28 15:14:22 +00:00
Close #46 Same as those in [blog](https://gitea.com/gitea/blog/pulls/272), but for docs and api Ejected DocPage (unsafe to eject) and ApiDoc (safe to eject) for layout changes  Screenshots  Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/47 Co-authored-by: HesterG <hestergong@gmail.com> Co-committed-by: HesterG <hestergong@gmail.com>
54 lines
1.4 KiB
JavaScript
54 lines
1.4 KiB
JavaScript
import footerCss from "./footer.module.css";
|
|
import ActionCard from "../ActionCard";
|
|
import FossIcon from "./foss.svg";
|
|
import SubscribeIcon from "./subscribeIcon.svg";
|
|
import Subscribe from "../Subscribe";
|
|
import React from "react";
|
|
import SvgImage from "../SvgImage";
|
|
|
|
export const ActionFooter = () => (
|
|
<div className={footerCss.cards}>
|
|
<ActionCard
|
|
icon={
|
|
<SvgImage
|
|
image={<FossIcon />}
|
|
title="An icon showing wave propagation"
|
|
/>
|
|
}
|
|
svgBackgroundColor="#ffffff"
|
|
title="Join our community"
|
|
description="Gitea is open source. Star our GitHub repo, and join our community on Discord!"
|
|
>
|
|
<a
|
|
className={footerCss.card__link}
|
|
href={'https://github.com/go-gitea/gitea'}
|
|
rel="noopener noreferrer"
|
|
target="_blank"
|
|
>
|
|
Go to GitHub >
|
|
</a>
|
|
<a className={footerCss.card__link} href={'https://discord.com/invite/gitea'}>
|
|
Join Discord >
|
|
</a>
|
|
</ActionCard>
|
|
|
|
<ActionCard
|
|
title="Subscribe to our newsletter"
|
|
description="Stay up to date with all things Gitea"
|
|
svgBackgroundColor="#1E1F27"
|
|
icon={
|
|
<SvgImage
|
|
image={<SubscribeIcon />}
|
|
title="An icon showing a paper plane"
|
|
/>
|
|
}
|
|
skin="primary"
|
|
>
|
|
<Subscribe
|
|
placeholder="Email address"
|
|
submitButtonText = "Subscribe"
|
|
/>
|
|
</ActionCard>
|
|
</div>
|
|
)
|