Fix comments

This commit is contained in:
2023-07-06 12:00:17 +07:00
parent c319bb6c5f
commit 0c1c645e3f
4 changed files with 91 additions and 58 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{
"bracketSameLine": false,
"bracketSameLine": true,
"bracketSpacing": true,
"embeddedLanguageFormatting": "auto",
"printWidth": 120,
Vendored Executable
+3
View File
@@ -0,0 +1,3 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
+37 -25
View File
@@ -4,19 +4,20 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Practice 01</title>
<link rel="stylesheet" href="./styles/bases/reset.css" />
<link rel="stylesheet" href="./styles/main.css" />
</head>
<body>
<div class="background">
<!-- Header -->
<div class="width-container">
<!-- Start header -->
<header class="header">
<div class="container divide-content-center text text--md">
<a href="https://google.com" class="logo-link"
><img src="./assets/images/logo.svg" alt="" class="logo"
/></a>
<a href="javascript:void(0)" class="logo-link">
<div class="logo-wrapper">
<img src="./assets/images/logo.svg" alt="Logo web" class="logo" />
</div>
</a>
<nav class="nav">
<ul class="nav__lists d-flex justify-content-between">
<li class="nav__item">
@@ -35,20 +36,24 @@
</nav>
</div>
</header>
<!-- End header -->
<!-- Welcome section -->
<!-- Start welcome section -->
<section class="welcome d-flex align-item-center">
<div class="welcome__content d-flex flex-column">
<span class="welcome__title text--bold">Welcome</span>
<h1 class="welcome__heading text--secondary">Lorem ipsum dolor sit amet consectetur</h1>
<h1 class="welcome__heading text--secondary text--lg">Lorem ipsum dolor sit amet consectetur</h1>
<p class="welcome__description text text--sm">
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Suscipit nemo hic quos, ab, dolor aperiam nobis
cum est eos error ipsum, voluptate culpa nesciunt delectus iste?
</p>
<a href="javascript:void(0)" class="btn btn-primary text">Explore</a>
</div>
<div class="welcome-image-container">
<img src="./assets/images/header-image.png" alt="Header Image" class="welcome__image" />
</div>
</section>
<!-- End welcome section -->
</div>
</div>
@@ -83,6 +88,7 @@
<a href="javascript:void(0)" class="btn btn-secondary text">Learn More</a>
</div>
</section>
<!-- End sponsor section -->
<!-- Conversation section -->
<section class="conversation">
@@ -93,7 +99,7 @@
<!-- Conversation content -->
<div class="conversation__content d-flex flex-column">
<h2 class="conversation__heading text--secondary text--lg">Lorem ipsum dolor sit amet consectetur</h2>
<p class="conversation__description text text--gray text--sm">
<p class="conversation__description text text--secondary-color text--sm">
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Suscipit nemo hic quos, ab, dolor aperiam nobis
cum est eos error ipsum, voluptate culpa nesciunt delectus iste?
</p>
@@ -101,6 +107,7 @@
</div>
</div>
</section>
<!-- End conversation section -->
<!-- Security section -->
<section class="security">
@@ -108,7 +115,7 @@
<!-- Security content -->
<div class="security__content d-flex flex-column">
<h2 class="security__heading text--secondary text--lg">Lorem ipsum dolor sit amet consectetur</h2>
<p class="security__description text text--gray text--sm">
<p class="security__description text text--secondary-color text--sm">
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Suscipit nemo hic quos, ab, dolor aperiam nobis
cum est eos error ipsum, voluptate culpa nesciunt delectus iste?
</p>
@@ -119,6 +126,7 @@
<img src="./assets/images/security.png" alt="Image Security" class="security__image" />
</div>
</section>
<!-- End security section -->
<!-- Team section -->
<section class="team">
@@ -138,7 +146,7 @@
<img src="./assets/images/avatar-1.png" alt="Avatar Image" class="team__image" />
<div class="team__information d-flex flex-column">
<span class="team__name text--secondary">Peg legge</span>
<span class="team__position text text--sm text--gray">Ceo</span>
<span class="team__position text text--sm text--secondary-color">Ceo</span>
</div>
</div>
</div>
@@ -149,7 +157,7 @@
<img src="./assets/images/avatar-2.png" alt="Avatar Image" class="team__image" />
<div class="team__information">
<span class="team__name text--secondary">Richard guerra</span>
<span class="team__position text text--sm text--gray">Cto</span>
<span class="team__position text text--sm text--secondary-color">Cto</span>
</div>
</div>
</div>
@@ -160,7 +168,7 @@
<img src="./assets/images/avatar-3.png" alt="Avatar Image" class="team__image" />
<div class="team__information">
<span class="team__name text--secondary">Alexandra stolz</span>
<span class="team__position text text--sm text--gray">Designer</span>
<span class="team__position text text--sm text--secondary-color">Designer</span>
</div>
</div>
</div>
@@ -171,7 +179,7 @@
<img src="./assets/images/avatar-4.png" alt="Avatar Image" class="team__image" />
<div class="team__information">
<span class="team__name text--secondary">Janet bray</span>
<span class="team__position text text--sm text--gray">Developer</span>
<span class="team__position text text--sm text--secondary-color">Developer</span>
</div>
</div>
</div>
@@ -179,39 +187,43 @@
<a href="javascript:void(0)" class="btn btn-secondary text">View Team</a>
</div>
</section>
<!-- End team section -->
</div>
<!-- Footer -->
<footer class="footer">
<div class="background">
<div class="width-container">
<div class="footer__content d-flex justify-content-between">
<div class="footer__logos d-flex">
<a href="javascript:void(0)"
><img src="./assets/images/facebook.svg" alt="Facebook logo" class="footer__logo-item"
/></a>
<a href="javascript:void(0)"
><img src="./assets/images/instagram.svg" alt="Instagram logo" class="footer__logo-item"
/></a>
<a href="javascript:void(0)">
<a href="javascript:void(0)" class="footer__link">
<img src="./assets/images/facebook.svg" alt="Facebook logo" class="footer__logo-item" />
</a>
<a href="javascript:void(0)" class="footer__link">
<img src="./assets/images/instagram.svg" alt="Instagram logo" class="footer__logo-item" />
</a>
<a href="javascript:void(0)" class="footer__link">
<img src="./assets/images/twitter.svg" alt="Twitter logo" class="footer__logo-item" />
</a>
<a href="javascript:void(0)">
<a href="javascript:void(0)" class="footer__link">
<img src="./assets/images/pinterest.svg" alt="Pinterest logo" class="footer__logo-item" />
</a>
<a href="javascript:void(0)">
<a href="javascript:void(0)" class="footer__link">
<img src="./assets/images/tiktok.svg" alt="Tiktok logo" class="footer__logo-item" />
</a>
<a href="javascript:void(0)">
<a href="javascript:void(0)" class="footer__link">
<img src="./assets/images/wechat.svg" alt="Wechat logo" class="footer__logo-item" />
</a>
<a href="javascript:void(0)">
<a href="javascript:void(0)" class="footer__link">
<img src="./assets/images/youtube.svg" alt="Youtube Logo" class="footer__logo-item" />
</a>
</div>
<span class="footer__text text">&#64; Start, 2022. All rights reserved.</span>
<span class="footer__text text">&copy; Start, 2022. All rights reserved.</span>
</div>
</div>
</div>
</footer>
<!-- End footer -->
</body>
</html>
+36 -18
View File
@@ -1,9 +1,6 @@
@import url("./abstracts/variables.css");
@import url("./bases/typo.css");
* {
line-height: 125%;
}
@import url("./bases/reset.css");
.wrapper {
width: 1440px;
@@ -18,13 +15,14 @@
.text {
font-size: var(--fs-md);
font-family: var(--ff-primary-regular);
line-height: 125%;
}
.text--bold {
font-family: var(--ff-primary-bold);
}
.text--gray {
.text--secondary-color {
color: var(--gray);
}
@@ -79,8 +77,8 @@
padding-bottom: 40px;
}
.logo-link {
height: auto;
.logo-wrapper {
height: 50px;
}
.background {
@@ -121,6 +119,7 @@
}
.welcome__content {
width: 416px;
gap: 15px;
}
@@ -140,15 +139,24 @@
margin-bottom: 25px;
}
.welcome-image-container {
height: 378px;
width: 644px;
}
.welcome__image {
max-width: 100%;
max-height: 100%;
}
.btn {
/* Display & Box Models */
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
width: 170px;
height: 48px;
border: none;
width: 168px;
height: 46px;
/* Text */
text-decoration: none;
@@ -162,11 +170,13 @@
.btn-primary {
color: var(--black);
background-color: var(--white);
border: 1px solid var(--white);
}
.btn-primary:hover {
background-color: var(--black);
color: var(--white);
border: 1px solid var(--black);
}
.btn-secondary {
@@ -182,7 +192,8 @@
/* Pattern Section */
.sponsor__container {
margin: 60 auto;
padding-top: 60px;
margin: auto;
gap: 55px;
}
@@ -215,7 +226,7 @@
/* Conversation Section */
.conversation__container {
margin: 60px auto;
margin-top: 73px;
}
.conversation__content {
@@ -225,7 +236,7 @@
/* Security section */
.security__container {
margin: 60px auto;
margin-top: 73px;
}
.security__content {
@@ -236,10 +247,15 @@
/* Team section */
.team__container {
margin-top: 102px;
gap: 45px;
margin-bottom: 54px;
}
.team__heading {
text-transform: capitalize;
}
.team__content {
width: 404px;
gap: 16px;
@@ -290,17 +306,19 @@
/* Footer */
.footer__content {
padding: 50px 131px;
width: var(--max-width);
margin: auto;
padding-top: 51px;
padding-bottom: 49px;
}
.footer__logos {
gap: 20px;
align-items: center;
}
.footer__text {
line-height: 125%;
color: var(--white);
}
.footer__link {
height: 19px;
}