Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2eaf8c8

Browse files
committed
navbar is now consistent across all pages
1 parent76c15aa commit2eaf8c8

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

‎frontend/src/components/Layout.tsx‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ import React from 'react';
44

55
constLayout=({ children}:{children:React.ReactNode})=>{
66
return(
7-
<sectionclassName="flex flex-col min-h-screen justify-between py-8xl:px-24 md:px-10 px-5relative">
7+
<sectionclassName="flex flex-col min-h-screen justify-between py-8 relative">
88
<Navbar/>
9-
{children}
10-
<Footer/>
9+
10+
<divclassName='xl:px-24 md:px-10 px-5 '>
11+
{children}
12+
<Footer/>
13+
</div>
14+
1115
</section>
1216
);
1317
};

‎frontend/src/pages/events.tsx‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@ import Events from '@/components/Event';
55

66
exportdefaultfunctionEventsPage(){
77
return(
8-
<sectionclassName="flex flex-col min-h-screen justify-between py-8xl:px-24 md:px-10 px-5relative">
8+
<sectionclassName="flex flex-col min-h-screen justify-between py-8 relative">
99
<Navbar/>
10-
<Events/>
11-
<Footer/>
10+
11+
<divclassName='xl:px-24 md:px-10 px-5 '>
12+
<Events/>
13+
<Footer/>
14+
</div>
15+
1216
</section>
1317
);
1418
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp