chore: konpilazioa konpontzen du
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
|
||||
import { AlergenoIdentifikadorea } from '../../../../domain/models/AlergenoIdentifikadorea';
|
||||
import { AlergenoIdentifikadorea } from '../../domain/models/AlergenoIdentifikadorea';
|
||||
import Esnekiak from './assets/alergenoak/esnekiak.svg';
|
||||
import Arrautzak from './assets/alergenoak/arrautzak.svg';
|
||||
import Glutena from './assets/alergenoak/glutena.svg';
|
||||
@@ -17,15 +17,9 @@ import Apioa from './assets/alergenoak/apioa.svg';
|
||||
import Ziapea from './assets/alergenoak/ziapea.svg';
|
||||
import styled from 'styled-components';
|
||||
import { rem } from 'polished';
|
||||
import {
|
||||
breakpoints,
|
||||
colors,
|
||||
fontWeight,
|
||||
media,
|
||||
size,
|
||||
} from '../../../../ui/theme';
|
||||
import { mapAlergenoIdentifikadoreaToIzena } from '../../../../domain/mappers/mapAlergenoIdentifikadoreaToIzena';
|
||||
import { mapAlergenoIdentifikadoreaToZenbakia } from '../../../../domain/mappers/mapAlergenoIdentifikadoreaToZenbakia';
|
||||
import { breakpoints, colors, fontWeight, media, size } from '../../ui/theme';
|
||||
import { mapAlergenoIdentifikadoreaToIzena } from '../../domain/mappers/mapAlergenoIdentifikadoreaToIzena';
|
||||
import { mapAlergenoIdentifikadoreaToZenbakia } from '../../domain/mappers/mapAlergenoIdentifikadoreaToZenbakia';
|
||||
import { useMediaQuery } from 'react-responsive';
|
||||
|
||||
const alergenoakOrdenaturik: AlergenoIdentifikadorea[] = [
|
||||
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 8.1 KiB |
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 8.0 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 9.8 KiB |
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
@@ -1,19 +1,19 @@
|
||||
import { PageProps } from 'gatsby';
|
||||
import React from 'react';
|
||||
import { GlobalStyles } from '../../ui/GlobalStyles';
|
||||
import { GlobalStyles } from '../ui/GlobalStyles';
|
||||
|
||||
import { Helmet } from 'react-helmet';
|
||||
import { Gainburua } from '../../components/Gainburua';
|
||||
import { Container } from '../../components/Container';
|
||||
import { Gainburua } from '../components/Gainburua';
|
||||
import { Container } from '../components/Container';
|
||||
import styled from 'styled-components';
|
||||
import { colors, font, fontWeight, size } from '../../ui/theme';
|
||||
import { colors, font, fontWeight, size } from '../ui/theme';
|
||||
|
||||
import BeganoaLogo from '../../assets/beganoa.svg';
|
||||
import EkologikoaLogo from '../../assets/ekologikoa.svg';
|
||||
import BeganoaLogo from '../assets/beganoa.svg';
|
||||
import EkologikoaLogo from '../assets/ekologikoa.svg';
|
||||
import { rem } from 'polished';
|
||||
import { Produktua } from '../../domain/models/Produktua';
|
||||
import { useKafetegiaData } from './useKafetegiaData';
|
||||
import { AlergenoLegenda } from './components/AlergenoLegenda';
|
||||
import { Produktua } from '../domain/models/Produktua';
|
||||
import { useKafetegiaData } from '../viewQueries/useKafetegiaData';
|
||||
import { AlergenoLegenda } from '../components/AlergenoLegenda';
|
||||
|
||||
const Kafetegia: React.VFC<PageProps> = () => {
|
||||
const {
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Produktua } from '../../domain/models/Produktua';
|
||||
import { Produktua } from '../domain/models/Produktua';
|
||||
|
||||
export interface KafetegiaData {
|
||||
deskribapena: string;
|
||||
@@ -1,6 +1,6 @@
|
||||
import { graphql, useStaticQuery } from 'gatsby';
|
||||
import { ProduktuaDTO } from '../../domain/dtos/ProduktuaDTO';
|
||||
import { produktuaFactory } from '../../domain/factories/produktuaFactory';
|
||||
import { ProduktuaDTO } from '../domain/dtos/ProduktuaDTO';
|
||||
import { produktuaFactory } from '../domain/factories/produktuaFactory';
|
||||
import { KafetegiaData } from './KafetegiaData';
|
||||
|
||||
interface DataProps {
|
||||