-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
117 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { style } from '@vanilla-extract/css'; | ||
|
||
export const section = style({ | ||
maxWidth: '720px', | ||
padding: '0 16px', | ||
margin: '0 auto', | ||
boxSizing: 'content-box', | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { style } from '@vanilla-extract/css'; | ||
|
||
export const section = style({ | ||
maxWidth: '720px', | ||
padding: '0 16px', | ||
margin: '0 auto', | ||
boxSizing: 'content-box', | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
import { MeHeaderContent } from '@/features/HeaderContent'; | ||
import { Logo } from '@/features/Logo' | ||
import { MyHeader } from '@features/Header'; | ||
|
||
import { section } from './layout.css' | ||
|
||
function MeLayout({ children }: { children: React.ReactNode }) { | ||
return ( | ||
<> | ||
<header> | ||
<Logo /> | ||
</header> | ||
<MeHeaderContent /> | ||
{children} | ||
<MyHeader /> | ||
<section className={section}> | ||
{children} | ||
</section> | ||
</> | ||
) | ||
); | ||
} | ||
|
||
export default MeLayout | ||
export default MeLayout; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { style } from '@vanilla-extract/css'; | ||
|
||
export const minimizeStyle = style({}); | ||
|
||
export const header = style({ | ||
background: 'linear-gradient(290.64deg, #FF8058 6.56%, #FB7A93 100.28%)', | ||
|
||
selectors: { | ||
[`&.${minimizeStyle}`]: { | ||
position: 'sticky', | ||
top: 0, | ||
}, | ||
}, | ||
}); | ||
|
||
export const headerContent = style({ | ||
maxWidth: '720px', | ||
margin: '0 auto', | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { style } from '@vanilla-extract/css'; | ||
|
||
export const minimizeStyle = style({}); | ||
|
||
export const header = style({ | ||
background: 'linear-gradient(270deg, #0989FF 0%, #713EFF 98.13%)', | ||
|
||
selectors: { | ||
[`&.${minimizeStyle}`]: { | ||
position: 'sticky', | ||
top: 0, | ||
}, | ||
}, | ||
}); | ||
|
||
export const headerContent = style({ | ||
maxWidth: '720px', | ||
margin: '0 auto', | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as MyProfile } from './MyProfile'; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { default as MyHeader } from './MyHeader'; | ||
export { default as FriendHeader } from './FriendHeader'; |
10 changes: 0 additions & 10 deletions
10
services/web/src/features/HeaderContent/FriendHeaderContent.css.ts
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
services/web/src/features/HeaderContent/MeHeaderContent.css.ts
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
services/web/src/features/HeaderContent/components/MeProfile/index.ts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.