mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 16:27:39 +00:00
chore(frontend): changed source code to src folder from root
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
import Image from 'next/image';
|
||||
|
||||
import { getTranslatedServerSideProps } from '~/utilities/withTranslateProps';
|
||||
|
||||
export default function NoProjects() {
|
||||
return (
|
||||
<div className='h-full flex flex-col items-center justify-center text-gray-300 text-lg text-center w-11/12 mr-auto'>
|
||||
<div className='mb-4 mr-16'>
|
||||
<Image
|
||||
src='/images/dragon-cant-find.png'
|
||||
height={270}
|
||||
width={436}
|
||||
alt='google logo'
|
||||
></Image>
|
||||
</div>
|
||||
<div className='p-4 rounded-md bg-bunker-500 mb-8 text-bunker-300 shadow-xl'>
|
||||
<div className='max-w-md'>
|
||||
You are not part of any projects in this organization yet. When you
|
||||
do, they will appear here.
|
||||
</div>
|
||||
<div className='max-w-md mt-4'>
|
||||
Create a new project, or ask other organization members to give you
|
||||
neccessary permissions.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
NoProjects.requireAuth = true;
|
||||
|
||||
export const getServerSideProps = getTranslatedServerSideProps(['noprojects']);
|
||||
Reference in New Issue
Block a user