Skip to content
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

first letter of footer and header components were capitalized, typo w… #771

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 28 additions & 20 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,28 +1,36 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<link href="https://cdn.rawgit.com/michalsnik/aos/2.1.1/dist/aos.css" rel="stylesheet">
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<link rel="shortcut icon" href="%PUBLIC_URL%/earth.ico">
<link href="https://fonts.googleapis.com/css?family=Noto+Sans&display=swap" rel="stylesheet">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta name="theme-color" content="#000000" />
<link
href="https://cdn.rawgit.com/michalsnik/aos/2.1.1/dist/aos.css"
rel="stylesheet"
/>
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="shortcut icon" href="%PUBLIC_URL%/earth.ico" />
<link
href="https://fonts.googleapis.com/css?family=Noto+Sans&display=swap"
rel="stylesheet"
/>
<title>Travel Guide | By Zero To Mastery Students</title>
<meta name="description"
content="A zero to mastery open source project lead by Andrei Neagoie and build by students.">
</head>

<body>
<meta
name="description"
content="A zero to mastery open source project lead by Andrei Neagoie and build by students."
/>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="https://cdn.rawgit.com/michalsnik/aos/2.1.1/dist/aos.js"></script>
<script>
AOS.init({
duration: 1200,
})
AOS.init({
duration: 1200,
});
</script>
</body>

</html>
</body>
</html>
6 changes: 3 additions & 3 deletions src/components/Footer.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import React from "react";
import { Link } from "react-router-dom";
// import "../styles/footer.css";
const footer = () => {
const Footer = () => {
return (
<div>
<footer
style={{
// backgroundImage:
// "url(http://demap.com.au/wp-content/uploads/2014/05/Banner.png)"
backgroundColor: "black"
backgroundColor: "black",
}}
className="tc-l bg-center cover bg-purple"
>
Expand Down Expand Up @@ -149,4 +149,4 @@ const footer = () => {
);
};

export default footer;
export default Footer;
7 changes: 3 additions & 4 deletions src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { NavLink, Link } from "react-router-dom";
// import globe from "../Globe.svg";
import "../styles/Header.css";

const header = () => {
const Header = () => {
return (
<header className="white-80 tc pv4 header pb7 ">
<h1
className="mt2 mb3 headertext"
className="mt2 mb3 headertext"
data-aos="fade-down"
data-aos-duration="5000"
>
Expand All @@ -27,7 +27,6 @@ const header = () => {
</div>
</Link>
</div>

<nav className="bt bb tc center mt4 nav">
<NavLink
to="/travel-guide"
Expand Down Expand Up @@ -90,4 +89,4 @@ const header = () => {
);
};

export default header;
export default Header;
63 changes: 32 additions & 31 deletions src/styles/Header.css
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
@import url('https://fonts.googleapis.com/css?family=Abril+Fatface');
@import url('https://fonts.googleapis.com/css?family=Staatliches');
@import url("https://fonts.googleapis.com/css?family=Abril+Fatface");
@import url("https://fonts.googleapis.com/css?family=Staatliches");

.header {
background-image: linear-gradient(rgba(0, 0, 0, 0.075), rgba(0, 0, 0, 0.849)), url(../img/BaganMyanmar.jpg);
background-position: 20% 85%;

background-repeat: no-repeat;
background-size: cover;
background-origin: content-box;
/* mix-blend-mode: saturation; */

background-image: linear-gradient(rgba(0, 0, 0, 0.075), rgba(0, 0, 0, 0.849)),
url(../img/BaganMyanmar.jpg);
/* background-position: 20% 85%; */
background-repeat: no-repeat;
background-size: cover;
background-position: center;
/* background-origin: content-box; */
height: 15vh;
/* mix-blend-mode: saturation; */
}

header.header {
padding-top: 0;
padding-top: 0;
}

@media screen and (min-width: 1300px) {
.header {
background-position: 10% 80%;
}
/* .header {
background-position: 10% 80%;
} */
}

/* @media screen and (min-width: 500px) {
Expand All @@ -31,30 +32,30 @@ header.header {

} */


.headertext {
background: rgb(0, 0, 0);
letter-spacing: 7px;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-family: 'Staatliches', cursive;
font-size: 6em;
text-transform: uppercase;
text-shadow: 4px 3px 0px white;
margin-top: 0;
background: rgb(0, 0, 0);
letter-spacing: 7px;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-family: "Staatliches", cursive;
font-size: 6rem;
align-self: center;
text-transform: uppercase;
text-shadow: 4px 3px 0px white;
margin-top: 0;
}

h1.headertext {
margin-top: 0;
margin-top: 0;
}

.nav {
background-color: rgba(0, 0, 0, 0.952);
position: relative;
bottom: -40px;
background-color: rgba(0, 0, 0, 0.952);
position: relative;
bottom: -40px;
}

iframe {
border: 0px;
}
border: 0px;
}