You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Global-sales/src/components/RoosterEditor/titleBar/TitleBar.tsx

70 lines
2.7 KiB
TypeScript

import * as React from 'react';
const styles = require('./TitleBar.scss');
const github = require('./iconmonstr-github-1.svg');
export interface TitleBarProps {
className?: string;
}
export class TitleBar extends React.Component<TitleBarProps, {}> {
render() {
const { className: baseClassName } = this.props;
const className = styles.titleBar + ' ' + (baseClassName || '');
const titleText = 'RoosterJs Demo Site';
return (
<div className={className}>
<div className={styles.title}>
<span className={styles.titleText}>{titleText}</span>
</div>
<div className={styles.version}></div>
<div className={styles.links}>
<a href="./legacyDemo/index.html" className={styles.link}>
Legacy demo
</a>
{' | '}
<a
href="https://github.com/Microsoft/roosterjs/wiki"
target="_blank"
className={styles.link}>
Wiki
</a>
{' | '}
<a href="docs/index.html" target="_blank" className={styles.link}>
References
</a>
{' | '}
<a href="coverage/index.html" target="_blank" className={styles.link}>
Test
</a>
{' | '}
<a
href="https://github.com/microsoft/roosterjs/actions/workflows/build-and-deploy.yml"
target="_blank">
<img
className={styles.externalLink}
src="https://github.com/microsoft/roosterjs/actions/workflows/build-and-deploy.yml/badge.svg"
alt="Build Status"
/>
</a>{' '}
<a href="http://badge.fury.io/js/roosterjs" target="_blank">
<img
src="https://badge.fury.io/js/roosterjs.svg"
alt="NPM Version"
className={styles.externalLink}
/>
</a>{' '}
<a
href="https://github.com/microsoft/roosterjs"
target="_blank"
className={styles.link}
title="RoosterJs on Github">
<img className={styles.externalLink} src={github} />
</a>
</div>
</div>
);
}
}