diff options
| author | ops <ops@localhost> | 2026-10-18 13:00:05 +0000 |
|---|---|---|
| committer | ops <ops@localhost> | 2026-10-18 13:00:05 +0000 |
| commit | e373f154dbeacc5a0e83b4ec73c3aa316239c029 (patch) | |
| tree | d4d5fb2acf3ae1508aab8bb56a63f750f5ae2824 /www | |
| parent | 902cfd395fb03d6147813560ac5fcd7146702a1d (diff) | |
Remove "Message Me" functionality
Remove the custom message me form to reduce maintenance burden
May potentially add it again (improved).
Diffstat (limited to 'www')
| -rw-r--r-- | www/form.css | 190 | ||||
| -rw-r--r-- | www/index.html | 7 | ||||
| -rw-r--r-- | www/message.html | 91 |
3 files changed, 1 insertions, 287 deletions
diff --git a/www/form.css b/www/form.css deleted file mode 100644 index e2e42ae..0000000 --- a/www/form.css +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Copyright (C) 2026 Doan Luu Duc Tai <doan@luuduct.ai> - * - * This program 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 <https://www.gnu.org/licenses/>. - */ - -.ascii-form-container { - width: 80ch; - max-width: 100%; - margin: 16px 0; - display: flex; - flex-direction: column; - gap: 16px; - box-sizing: border-box; -} - -.ascii-box { - display: flex; - flex-direction: column; - width: 100%; -} - -.ascii-bar { - font: inherit; - line-height: 1.2; - white-space: pre; - user-select: none; - color: inherit; -} - -.ascii-body { - display: flex; - align-items: stretch; - min-height: 1.5em; - background-repeat: repeat-y; - background-position: left top, right top; - background-image: - url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1ch' height='1.5em'><text x='0' y='1.15em' font-family='monospace' font-size='16px' fill='%23000000'>|</text></svg>"), - url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1ch' height='1.5em'><text x='0' y='1.15em' font-family='monospace' font-size='16px' fill='%23000000'>|</text></svg>"); -} - -@media (prefers-color-scheme: dark) { - .ascii-body { - background-image: - url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1ch' height='1.5em'><text x='0' y='1.15em' font-family='monospace' font-size='16px' fill='%23ffffff'>|</text></svg>"), - url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1ch' height='1.5em'><text x='0' y='1.15em' font-family='monospace' font-size='16px' fill='%23ffffff'>|</text></svg>"); - } -} - -.ascii-content-padding { - display: flex; - align-items: center; - width: 100%; - padding: 0 2ch; - box-sizing: border-box; -} - -.ascii-prompt { - color: #090; - font-weight: bold; - user-select: none; - margin-right: 1ch; -} - -.ascii-input, -.ascii-textarea { - appearance: none; - -webkit-appearance: none; - -moz-appearance: none; - background: transparent; - border: none; - outline: none; - font: inherit; - color: inherit; - padding: 0; - margin: 0; - width: 100%; - box-sizing: border-box; - border-radius: 0; - line-height: 1.5; -} - -.ascii-textarea { - display: block; - resize: none; - overflow-y: hidden; - min-height: 6em; - field-sizing: content; -} - -.ascii-input::placeholder, -.ascii-textarea::placeholder { - color: #666; - opacity: 0.7; -} - -@media (prefers-color-scheme: dark) { - .ascii-prompt { - color: #0f0; - } - .ascii-input::placeholder, - .ascii-textarea::placeholder { - color: #555; - } -} - -.ascii-actions { - display: flex; - gap: 2ch; - margin-top: 8px; -} - -.ascii-btn { - appearance: none; - -webkit-appearance: none; - -moz-appearance: none; - background: transparent; - border: none; - outline: none; - font: inherit; - padding: 0; - margin: 0; - cursor: pointer; - white-space: pre; - font-weight: bold; -} - -.ascii-btn-submit { - color: #090; -} - -.ascii-btn-reset { - color: #a00; -} - -.ascii-btn-submit:hover, -.ascii-btn-submit:focus { - background: #090; - color: #fff; -} - -.ascii-btn-reset:hover, -.ascii-btn-reset:focus { - background: #a00; - color: #fff; -} - -@media (prefers-color-scheme: dark) { - .ascii-btn-submit { - color: #0f0; - } - .ascii-btn-submit:hover, - .ascii-btn-submit:focus { - background: #0f0; - color: #000; - } - .ascii-btn-reset { - color: #f33; - } - .ascii-btn-reset:hover, - .ascii-btn-reset:focus { - background: #f33; - color: #000; - } -} - -.ascii-status { - font: inherit; - color: #06c; - white-space: pre-wrap; - padding: 4px 0; - user-select: none; -} - -@media (prefers-color-scheme: dark) { - .ascii-status { - color: #6cf; - } -} diff --git a/www/index.html b/www/index.html index d7eac19..586f782 100644 --- a/www/index.html +++ b/www/index.html @@ -42,7 +42,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. |____/ \___/_/ \_\_| \_| LUU DUC TAI </a> -<a href="/">Home</a> <a href="#projects">Projects</a> <a href="#services">Services</a> <a href="#contact">Contact</a> <a href="message.html">Message Me</a> +<a href="/">Home</a> <a href="#projects">Projects</a> <a href="#services">Services</a> <a href="#contact">Contact</a> +------------------------------------------------------------------------------+ @@ -118,11 +118,6 @@ ________________________________________________________________________________ -Message: - - <a href="message.html">[ Send Encrypted Message ]</a> - - Email: <a href="mailto:doan@luuduct.ai">doan@luuduct.ai</a> diff --git a/www/message.html b/www/message.html deleted file mode 100644 index cbbb928..0000000 --- a/www/message.html +++ /dev/null @@ -1,91 +0,0 @@ -<!doctype html> -<!-- -Copyright (C) 2026 Doan Luu Duc Tai <doan@luuduct.ai> - -This program 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 <https://www.gnu.org/licenses/>. ---> -<html lang="en"> - <head> - <meta charset="utf-8"> - <meta name="viewport" content="width=device-width,initial-scale=1"> - - <title>Message Me</title> - - <link rel="stylesheet" href="styles.css"> - <link rel="stylesheet" href="form.css"> - </head> - - <body> - - <div id="page"> - - <div class="badge">[ JS-free ]</div> - - <div id="content"> - - <pre> -<a href="/" class="logo"> - ____ ___ _ _ _ -| _ \ / _ \ / \ | \ | | -| | | | | | |/ _ \ | \| | -| |_| | |_| / ___ \| |\ | -|____/ \___/_/ \_\_| \_| LUU DUC TAI -</a> - </pre> - - <form id="message-form" action="/send-message" method="POST" class="ascii-form-container"> - - <div class="ascii-box"> - <div class="ascii-bar">+--[ Reply Contact (Optional) ]------------------------------------------------+</div> - <div class="ascii-body"> - <div class="ascii-content-padding"> - <span class="ascii-prompt">></span> - <input type="text" id="sender-input" name="sender" class="ascii-input" maxlength="120" autocomplete="off" spellcheck="false"> - </div> - </div> - <div class="ascii-bar">+------------------------------------------------------------------------------+</div> - </div> - - <div class="ascii-box"> - <div class="ascii-bar">+--[ Message Body ]------------------------------------------------------------+</div> - <div class="ascii-body"> - <div class="ascii-content-padding"> - <textarea id="message-input" name="message" class="ascii-textarea" rows="4" required></textarea> - </div> - </div> - <div class="ascii-bar">+------------------------------------------------------------------------------+</div> - </div> - - <div class="ascii-actions"> - <button type="submit" id="submit-btn" class="ascii-btn ascii-btn-submit">[ < SEND > ]</button> - <button type="reset" id="reset-btn" class="ascii-btn ascii-btn-reset">[ < CLEAR > ]</button> - </div> - - </form> - - <pre> -________________________________________________________________________________ - -<a href="/">Return to Home Page</a> - </pre> - - <div class="source-footer"> - <a href="https://git.doan.luuduct.ai/stack/tree/www/message.html">[ Source Code ]</a> - </div> - - </div> - </div> - - </body> -</html> |
