Skip to content

Commit

Permalink
dark mode improvements (menu, logo), clear-cookies script removed
Browse files Browse the repository at this point in the history
  • Loading branch information
bgalek committed Jun 17, 2024
1 parent b217a25 commit 8350746
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
1 change: 0 additions & 1 deletion components/Header.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
height: calc(100vh - 81px);
right: 0;
bottom: 0;
background: #fff;
}

.menu li {
Expand Down
6 changes: 3 additions & 3 deletions components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ const Header = () => {
<React.Fragment>
<Card as="header" className={styles.navbar}>
<Container as="nav" className="m-display-flex m-flex-justify-between m-flex-items-center">
<a href="/"><img src="images/logo.svg" alt="Allegro Tech" width={205} height={45}/></a>
<a href="/"><img src="/images/logo.svg" alt="Allegro Tech" width={205} height={45}/></a>
<div>
<List
className={classnames("m-display-flex@lg", !menuVisible && "m-display-none", menuVisible && styles.menu)}>
className={classnames("m-display-flex@lg", "m-color-bg_card", !menuVisible && "m-display-none", menuVisible && styles.menu)}>
{MENU_ITEMS.map(({ label, url }) => (
<List.Item key={label} className="m-margin-left-16@lg"><Link href={url} signal
className="m-display-block m-display-inline@lg m-padding-left-16 m-padding-right-16 m-padding-top-16 m-padding-bottom-16 m-padding-left-0@lg m-padding-top-0@lg m-padding-right-0@lg m-padding-bottom-0@lg">{label}</Link></List.Item>
Expand All @@ -58,7 +58,7 @@ const Header = () => {
<Card className="m-color-bg_desk" transparent>
<Heading size="hero">About us</Heading>
<Typography>
<a href="https://about.allegro.eu/who-we-are/at-a-glance">Allegro</a> is one of the most technologically advanced companies in our part of Europe.
<Link href="https://about.allegro.eu/who-we-are/at-a-glance">Allegro</Link> is one of the most technologically advanced companies in our part of Europe.
Allegro is also over 2300&nbsp;IT specialists of various specializations, developing our e-commerce platform.
The unique scale and complexity of the problems that we solve on a daily basis give us
the opportunity to work on a wide variety of projects.
Expand Down
1 change: 0 additions & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ const HomePage: React.FunctionComponent<HomePageProps> = ({posts, jobs, events,
<link rel="preload" href="images/splash.jpg" as="image"/>
<link rel="author" href="humans.txt"/>
<script defer data-domain="allegro.tech" src="https://plausible.io/js/script.js"></script>
<script defer src="/clear-cookies.js"></script>
</Head>
<Header/>
<Container className="m-padding-top-24">
Expand Down
2 changes: 0 additions & 2 deletions public/clear-cookies.js

This file was deleted.

2 changes: 1 addition & 1 deletion public/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve"
"jsx": "preserve",
"incremental": true
},
"include": [
"next-env.d.ts",
Expand Down

0 comments on commit 8350746

Please sign in to comment.