<!DOCTYPE html>
<html lang="en">

<head>
    <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Twxtter Latest</title>
    <link rel="stylesheet" href={{ url_for('static', filename='style.css' ) }}>
    <link href="https://fonts.googleapis.com/css2?family=Paytone+One&display=swap" rel="stylesheet">
</head>

<body>
    <script src={{ url_for('static', filename='main.js' ) }}></script>

    <div class="previmgcont" onclick="document.querySelector('.previmgcont').style.display = 'none'; "
        style="display: none;">
        <img loading=lazy class="previmg" alt="Image Preview">
    </div>

    <div class="base">
        <div id="block">
            <p class="warn">Warning!!</p>
            <p>Twxtter only filters the content specified as NSFW.</p>
            <p>Following content might be NSFW.</p>
            <p>Prepare yourself mentally and pick one of the options</p>
            <p>Do you want to see the latest Twxtter requests?</p>
            <br>
            <div class="boptions">
                <div onclick="cookieTime()">Yes, don't ask again!</div>
                <div onclick="forNow()">Yes, for now.</div>
                <div onclick="window.location.replace('https://github.com/Twxtter/Twxtter-main')">No, please take me
                    out of here</div>
            </div>
        </div>
        <a href="https://github.com/Twxtter/Twxtter-main" class="top" rel="noreferrer" target="_blank">Twxtter
            Latest</a>
        <div class="bottom">
            <div class="info side">
                <div>Twxtter</div>
                <div class="Iinner">
                    Basic flask server that serves fixed twitter video embeds to desktop discord by using either the
                    Twitter API or Youtube-DL to grab tweet video information. This also automatically embeds the first
                    link in the text of non video tweets (API Only). This is NOT actively monitored by anyone working on Twxtter. 
                    All tweets are publicly accessible.
                </div>
                <br>
                <div>Twxtter Latest</div>
                <div class="Iinner">
                    Shows the most recent Twxtter API requests in a list like manner.
                </div>
                <br>
                <div class="Iinner">
                    Twxtter by <a href="https://github.com/lyricalpaws" target="_blank" rel="noopener noreferrer">Chloe</a><br><br>
                    Site Design by <a href="https://twitter.com/doruksega" target="_blank"rel="noopener noreferrer">Doruk</a><br><br>
                    TwitFix Originally made by <a href="https://hirob.in/" target="_blank"rel="noopener noreferrer">Robin✨Universe</a>
                </div>
            </div>
            <div class="tweetCont">
            </div>
            <div class="settings side">
                <div>Settings</div>
                <div>
                    <input type="checkbox" id="contwarn" name="contwarn">
                    <label class="opt" for="contwarn">Skip Content Warning</label>
                </div>
                <div>
                    <input type="checkbox" id="notsafe" name="notsafe">
                    <label class="opt" for="notsafe">Don't Hide NSFW Tweets</label>
                </div>
            </div>
        </div>
    </div>
</body>

</html>