diff --git a/src/backend/src/ThirdPartyDriversModule.js b/src/backend/src/ThirdPartyDriversModule.js deleted file mode 100644 index 847f63b1..00000000 --- a/src/backend/src/ThirdPartyDriversModule.js +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2024-present Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ -const { AdvancedBase } = require('@heyputer/putility'); - -class ThirdPartyDriversModule extends AdvancedBase { - // constructor () { -} diff --git a/src/backend/src/html_footer.js b/src/backend/src/html_footer.js deleted file mode 100644 index 9cec1aa7..00000000 --- a/src/backend/src/html_footer.js +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024-present Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ -const config = require('./config'); - -function html_footer (options) { - let html = ''; - if ( options.show_footer ?? false ) { - html += '
'; - html += '
'; - html += '
'; - html += ''; - html += ''; - html += ''; - html += ''; - html += '
'; - - html += '
'; - html += '
'; - - html += '
'; - html += '
'; - - html += '
'; - html += '
'; - - html += '
'; - html += '
Quick Links
'; - html += ''; - html += '
'; - html += '
'; - // social - html += '
'; - html += `

Puter Technologies Inc. © ${new Date().getFullYear()}

`; - html += ''; - html += ''; - html += ''; - html += '
'; - html += '
'; - html += ''; - } - - html += ``; - html += ''; - if ( options.jsfiles && options.jsfiles.length > 0 ) { - options.jsfiles.forEach(jsfile => { - html += ``; - }); - } - html += ''; - html += ''; - return html; -} -module.exports = html_footer; \ No newline at end of file diff --git a/src/backend/src/html_head.js b/src/backend/src/html_head.js deleted file mode 100644 index 447bb769..00000000 --- a/src/backend/src/html_head.js +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (C) 2024-present Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ -const config = require('./config'); -const { encode } = require('html-entities'); - -function html_head (options) { - let canonical_url = `${config.origin}/${options.page === 'index' ? '' : options.page}`; - let html = ''; - html += ''; - html += ``; - html += ''; - // meta tags - html += ''; - html += ''; - html += ``; - html += ''; - // title - html += `${encode(options.title ?? 'Puter')}`; - // favicons - html += ` - - - - - - - - - - - - - - - - `; - - // Roboto font - html += ''; - - // canonical link - html += ``; - - // preload images - if ( options.page === 'index' ) { - html += ''; - html += ''; - } - - // Facebook meta tags - html += ``; - html += ''; - html += ``; - html += ``; - html += ``; - - // Twitter meta tags - html += ''; - html += ``; - html += ``; - html += ``; - html += ``; - html += ``; - - // CSS - html += ''; - html += ''; - - html += ''; - html += ``; - if ( options.show_navbar ?? false ) { - html += '
'; - html += '
'; - html += '
'; - html += '
'; - html += ''; - html += ''; - html += ''; - html += '
'; - - html += ''; - - html += '
'; - - html += '
'; - } - - html += ''; - return html; -} -module.exports = html_head; \ No newline at end of file