Spaces:
Sleeping
Sleeping
File size: 872 Bytes
dbcdc7c | 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 | import Search from '../SearchContainer';
import QuickLinks from '../QuickLinks';
import Logo from '../Logo';
import { process } from '/src/utils/hooks/loader/utils';
const NewTab = ({ id, updateFn, options = {} }) => {
const navigating = {
id: id,
go: updateFn,
process: (input) => process(input, false, options.prType || 'scr', options.engine || undefined),
};
return (
<div className="h-[calc(100%-100px)] flex flex-col items-center justify-center p-6 gap-8">
<div className="w-full max-w-2xl">
<div className="flex justify-center w-full">
<Logo options="w-[15.8rem] h-30 mr-5 mb-2" />
</div>
<Search nav={false} logo={false} cls="-mt-3 absolute z-50" navigating={navigating} />
<QuickLinks cls="mt-16" nav={false} navigating={navigating} />
</div>
</div>
);
};
export default NewTab;
|