File tree Expand file tree Collapse file tree 6 files changed +29
-9
lines changed
[article_year]/[month]/[aid] Expand file tree Collapse file tree 6 files changed +29
-9
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,7 @@ html {
247247 margin-top : 40px ;
248248 top : 20px ;
249249 max-width : 250px ;
250+ background-color : transparent;
250251 /* スクロール時に追従 */
251252}
252253
@@ -295,12 +296,17 @@ html {
295296 .other-articles {
296297 position : relative;
297298 /* stickyを無効化 */
298- max-width : none;
299+ max-width : 90vw ;
300+ margin : 0 auto;
299301 top : auto;
300302 margin-top : 20px ;
301303 /* 記事の下部に配置 */
302304 }
303305
306+ .other-articles .article-link {
307+ width : 90% ;
308+ }
309+
304310 .article-content {
305311 position : relative;
306312 width : calc (100vw - 64px );
Original file line number Diff line number Diff line change 88}
99
1010.article-link {
11+ box-sizing : border-box;
1112 text-decoration : none;
1213 color : inherit;
1314 display : block;
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ export default async function Home() {
1212 < section className = "title" >
1313 < h1 > { t ( "article.title" ) } </ h1 >
1414 </ section >
15+ < section className = "description" >
16+ < p > { t ( "article.description.msg1" ) } </ p >
17+ < p > { t ( "article.description.msg2" ) } </ p >
18+ </ section >
1519 < section className = "articles" >
1620 { articles . map (
1721 ( article : Article ) : ReactNode => generateArticleButton ( article )
Original file line number Diff line number Diff line change @@ -125,9 +125,16 @@ main>section.title>h1 {
125125 padding : 2rem ;
126126}
127127
128+ section .title {
129+ background-color : transparent;
130+ }
131+
128132section {
129133 padding : 1rem ;
130134 margin : 1rem ;
135+ border-radius : 16px ;
136+ background-color : color-mix (in srgb, transparent 50% , var (--background ));
137+ backdrop-filter : blur (4px );
131138}
132139
133140section h1 ,
Original file line number Diff line number Diff line change 33import { Chakra_Petch } from "next/font/google" ;
44import Link from "next/link" ;
55import Image from "next/image" ; // Import Image component
6- import TheInfiniteImage from "../../../public/The-Infinite.svg" ;
6+ // import TheInfiniteImage from "../../../public/The-Infinite.svg";
77import React , { useState } from "react" ;
88import { TheInfiniteX } from "./img" ;
99const chakraPetch = Chakra_Petch ( {
@@ -56,7 +56,7 @@ export default function Header() {
5656 justifyContent : "flex-start" ,
5757 } }
5858 >
59- < Image src = { TheInfiniteImage } alt = "" width = { 30 } height = { 30 } />
59+ { /* <Image src={TheInfiniteImage} alt="" width={30} height={30} /> */ }
6060 < h1
6161 className = { `${ chakraPetch . className } italic font-semibold text-3xl` } // Use Tailwind classes
6262 style = { {
Original file line number Diff line number Diff line change @@ -7,12 +7,14 @@ export default function Home() {
77 < section className = "title" >
88 < h1 > { t ( "home.title" ) } </ h1 >
99 </ section >
10- < p > { t ( "home.description.msg1" ) } </ p >
11- < p > { t ( "home.description.msg2" ) } </ p >
12- < p > { t ( "home.description.msg3" ) } </ p >
13- < p > { t ( "home.description.msg4" ) } </ p >
14- < p > { t ( "home.description.msg5" ) } </ p >
15- < p > { t ( "home.description.msg6" ) } </ p >
10+ < section >
11+ < p > { t ( "home.description.msg1" ) } </ p >
12+ < p > { t ( "home.description.msg2" ) } </ p >
13+ < p > { t ( "home.description.msg3" ) } </ p >
14+ < p > { t ( "home.description.msg4" ) } </ p >
15+ < p > { t ( "home.description.msg5" ) } </ p >
16+ < p > { t ( "home.description.msg6" ) } </ p >
17+ </ section >
1618 </ >
1719 ) ;
1820}
You can’t perform that action at this time.
0 commit comments