Skip to content

Assets/svg logo #18

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

Merged
merged 5 commits into from
Oct 7, 2021
Merged
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
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"@heroicons/react": "^1.0.4",
"next": "^11.1.2",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"react-dom": "^17.0.2",
"react-icons": "^4.3.1"
},
"devDependencies": {
"@types/react": "17.0.19",
Expand Down
9 changes: 9 additions & 0 deletions public/static/ScribeDAO_Logo.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 removed public/static/icons/discord.png
Binary file not shown.
Binary file removed public/static/icons/github.png
Binary file not shown.
Binary file removed public/static/icons/twitter.png
Binary file not shown.
Binary file removed public/static/logo_footer.png
Binary file not shown.
27 changes: 7 additions & 20 deletions src/components/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import Image from 'next/image'
import CustomLink from './customLink'
import ScribeDAOLogo from '../../public/static/ScribeDAO_Logo.svg'
import { FaDiscord, FaGithub, FaTwitter } from 'react-icons/fa'

import { FOOTER_NAV_LIST } from '../data/constants'

Expand All @@ -11,7 +13,7 @@ export default function Footer() {
<div className="col-span-2 md:col-span-4 lg:col-span-2">
<div className="mb-6 lg:mb-10 w-60 md:w-80 lg:w-60">
<Image
src="/static/logo_footer.png"
src={ScribeDAOLogo}
alt="ScribeDAO"
layout="responsive"
width={180}
Expand All @@ -29,30 +31,15 @@ export default function Footer() {
</p>
<div>
<h5>Connect with us</h5>
<div>
<div className="flex">
<CustomLink className="hover:text-gray-800 mr-4" href="#">
<Image
src="/static/icons/twitter.png"
alt="Twitter"
width={25}
height={25}
/>
<FaTwitter className="text-2xl" />
</CustomLink>
<CustomLink className="hover:text-gray-800 mr-4" href="#">
<Image
src="/static/icons/github.png"
alt="Github"
width={25}
height={25}
/>
<FaGithub className="text-2xl" />
</CustomLink>
<CustomLink className="hover:text-gray-800 mr-4" href="#">
<Image
src="/static/icons/discord.png"
alt="Discord"
width={25}
height={25}
/>
<FaDiscord className="text-2xl" />
</CustomLink>
</div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Dialog, Menu, Popover, Transition } from '@headlessui/react'
import { ChevronDownIcon, MenuIcon, XIcon } from '@heroicons/react/solid'
import Image from 'next/image'
import CustomLink from './customLink'
import ScribeDAOLogo from '../../public/static/ScribeDAO_Logo.svg'

import { HEADER_NAV_LIST } from '../data/constants'

Expand All @@ -16,7 +17,7 @@ export default function Nav() {
<section>
<CustomLink href="/">
<Image
src="/static/logo_footer.png"
src={ScribeDAOLogo}
alt="ScribeDAO"
width={180}
height={35}
Expand Down