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

Remove logo, add NOTICE about logo/design ownership #1

Open
wants to merge 1 commit into
base: main
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
7 changes: 7 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
NOTICE

This repository is licensed under the MIT License.

However, please note that the logos, trademarks, and designs included in this repository
are not covered by this license. They are the property of their respective owners and may
not be used without permission.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,10 @@ REACT_APP_COMMUNITY="https://community.example/community#us" REACT_APP_COMMUNITY
We use [Cypress](https://www.cypress.io/app) to test the application.

To start the tests, run `yarn cy:dev`, wait a bit, and Cypress will open. Select "E2E tests" from the options, then pick your preferred browser (Electron and Chromium work, Firefox fails), and select a test suite to run.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

**Note:** The logos, trademarks, and designs included in this repository are not covered by the MIT License.
They are the property of their respective owners and may not be used without permission.
Binary file modified public/favicon.ico
Binary file not shown.
Binary file modified public/logo192.png
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/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 1 addition & 17 deletions src/components/Header/Header.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,9 @@
font-size: 1.25rem;

// logo
// when we hover the logo, open eyes
.logo,
.logoOpen {
.logo {
height: 1.5rem;
}

.logoOpen {
display: none;
}

&:hover {
.logo {
display: none;
}

.logoOpen {
display: initial;
}
}
}

.spacer {
Expand Down
4 changes: 1 addition & 3 deletions src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { communityId } from 'config'
import { selectAuth } from 'features/auth/authSlice'
import { useProfile } from 'hooks/data/useProfile'
import { useReadMessagesFromInbox } from 'hooks/data/useReadThreads'
import { ReactComponent as LogoOpen } from 'logo-open.svg'
import { ReactComponent as Logo } from 'logo.svg'
import { Link } from 'react-router-dom'
import { SignOut } from '../SignOut'
Expand All @@ -24,8 +23,7 @@ export const Header = () => {
<nav className={styles.header}>
<Link className={styles.logoContainer} to="/">
<Logo className={styles.logo} />
<LogoOpen className={styles.logoOpen} />{' '}
{auth.isLoggedIn === false && <span>sleepy.bike</span>}
sleepy.bike
</Link>
<div className={styles.spacer} />
{auth.isLoggedIn === true && (
Expand Down
1 change: 0 additions & 1 deletion src/logo-open.svg

This file was deleted.

4 changes: 3 additions & 1 deletion src/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading