Skip to content

Commit

Permalink
changes styles on id and index
Browse files Browse the repository at this point in the history
  • Loading branch information
DJIBRILDIA committed Dec 12, 2023
1 parent fb8d23b commit 39edc99
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/pages/conferences/[id].module.scss
Original file line number Diff line number Diff line change
@@ -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;
}
}
}

2 changes: 2 additions & 0 deletions src/pages/conferences/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 };

Expand Down
37 changes: 37 additions & 0 deletions src/pages/conferences/index.module.scss
Original file line number Diff line number Diff line change
@@ -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;
}

2 changes: 2 additions & 0 deletions src/pages/conferences/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 39edc99

Please sign in to comment.