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