All files / src/components/settings/sections AboutSection.tsx

0% Statements 0/29
0% Branches 0/1
0% Functions 0/1
0% Lines 0/29

Press n or j to go to the next uncovered block, b, p or k for the previous block.

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                                                                                                   
import { VSCodeLink } from "@vscode/webview-ui-toolkit/react"
import Section from "../Section"
 
interface AboutSectionProps {
	version: string
	renderSectionHeader: (tabId: string) => JSX.Element | null
}
const AboutSection = ({ version, renderSectionHeader }: AboutSectionProps) => {
	return (
		<div>
			{renderSectionHeader("about")}
			<Section>
				<div style={{ padding: "0 16px" }}>
					<h2>AI-Hydro v{version}</h2>
					<p>
						An AI assistant for hydrological and computational workflows that can use your CLI and editor. AI-Hydro
						can handle complex tasks step-by-step with tools that create and edit files, explore projects, use the
						browser, and execute terminal commands (after you grant permission).
					</p>
 
					<h3>Community & Support</h3>
					<p>
						<VSCodeLink href="https://github.com/AI-Hydro/AI-Hydro/discussions">Community</VSCodeLink>
						{" • "}
						<VSCodeLink href="https://github.com/AI-Hydro/AI-Hydro/issues">Support</VSCodeLink>
					</p>
 
					<h3>Development</h3>
					<p>
						<VSCodeLink href="https://github.com/AI-Hydro/AI-Hydro">GitHub</VSCodeLink>
						{" • "}
						<VSCodeLink href="https://github.com/AI-Hydro/AI-Hydro/issues"> Issues</VSCodeLink>
						{" • "}
						<VSCodeLink href="https://github.com/AI-Hydro/AI-Hydro/discussions"> Feature Requests</VSCodeLink>
					</p>
 
					<h3>Resources</h3>
					<p>
						<VSCodeLink href="https://github.com/AI-Hydro/AI-Hydro#readme">Documentation</VSCodeLink>
						{" • "}
						<VSCodeLink href="https://github.com/AI-Hydro/AI-Hydro">AI-Hydro Project</VSCodeLink>
					</p>
				</div>
			</Section>
		</div>
	)
}
 
export default AboutSection