2021-01-05 21:52:49 +00:00
|
|
|
import React from 'react';
|
2020-08-22 22:49:18 +00:00
|
|
|
import tw from 'twin.macro';
|
|
|
|
import AdminContentBlock from '@/components/admin/AdminContentBlock';
|
2021-01-05 21:52:49 +00:00
|
|
|
import NewApiKeyButton from '@/components/admin/api/NewApiKeyButton';
|
2020-10-04 20:25:58 +00:00
|
|
|
|
2020-08-22 22:49:18 +00:00
|
|
|
export default () => {
|
|
|
|
return (
|
2021-01-07 16:44:24 +00:00
|
|
|
<AdminContentBlock title={'API Keys'}>
|
2020-08-22 22:49:18 +00:00
|
|
|
<div css={tw`w-full flex flex-row items-center mb-8`}>
|
|
|
|
<div css={tw`flex flex-col`}>
|
|
|
|
<h2 css={tw`text-2xl text-neutral-50 font-header font-medium`}>API Keys</h2>
|
|
|
|
<p css={tw`text-base text-neutral-400`}>Control access credentials for managing this Panel via the API.</p>
|
|
|
|
</div>
|
|
|
|
|
2020-10-04 20:25:58 +00:00
|
|
|
<NewApiKeyButton />
|
2020-08-22 22:49:18 +00:00
|
|
|
</div>
|
|
|
|
</AdminContentBlock>
|
|
|
|
);
|
|
|
|
};
|