send_files_page = (args) => {
  const isUserAdmin = args.req?.user.role_id === 1;
  return send_settings_page({
    main_section: "Files",
    main_section_href: "/files",
    no_nav_pills: !isUserAdmin,
    sub_sections: isUserAdmin
      ? [
          { text: "Files", href: "/files" },
          ...(isUserAdmin
            ? [
                { text: "Storage", href: "/files/storage" },
                { text: "Settings", href: "/files/settings" },
              ]
            : []),
        ]
      : null,
    ...args,
  });
}
Send Files Page
@param {object} args
@returns {void}