Skip to content

Commit 6d8820c

Browse files
authored
Merge pull request #159 from kohta9521/feature/Issues_#144
Feature/issues #144
2 parents cf145a8 + 9c243ab commit 6d8820c

File tree

6 files changed

+22
-36
lines changed

6 files changed

+22
-36
lines changed

frontend/src/app/about/page.tsx

+3-5
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,15 @@ const About = () => {
1313
id={1}
1414
enTitle='About'
1515
jaTitle='# このサイトについて'
16-
desc='このサイトは、Next.jsで作成したサンプルサイトです。'
16+
desc='このサイトは、kohtaのテックブログサイトです。内容はテックに留まらずフリーランス関連もございます。'
1717
>
1818
<SubPageSecTitle id={1} title='What is this site?' />
1919
<SubPageTitle id={1} enTitle='About' jaTitle='このサイトについて' />
20-
<SubMainText id={1} text='このサイトは、Next.jsで作成したサンプルサイトです。' />
2120
<SubMainText
2221
id={2}
23-
text='このブログは、私の学んだ知識と経験を共有するためのプラットフォームです。ここでは、ウェブ開発、プログラミング、テクノロジーのトレンドなど、私が情熱を持って'
22+
text='このサイトはブログサイトです。
23+
Kohtaの日々学んでいるエンジニア関連の内容。開発関連・トレンドの技術・面白い技術などをご覧いただけます。単にエンジニア関連の内容だけとなると面白くないためフリーランスとして活動をしているというのを強みにエンジニアのフリーランス活動をするにおいて必要な情報。仕事のもらい方・節税方法・開業をするにあたっての流れなどもご覧いただけるでしょう。'
2424
/>
25-
<SubMainText id={3} text='このサイトは、Next.jsで作成したサンプルサイトです。' />
26-
<SubMainText id={4} text='このサイトは、Next.jsで作成したサンプルサイトです。' />
2725
</SubPageLayout>
2826
)
2927
}

frontend/src/app/blog/components/BlogGet.module.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
display: block;
9595
width: 5%;
9696
height: 4px;
97-
background-color: #000000;
97+
background-color: #000dff;
9898
margin-bottom: 40px;
9999
margin-left: -30px;
100100
}

frontend/src/components/atoms/MenuMainList.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import React from 'react'
2+
3+
// next
24
import Link from 'next/link'
35

46
// scss
@@ -19,4 +21,4 @@ const MenuMainList = ({ id, link, text }: MenuMainListProps) => {
1921
)
2022
}
2123

22-
export default MenuMainList
24+
export default MenuMainList
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,22 @@
11
.menu {
2+
display: block;
23
width: 100%;
3-
height: 100px;
4-
text-decoration: none;
4+
height: 45px;
55
.text {
6-
position: relative;
7-
width: auto;
8-
color: rgb(255, 255, 255);
9-
font-size: 60px;
10-
font-weight: 700;
6+
color: white;
7+
font-size: 30px;
8+
font-weight: bold;
119
&:hover {
12-
color: rgb(0, 34, 255);
13-
transform: all 0.3s;
14-
}
15-
&::after {
16-
content: '';
17-
width: 100%;
18-
position: absolute;
19-
left: 0;
20-
bottom: -10px; /*テキストからの距離*/
21-
width: 0%; /*初期状態では下線非表示*/
22-
height: 2px; /*下線の高さ*/
23-
background: #2600ff; /*下線の色*/
24-
z-index: -1;
25-
transition: all 0.4s; /*アニメーション速度*/
26-
}
27-
&:hover::after {
28-
width: 100%; /*ホバー時に下線表示*/
10+
color: #cbcbcb;
11+
transition: all 0.2s;
2912
}
3013
}
3114
}
3215

3316
@media screen and (max-width: 1280px) {
34-
}
35-
@media screen and (max-width: 768px) {
17+
.menu {
18+
.text {
19+
color: white;
20+
}
21+
}
3622
}

frontend/src/components/organisms/Menu.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const Menu = ({ isOpen }: MenuProps) => {
1616
<div className={styles.container}>
1717
<div className={styles.leftBox}>
1818
<h2 className={styles.menuTitle}>MainMenu</h2>
19-
<MenuMainList id={1} link='#about' text='About Me' />
19+
<MenuMainList id={1} link='/about' text='About Me' />
2020
<MenuMainList id={1} link='#about' text='About Me' />
2121
</div>
2222
<div className={styles.centerBox}>

frontend/src/components/templates/styles/SubPageLayout.module.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
width: 100vw;
33
height: auto;
44
.hero {
5-
width: 60%;
5+
width: 50%;
66
height: auto;
77
border-radius: 20px;
88
padding-top: 30px;
@@ -21,7 +21,7 @@
2121
.jaTitle {
2222
font-size: 20px;
2323
font-weight: 550;
24-
color: rgb(247, 0, 255);
24+
color: rgb(0, 42, 255);
2525
}
2626
}
2727
.rightBox {

0 commit comments

Comments
 (0)