diff --git a/src/creators.hbs b/src/creators.hbs index ff0f543..536fe0c 100644 --- a/src/creators.hbs +++ b/src/creators.hbs @@ -1,22 +1,6 @@ - - - - - - - Document - - - - - - - - +{{#> views/layout}} {{> views/header }}
Creators
- - \ No newline at end of file +{{/views/layout}} \ No newline at end of file diff --git a/src/discover.hbs b/src/discover.hbs index 3d4e727..e950655 100644 --- a/src/discover.hbs +++ b/src/discover.hbs @@ -1,22 +1,6 @@ - - - - - - - Document - - - - - - - - +{{#> views/layout}} {{> views/header }}
Discover
- - \ No newline at end of file +{{/views/layout}} \ No newline at end of file diff --git a/src/index.hbs b/src/index.hbs index 3c9731e..9068be7 100644 --- a/src/index.hbs +++ b/src/index.hbs @@ -1,24 +1,6 @@ - - - - - - - Document - - - - - - - - - {{> views/header }} -
- {{> views/carusel }} -
- - \ No newline at end of file +{{#> views/layout}} + {{> views/header }} +
+ {{> views/carusel }} +
+{{/views/layout}} \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index aa9f3c7..e6a86b9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,4 @@ +import './style.css' import { initCarusel } from './components/carusel' const container = document.querySelector('.nft-card-container') diff --git a/src/style.css b/src/style.css index f178477..d844d91 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,7 @@ +body { + margin: 0; +} + html { --color-dark: #141416; --text-dark: var(--color-dark); diff --git a/src/views/layout.hbs b/src/views/layout.hbs new file mode 100644 index 0000000..b92c222 --- /dev/null +++ b/src/views/layout.hbs @@ -0,0 +1,20 @@ + + + + + + + {{#if title}}{{title}}{{else}}Document{{/if}} + + + + + + + +{{> @partial-block }} + + \ No newline at end of file