-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop #5875
base: master
Are you sure you want to change the base?
Develop #5875
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Test | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install | ||
- run: npm test | ||
- name: Upload HTML report(backstop data) | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: report | ||
path: backstop_data |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,109 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<link | ||
rel="stylesheet" | ||
href="Style.css" | ||
/> | ||
<meta charset="UTF-8" /> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" | ||
/> | ||
<meta | ||
http-equiv="X-UA-Compatible" | ||
content="ie=edge" | ||
<title>Document</title> | ||
<link rel="styleet" /> | ||
<link | ||
rel="preconnect" | ||
href="https://fonts.googleapis.com" | ||
/> | ||
<link | ||
rel="preconnect" | ||
href="https://fonts.gstatic.com/" | ||
/> | ||
<title>Moyo header</title> | ||
<link | ||
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" | ||
rel="stylesheet" | ||
href="./style.css" | ||
/> | ||
</head> | ||
<body> | ||
<h1>Moyo header</h1> | ||
<header class="header"> | ||
<nav> | ||
<ul class="menu"> | ||
<li class="element logo"> | ||
<a href=" "> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
<img | ||
src="images/logo.png" | ||
alt="MOYO" | ||
/> | ||
</a> | ||
</li> | ||
<li class="element"> | ||
<a | ||
class="link is-active apple" | ||
href=" " | ||
> | ||
Apple | ||
</a> | ||
</li> | ||
<li class="element"> | ||
<a | ||
class="link" | ||
href="#" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
> | ||
Samsung | ||
</a> | ||
</li> | ||
<li class="element"> | ||
<a | ||
class="link" | ||
href="#" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
> | ||
Smartphones | ||
</a> | ||
</li> | ||
<li class="element"> | ||
<a | ||
data-qa="hover" | ||
class="link blue" | ||
href="#" | ||
> | ||
Laptops & Computers | ||
</a> | ||
</li> | ||
<li class="element"> | ||
<a | ||
class="link" | ||
href="#" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
> | ||
Gadgets | ||
</a> | ||
</li> | ||
<li class="element"> | ||
<a | ||
class="link" | ||
href="#" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
> | ||
Tablets | ||
</a> | ||
</li> | ||
<li class="element"> | ||
<a | ||
class="link" | ||
href="#" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
> | ||
Photo | ||
</a> | ||
</li> | ||
<li class="element"> | ||
<a | ||
class="link" | ||
href="#" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
> | ||
Video | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
</header> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,63 @@ | ||
body { | ||
--nav-color: #00acdc; | ||
|
||
margin: 0; | ||
border: 0; | ||
font-family: Roboto, serif; | ||
background-color: lightslategray; | ||
text-transform: uppercase; | ||
justify-content: center; | ||
align-items: center; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
} | ||
|
||
.header { | ||
background-color: #fff; | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; | ||
height: 60px; | ||
align-items: center; | ||
} | ||
|
||
.element { | ||
text-decoration: none; | ||
display: inline-flex; | ||
} | ||
|
||
.logo { | ||
margin-right: 25px; | ||
height: 40px; | ||
width: 40px; | ||
position: absolute; | ||
left: 50px; | ||
top: 10px; | ||
} | ||
|
||
a:hover { | ||
color: var(--nav-color); | ||
text-decoration: underline; | ||
} | ||
|
||
.link { | ||
text-decoration: none; | ||
height: 15px; | ||
font-size: 12px; | ||
font-weight: 500px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
} | ||
|
||
.is-active { | ||
color: var(--nav-color); | ||
} | ||
|
||
.is-active::after { | ||
width: 37px; | ||
height: 4px; | ||
border-radius: 8px; | ||
position: absolute; | ||
background-color: var(--nav-color); | ||
bottom: 0; | ||
} | ||
|
||
.blue{ | ||
color: var(--nav-color); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo in the
rel
attribute value. It should bestylesheet
instead ofstyleet
.