<!DOCTYPE html>
<html lang="zh-TW">

<head>
    {% block head %}
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI Spokesgirl</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp"
      crossorigin="anonymous">
    <link rel="stylesheet"
      href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt"
      crossorigin="anonymous">
      <link rel="preconnect" href="https://fonts.googleapis.com">
      <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
      <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap" rel="stylesheet"> 
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11.0.18/dist/sweetalert2.min.css">
    <link rel="stylesheet" href="static/owl.carousel.min.css">
    <link rel="stylesheet" href="static/owl.theme.default.min.css">
    <link rel="stylesheet" href="static/style.css">
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <!-- <title>Login</title> -->
    <title>{% block title %}{% endblock %} - My Webpage</title>
    {% endblock %}
</head>

<body>
    <!-- ================================================================= -->
    <!-- navbar -->
    <nav class="navbar navbar-expand-lg navbar-light">
        <div class="container-fluid">
            <a class="navbar-brand" href="/index">AI Spokesgirl</a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
                data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
                aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarSupportedContent">
                <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                    <li class="nav-item">
                        <a class="nav-link active btn-gocreate text-white me-2" aria-current="page" href="/make_video" set-lan="html:make_video">製作影片</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active btn-gocreate text-white" aria-current="page" href="/make_video_slide" set-lan="html:make_slides">SLIDE製作影片</a>                        
                    </li>
                </ul>
                
                <ul class="navbar-nav mb-2 mb-lg-0">
                    <li class="nav-item">
                        <button class="nav-link active" aria-current="page" set-lan="html:en" onclick="changeLan(this)" value="en">英文</button>
                    </li>
                    <li class="nav-item">
                        <button class="nav-link active" aria-current="page" set-lan="html:zh" onclick="changeLan(this)" value="zh">中文</button>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" aria-current="page" href="/login" set-lan="html:login">登入</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" aria-current="page" href="/user_profile" set-lan="html:user_profile">會員資料</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" aria-current="page" href="/logout" set-lan="html:logout">登出</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
    <!-- ================================================================= -->


    <!-- ================================================================= -->
    <!-- content -->
    <div class="container-fluid px-0">
        {% block content %}{% endblock %}
    </div>
    <!-- ================================================================= -->


    <!-- ================================================================= -->
    <!-- footer -->
    <footer class="fixed-bottom text-center py-2">
        {% block footer %}
    
        {% endblock %}
    </footer>
    <!-- ================================================================= -->
  
    <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
    <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js'></script>
    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js" integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT" crossorigin="anonymous"></script> 
    <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.0.18/dist/sweetalert2.all.min.js"></script>
    <script src="static/owl.carousel.min.js"></script>
    <script src="static/script_util.js"></script>
    <script src="templates/script_index.js"></script>
    <script type="text/javascript" src="static/lan.js"></script>
</body>

</html>