A local-first personal finance app
import { theme } from '@actual-app/components/theme';
import { View } from '@actual-app/components/view';
import { Link } from './common/Link';
export function DevelopmentTopBar() {
return (
<View
style={{
padding: '6px 20px',
display: 'flex',
flexDirection: 'row',
justifyContent: 'space-between',
color: theme.warningText,
backgroundColor: theme.warningBackground,
borderBottom: `1px solid ${theme.warningBorder}`,
zIndex: 1,
flexShrink: 0,
}}
>
<View>This is a demo build of Actual.</View>
<View>
<Link
variant="external"
linkColor="purple"
to={`https://github.com/actualbudget/actual/pull/${import.meta.env.REACT_APP_REVIEW_ID}`}
>
Open the PR: #{import.meta.env.REACT_APP_REVIEW_ID}
</Link>
</View>
</View>
);
}