diff --git a/astro.config.ts b/astro.config.ts index 410398e1..ed30aa6f 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -16,7 +16,7 @@ const getDevCssClassPrefix = (filename: string): string => { return filename .slice(filename.indexOf(PATH_PREFIX) + PATH_PREFIX.length) .replace('.module.scss', '') - .replace(/[/?\\]/, '-') + .replace(/[/?\\]/g, '-') .replace('?', '-') } diff --git a/public/icons/comments-outline.svg b/public/icons/comments-outline.svg new file mode 100644 index 00000000..e79a474f --- /dev/null +++ b/public/icons/comments-outline.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/icons/pencil-outline.svg b/public/icons/pencil-outline.svg new file mode 100644 index 00000000..25e1ded8 --- /dev/null +++ b/public/icons/pencil-outline.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/icons/share-outline.svg b/public/icons/share-outline.svg new file mode 100644 index 00000000..a12b4c26 --- /dev/null +++ b/public/icons/share-outline.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/Layouts/MainLayout.tsx b/src/components/Layouts/MainLayout.tsx index 7d9aa638..d2f4659d 100644 --- a/src/components/Layouts/MainLayout.tsx +++ b/src/components/Layouts/MainLayout.tsx @@ -13,10 +13,14 @@ type MainLayoutProps = { } export const MainLayout = (props: MainLayoutProps) => { + const isHeaderFixed = props.isHeaderFixed !== undefined ? props.isHeaderFixed : true + return ( <> -
-
{props.children}
+
+
+ {props.children} +