diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx new file mode 100644 index 0000000..643e7fb --- /dev/null +++ b/src/components/Footer/index.tsx @@ -0,0 +1,40 @@ +import './style.css'; + +function Footer() { + return ( + + ) +} + +export default Footer; \ No newline at end of file diff --git a/src/components/Footer/style.css b/src/components/Footer/style.css new file mode 100644 index 0000000..2871e11 --- /dev/null +++ b/src/components/Footer/style.css @@ -0,0 +1,10 @@ +.footer-container { + width: 100%; + clear: both; + overflow: hidden; + padding-bottom: 4vh; +} + +.footer-section a { + line-height: 1.75; +} \ No newline at end of file diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index 5d3a5c8..f38f7b1 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -30,7 +30,7 @@ function Header() { return (
-

HilingRiviw

+

Hilingin

) diff --git a/src/components/Separator/WithAnchor/style.css b/src/components/Separator/WithAnchor/style.css index 9b60797..f2648d8 100644 --- a/src/components/Separator/WithAnchor/style.css +++ b/src/components/Separator/WithAnchor/style.css @@ -1,4 +1,9 @@ .divider { border-bottom-width: 1px; padding-bottom: 3px; -} \ No newline at end of file + border-color: #38444d; +} + +a:hover { + color: #92a8b7; +} diff --git a/src/components/index.ts b/src/components/index.ts index bb2ed81..512acf7 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -1,7 +1,9 @@ import Header from "./Header"; import SeparatorWithAnchor from "./Separator/WithAnchor"; +import Footer from './Footer/'; export { Header, - SeparatorWithAnchor + SeparatorWithAnchor, + Footer } \ No newline at end of file diff --git a/src/fonts/Lato-Black.ttf b/src/fonts/Lato-Black.ttf new file mode 100644 index 0000000..4340502 Binary files /dev/null and b/src/fonts/Lato-Black.ttf differ diff --git a/src/fonts/Lato-BlackItalic.ttf b/src/fonts/Lato-BlackItalic.ttf new file mode 100644 index 0000000..4df1555 Binary files /dev/null and b/src/fonts/Lato-BlackItalic.ttf differ diff --git a/src/fonts/Lato-Bold.ttf b/src/fonts/Lato-Bold.ttf new file mode 100644 index 0000000..016068b Binary files /dev/null and b/src/fonts/Lato-Bold.ttf differ diff --git a/src/fonts/Lato-BoldItalic.ttf b/src/fonts/Lato-BoldItalic.ttf new file mode 100644 index 0000000..a05d503 Binary files /dev/null and b/src/fonts/Lato-BoldItalic.ttf differ diff --git a/src/fonts/Lato-Italic.ttf b/src/fonts/Lato-Italic.ttf new file mode 100644 index 0000000..0d0f69e Binary files /dev/null and b/src/fonts/Lato-Italic.ttf differ diff --git a/src/fonts/Lato-Light.ttf b/src/fonts/Lato-Light.ttf new file mode 100644 index 0000000..dfa72ce Binary files /dev/null and b/src/fonts/Lato-Light.ttf differ diff --git a/src/fonts/Lato-LightItalic.ttf b/src/fonts/Lato-LightItalic.ttf new file mode 100644 index 0000000..12f2b6c Binary files /dev/null and b/src/fonts/Lato-LightItalic.ttf differ diff --git a/src/fonts/Lato-Regular.ttf b/src/fonts/Lato-Regular.ttf new file mode 100644 index 0000000..bb2e887 Binary files /dev/null and b/src/fonts/Lato-Regular.ttf differ diff --git a/src/fonts/Lato-Thin.ttf b/src/fonts/Lato-Thin.ttf new file mode 100644 index 0000000..ba58da1 Binary files /dev/null and b/src/fonts/Lato-Thin.ttf differ diff --git a/src/fonts/Lato-ThinItalic.ttf b/src/fonts/Lato-ThinItalic.ttf new file mode 100644 index 0000000..4d82766 Binary files /dev/null and b/src/fonts/Lato-ThinItalic.ttf differ diff --git a/src/index.css b/src/index.css index 7c931c9..ee0e987 100644 --- a/src/index.css +++ b/src/index.css @@ -3,7 +3,7 @@ /* @tailwind component; */ :root { - font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; + font-family: 'Lato', sans-serif; line-height: 1.5; font-weight: 400; diff --git a/src/lato.css b/src/lato.css new file mode 100644 index 0000000..2eb9e4f --- /dev/null +++ b/src/lato.css @@ -0,0 +1,88 @@ +@font-face { + font-family: 'Lato'; + src: url('./fonts/Lato-Light.ttf') format('truetype'); + font-weight: 300; + font-display: swap; + font-style: normal; +} + + +@font-face { + font-family: 'Lato'; + src: url('./fonts/Lato-LightItalic.ttf') format('truetype'); + font-weight: 300; + font-display: swap; + font-style: italic; +} + + +@font-face { + font-family: 'Lato'; + src: url('./fonts/Lato-Regular.ttf') format('truetype'); + font-weight: 400; + font-display: swap; + font-style: normal; +} + + +@font-face { + font-family: 'Lato'; + src: url('./fonts/Lato-Italic.ttf') format('truetype'); + font-weight: 400; + font-display: swap; + font-style: italic; +} + + +@font-face { + font-family: 'Lato'; + src: url('./fonts/Lato-Medium.ttf') format('truetype'); + font-weight: 500; + font-display: swap; + font-style: normal; +} + + +@font-face { + font-family: 'Lato'; + src: url('./fonts/Lato-MediumItalic.ttf') format('truetype'); + font-weight: 500; + font-display: swap; + font-style: italic; +} + + +@font-face { + font-family: 'Lato'; + src: url('./fonts/Lato-Bold.ttf') format('truetype'); + font-weight: 700; + font-display: swap; + font-style: normal; +} + + +@font-face { + font-family: 'Lato'; + src: url('./fonts/Lato-BoldItalic.ttf') format('truetype'); + font-weight: 700; + font-display: swap; + font-style: italic; +} + + +@font-face { + font-family: 'Lato'; + src: url('./fonts/Lato-Black.ttf') format('truetype'); + font-weight: 900; + font-display: swap; + font-style: normal; +} + + +@font-face { + font-family: 'Lato'; + src: url('./fonts/Lato-BlackItalic.ttf') format('truetype'); + font-weight: 900; + font-display: swap; + font-style: italic; +} diff --git a/src/layouts/Default/Default.tsx b/src/layouts/Default/Default.tsx index 318a02a..7b93943 100644 --- a/src/layouts/Default/Default.tsx +++ b/src/layouts/Default/Default.tsx @@ -1,5 +1,5 @@ import { ComponentChildren } from "preact"; -import { Header } from "../../components"; +import { Footer, Header } from "../../components"; type ChildrenProps = { children: ComponentChildren @@ -12,38 +12,7 @@ function DefaultLayout({ children }: ChildrenProps) {
{children}
- +