From 39edc99d4d5616b1fa2a768742bf04bdf67aeed3 Mon Sep 17 00:00:00 2001 From: DJIBRILDIA Date: Tue, 12 Dec 2023 12:21:19 +0100 Subject: [PATCH] changes styles on id and index --- src/pages/conferences/[id].module.scss | 27 ++++++++++++++++++ src/pages/conferences/[id].tsx | 2 ++ src/pages/conferences/index.module.scss | 37 +++++++++++++++++++++++++ src/pages/conferences/index.tsx | 2 ++ 4 files changed, 68 insertions(+) create mode 100644 src/pages/conferences/[id].module.scss create mode 100644 src/pages/conferences/index.module.scss diff --git a/src/pages/conferences/[id].module.scss b/src/pages/conferences/[id].module.scss new file mode 100644 index 00000000..1feb0dcc --- /dev/null +++ b/src/pages/conferences/[id].module.scss @@ -0,0 +1,27 @@ + +.layout { + padding: 20px; + background-color: #f0f0f0; + } + + .content-block { + margin-bottom: 20px; + } + + .blog-post { + font-family: 'Arial', sans-serif; + p { + color: #333; + font-size: 16px; + line-height: 1.5; + } + a { + color: #007bff; + text-decoration: none; + + &:hover { + text-decoration: underline; + } + } + } + \ No newline at end of file diff --git a/src/pages/conferences/[id].tsx b/src/pages/conferences/[id].tsx index 5bb52a4f..7f4aa629 100644 --- a/src/pages/conferences/[id].tsx +++ b/src/pages/conferences/[id].tsx @@ -11,6 +11,8 @@ import type { Metadata } from './index'; import type { Entry } from '.'; import type { GetStaticProps, GetStaticPaths } from 'next'; +import './blog-post.scss'; + type Params = { id: string }; type Props = { entry: Entry }; diff --git a/src/pages/conferences/index.module.scss b/src/pages/conferences/index.module.scss new file mode 100644 index 00000000..daa71b43 --- /dev/null +++ b/src/pages/conferences/index.module.scss @@ -0,0 +1,37 @@ +.layout { + padding: 20px; + background-color: #f0f0f0; + } + + .content-block { + margin-bottom: 20px; + } + + .title { + background-color: #007bff; + color: #fff; + padding: 10px; + } + + .entry-item { + padding: 20px; + border: 1px solid #ddd; + margin-bottom: 20px; + } + + .entry-title { + font-size: 24px; + color: #333; + margin-bottom: 10px; + } + + .entry-description { + color: #666; + } + + .pagination { + display: flex; + justify-content: center; + margin-top: 20px; + } + \ No newline at end of file diff --git a/src/pages/conferences/index.tsx b/src/pages/conferences/index.tsx index 9d616af6..83566cc8 100644 --- a/src/pages/conferences/index.tsx +++ b/src/pages/conferences/index.tsx @@ -19,6 +19,8 @@ import type { MarkdownRootNode } from '../../utils/markdown'; import type { GetStaticProps } from 'next'; import type { BuildQueryParamsType } from '../../utils/params'; +import './blog-entries.scss'; + export type Metadata = { leafname?: string; title: string;