Skip to content

Commit

Permalink
feat: new logo
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo committed Nov 23, 2023
1 parent baea0be commit af8f30e
Show file tree
Hide file tree
Showing 12 changed files with 302 additions and 24 deletions.
2 changes: 1 addition & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
name="viewport"
/>

<link rel="shortcut icon" href="/src/assets/favicon.ico" />
<link rel="shortcut icon" href="/src/assets/favicon.svg" />
<title>heltin</title>

<link rel="stylesheet" href="/node_modules/@fortawesome/fontawesome-free/css/all.css" />
Expand Down
1 change: 1 addition & 0 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"relay-enum-generator": "^0.0.4",
"rimraf": "^5.0.5",
"vite": "^5.0.2",
"vite-plugin-svgr": "^4.2.0",
"vite-tsconfig-paths": "^4.2.1"
}
}
Binary file modified app/src/assets/banner_800x400.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 removed app/src/assets/favicon.ico
Binary file not shown.
6 changes: 6 additions & 0 deletions app/src/assets/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions app/src/assets/logo-full.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions app/src/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 0 additions & 12 deletions app/src/core/Root/Logo.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions app/src/core/Root/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import { useDarkMode } from 'lib/useDarkMode';
import { Locale, useLocale } from 'intl/locale';
import { location } from 'core/location';
import { getRoutes } from 'core/routes';
import Logo from '../../assets/logo.svg?react';
import { RootQuery } from './__generated__/RootQuery.graphql';
import { Logo } from './Logo';
import { RootRestoreScroll } from './RootRestoreScroll';
import { RootSearch } from './RootSearch';

Expand Down Expand Up @@ -91,7 +91,7 @@ export const Root: React.FC<RootProps> = (props) => {
</div>

<Link to="/" className="navbar-brand ml-10 ml-sm-20">
<Logo style={{ height: 32 }} />
<Logo style={{ height: 32, fill: 'var(--primary-color)' }} />
</Link>

<div className="navbar-content ml-auto">
Expand Down
1 change: 1 addition & 0 deletions app/src/vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// <reference types="vite/client" />
/// <reference types="vite-plugin-svgr/client" />

// see vite.config.ts
declare const SUPPORTED_BROWSERS: string[];
Expand Down
3 changes: 2 additions & 1 deletion app/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import react from '@vitejs/plugin-react';
import browserslist from 'browserslist';
import { defineConfig, loadEnv } from 'vite';
import svgr from 'vite-plugin-svgr';
import typescriptPaths from 'vite-tsconfig-paths';
import { relay } from './vite-plugin-relay';

Expand Down Expand Up @@ -29,7 +30,7 @@ export default defineConfig(({ mode }) => {
},
},
},
plugins: [typescriptPaths(), react(), relay()],
plugins: [typescriptPaths(), react(), svgr(), relay()],
build: {
outDir: `${__dirname}/build`,
rollupOptions: {
Expand Down
Loading

0 comments on commit af8f30e

Please sign in to comment.