diff --git a/src/home/index.js b/src/home/index.js index df911615..a07af66d 100644 --- a/src/home/index.js +++ b/src/home/index.js @@ -3,6 +3,7 @@ import Navigation from './components/Navigation'; import NoPetRegirestedPage from './components/NoPetRegirestedPage'; import SideMenu from './components/SideMenu'; import initializeScrollable from './utils/scrollable-sidemenu'; +import GeneralSize from './pages/generalSize'; import './index.scss'; document.addEventListener('DOMContentLoaded', () => { @@ -19,12 +20,15 @@ document.addEventListener('DOMContentLoaded', () => { navigation.mount($navigation); const $content = selected.get('content'); - const noPetRegirestedPage = new NoPetRegirestedPage(); - noPetRegirestedPage.mount($content); + // const noPetRegirestedPage = new NoPetRegirestedPage(); + // noPetRegirestedPage.mount($content); const $hamburgerMenu = navigation.selected.get('hamburger-menu'); const $exitMenu = sideMenu.selected.get('exitMenu'); const $itemsMenu = sideMenu.selected.get('menuitens').querySelectorAll('li'); initializeScrollable($hamburgerMenu, $exitMenu, $itemsMenu, $home); + + const generalSize = new GeneralSize(); + generalSize.mount($content); }); diff --git a/src/home/index.scss b/src/home/index.scss index 0f6d6ea2..7f763c6b 100644 --- a/src/home/index.scss +++ b/src/home/index.scss @@ -48,8 +48,8 @@ background-color: colors.$appContentColor; - padding-inline: 2rem; - padding-block: 3.2rem; + // padding-inline: 2rem; + // padding-block: 3.2rem; } } diff --git a/src/home/pages/generalSize/index.js b/src/home/pages/generalSize/index.js new file mode 100644 index 00000000..4f1ea628 --- /dev/null +++ b/src/home/pages/generalSize/index.js @@ -0,0 +1,46 @@ +import { Component } from 'pet-dex-utilities'; +import Button from '../../../components/Button'; +import UploadImage from '../../../components/UploadImage'; +import './index.scss'; + +const html = ` +