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

Logo #1056 #1072

Closed
wants to merge 5 commits into from
Closed
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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"pdf-lib": "^1.16.0",
"react": "^17.0.2",
"react-bootstrap": "^1.6.0",
"react-color": "^2.19.3",
"react-dom": "^17.0.2",
"react-draggable": "^4.4.3",
"react-dropzone": "^11.3.2",
Expand All @@ -49,8 +50,7 @@
"reactstrap": "^8.9.0",
"roughjs": "^4.4.1",
"sass": "^1.34.0",
"web-vitals": "^1.1.2",
"react-color": "^2.19.3"
"web-vitals": "^1.1.2"
},
"devDependencies": {
"eslint": "^7.27.0",
Expand Down
38 changes: 38 additions & 0 deletions public/DOC2PEN (1)-favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/DOC2PEN-favicon.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/faviconn.ico
Binary file not shown.
6 changes: 3 additions & 3 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/logo.webp" />
<link rel="icon" href="%PUBLIC_URL%/DOC2PEN (1)-favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description"
content="A student's savior to submit those assignments by just typing them out and getting it handwritten on the go!"
data-react-helmet="true" />
<link rel="preconnect" href="https://api.github.com">
<link rel="dynamic icon" id="favicon" href="doc2penlogo.png" />
<!-- <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo.webp" /> -->
<link rel="dynamic icon" id="favicon" href="%PUBLIC_URL%/DOC2PEN (1)-favicon.svg" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo.webp" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
Expand Down
Binary file added src/assets/logo/DOC2PEN-logo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
85 changes: 85 additions & 0 deletions src/assets/logo/DOC2PEN-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState, useEffect, useRef } from "react";
import { NavLink, useHistory } from "react-router-dom";
import { Link } from "react-scroll";
import styles from "./header.module.scss";
import logo from "./../../assets/logo/logo.webp";
import logo from "./../../assets/logo/DOC2PEN-logo.svg";
import { ImInfo } from "react-icons/im";
import { RiTeamLine, RiContactsLine } from "react-icons/ri";
import { BiDonateHeart } from "react-icons/bi";
Expand Down Expand Up @@ -67,7 +67,7 @@ function Header() {
window.isHome = false;
}}
>
<img className={styles.left} src={logo} alt="Logo" />
<img className={styles.left} src={logo} alt="Logo" height="100" width="100" />
</NavLink>
<div ref={navLinkRef} className={`${styles.right} ${styles.rightDrop}`}>
<NavLink
Expand Down
2 changes: 2 additions & 0 deletions src/components/Header/header.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
.left {
object-fit: contain;
width: 170px;
margin-right:50px ;
margin-top: 10px;
}

.right {
Expand Down
2 changes: 2 additions & 0 deletions src/seo/MetaComponent.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from "react";
import { Helmet } from "react-helmet";
import logo from "../assets/logo/DOC2PEN-logo.gif";

function MetaComponent({ title, description, keywords }) {
let attentionMessage = "Come back";
Expand Down Expand Up @@ -38,6 +39,7 @@ function MetaComponent({ title, description, keywords }) {
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:url" content={window.location.href} />
<meta name="icon" content={logo} />
</Helmet>
);
}
Expand Down