diff --git a/fwt/components/HTML/HTML.sass b/fwt/components/HTML/HTML.sass deleted file mode 100644 index 8f2ac4b..0000000 --- a/fwt/components/HTML/HTML.sass +++ /dev/null @@ -1,13 +0,0 @@ -@use '/src/styles/variables.sass' as vars -@use '/src/styles/fonts.sass' as fonts - -.body - color: vars.$textColor - -.inter - @extend .body - font-family: fonts.$Inter - -.roboto - @extend .body - font-family: fonts.$Roboto diff --git a/fwt/components/HTML/HTML.tsx b/fwt/components/HTML/HTML.tsx deleted file mode 100644 index b5ead9e..0000000 --- a/fwt/components/HTML/HTML.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import './HTML.sass' - -interface Props { - title: string - name: string - description: string - children: any - font?: string -} - -export default (props: Props) => { - return ( - <> - - - - - - - - {props.title} - - - {props.children} - - - ) -} diff --git a/fwt/components/Head/Head.tsx b/fwt/components/Head/Head.tsx new file mode 100644 index 0000000..8299bc9 --- /dev/null +++ b/fwt/components/Head/Head.tsx @@ -0,0 +1,20 @@ +interface Props { + title: string + name: string + description: string +} + +export default (props: Props) => { + return ( + <> + + + + + + + {props.title} + + + ) +} diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index ee94ef6..7275c1a 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -6,10 +6,23 @@ const websiteDescription = 'This is just a template.' import Background from '../../fwt/components/Background/Background' import OptimizeBackground from '../../fwt/components/Optimizer/OptimizeBackground' -import HTML from '../../fwt/components/HTML/HTML' +import Head from '../../fwt/components/Head/Head' --- - - - - + + + + + + + + + +