|
4 | 4 | <meta charset="utf-8" /> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
6 | 6 | <title>Bootstrap w/ Vite</title> |
| 7 | + <link |
| 8 | + href=" https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" |
| 9 | + rel="stylesheet"> |
7 | 10 | </head> |
8 | 11 |
|
9 | | - <body> |
10 | | - <div class="container py-4 px-3 mx-auto"> |
11 | | - <h1>Hello, Bootstrap and Vite!</h1> |
12 | | - <button class="btn btn-primary">Primary button</button> |
| 12 | + <body class="d-flex flex-column min-vh-100"> |
| 13 | + <div class="modal fade" id="modal" tabindex="-1" role="dialog" |
| 14 | + aria-labelledby="modal" aria-hidden="true"> |
| 15 | + <div class="modal-dialog" role="document"> |
| 16 | + <div class="modal-content"> |
| 17 | + <div class="modal-header"> |
| 18 | + <h5 class="modal-title"></h5><button type="button" |
| 19 | + class="btn-close close" data-bs-dismiss="modal" |
| 20 | + aria-label="Close"></button> |
| 21 | + </div> |
| 22 | + <div class="modal-body text-break"></div> |
| 23 | + <div class="modal-footer"><a class="btn btn-primary full-article" |
| 24 | + href="#" role="button" target="_blank" |
| 25 | + rel="noopener noreferrer">Читать полностью </a><button type="button" |
| 26 | + class="btn btn-secondary" data-bs-dismiss="modal">Закрыть</button> |
| 27 | + </div> |
| 28 | + </div> |
| 29 | + </div> |
13 | 30 | </div> |
| 31 | + <main class="flex-grow-1"> |
| 32 | + <section class="container-fluid bg-dark p-5"> |
| 33 | + <div class="row"> |
| 34 | + <div class="col-md-10 col-lg-8 mx-auto text-white"> |
| 35 | + <h1 class="display-3 mb-0">RSS агрегатор</h1> |
| 36 | + <p class="lead">Начните читать RSS сегодня! Это легко, это красиво. |
| 37 | + </p> |
| 38 | + <form action="" class="rss-form text-body"> |
| 39 | + <div class="row"> |
| 40 | + <div class="col"> |
| 41 | + <div class="form-floating"><input id="url-input" autofocus="" |
| 42 | + required="" name="url" aria-label="url" |
| 43 | + class="form-control w-100" placeholder="ссылка RSS" |
| 44 | + autocomplete="off"> <label for="url-input">Ссылка |
| 45 | + RSS</label></div> |
| 46 | + </div> |
| 47 | + <div class="col-auto"><button type="submit" aria-label="add" |
| 48 | + class="h-100 btn btn-lg btn-primary px-sm-5">Добавить</button> |
| 49 | + </div> |
| 50 | + </div> |
| 51 | + </form> |
| 52 | + <p class="mt-2 mb-0 text-muted">Пример: |
| 53 | + https://lorem-rss.hexlet.app/feed</p> |
| 54 | + <p class="feedback m-0 position-absolute small text-danger"></p> |
| 55 | + </div> |
| 56 | + </div> |
| 57 | + </section> |
| 58 | + <section class="container-fluid container-xxl p-5"> |
| 59 | + <div class="row"> |
| 60 | + <div class="col-md-10 col-lg-8 order-1 mx-auto posts"></div> |
| 61 | + <div class="col-md-10 col-lg-4 mx-auto order-0 order-lg-1 feeds"></div> |
| 62 | + </div> |
| 63 | + </section> |
| 64 | + </main> |
| 65 | + <footer class="footer border-top py-3 mt-5 bg-light"> |
| 66 | + <div class="container-xl"> |
| 67 | + <div class="text-center">created by <a |
| 68 | + href="https://ru.hexlet.io/professions/frontend/projects/11" |
| 69 | + target="_blank">Hexlet</a></div> |
| 70 | + </div> |
| 71 | + </footer><deepl-input-controller translate="no"></deepl-input-controller> |
14 | 72 | <script type="module" src="./js/main.js"></script> |
15 | 73 | </body> |
16 | 74 | </html> |
0 commit comments