Skip to content

Commit 724f586

Browse files
committed
add html and css
1 parent 0ad0cd5 commit 724f586

File tree

1 file changed

+62
-4
lines changed

1 file changed

+62
-4
lines changed

src/index.html

Lines changed: 62 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,71 @@
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
66
<title>Bootstrap w/ Vite</title>
7+
<link
8+
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
9+
rel="stylesheet">
710
</head>
811

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>
1330
</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>
1472
<script type="module" src="./js/main.js"></script>
1573
</body>
1674
</html>

0 commit comments

Comments
 (0)