Skip to content

Commit

Permalink
Yhdenmukaistettu ikonien importit
Browse files Browse the repository at this point in the history
  • Loading branch information
pretseli committed May 10, 2024
1 parent 5834af0 commit 7021605
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app/components/header.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { CSSProperties } from 'react';
import HomeOutlinedIcon from '@mui/icons-material/HomeOutlined';
import { HomeOutlined } from '@mui/icons-material';
import { Link as MuiLink } from '@mui/material';

export type HeaderProps = {
Expand Down Expand Up @@ -39,7 +39,7 @@ export default function Header({
<div style={headerStyle}>
{!isHome && (
<MuiLink href="/" sx={titleStyle} aria-label="Palaa etusivulle">
<HomeOutlinedIcon
<HomeOutlined
sx={{ border: '1px solid', padding: '3px', borderRadius: '2px' }}
/>
</MuiLink>
Expand Down
4 changes: 2 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getHakutavat } from './lib/koodisto';
import AccessTimeIcon from '@mui/icons-material/AccessTime';
import { AccessTime } from '@mui/icons-material';
import { CSSProperties } from 'react';
import HakuFilters from './components/haku-filters';

Expand All @@ -22,7 +22,7 @@ export default async function Home() {
<main className="mainContainer">
<div style={titleSectionStyle}>
<h2 style={{ textAlign: 'left', margin: '0 0 1rem' }}>
<AccessTimeIcon /> Haut
<AccessTime /> Haut
</h2>
</div>
<HakuFilters hakutavat={hakutavat} />
Expand Down

0 comments on commit 7021605

Please sign in to comment.