Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
beyaz committed Sep 14, 2024
1 parent c75e620 commit 214eadc
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ protected override Element render()
LineHeight(50), LG(LineHeight(60)),


new HighlightedText { Text = "Write [react.js] application in [c#] language" }
// new HighlightedText { Text = "Write [react.js] application in [c#] language" }

"Write ", new GradientText{ "react.js"}," application in ",new GradientText{"c#"}," language"
},

SpaceY(20),
Expand Down
11 changes: 3 additions & 8 deletions ReactWithDotNet.WebSite/HeaderComponents/Logo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,9 @@ protected override Element render()

new FlexRow
{

HighlightedText.CreateAttractiveText("React")+FontWeight500,

HighlightedText.CreateAttractiveText(" with ")+FontWeight400 + FontSize(15),


HighlightedText.CreateAttractiveText("DotNet")+FontWeight500

new GradientText{"React",FontWeight500},
new GradientText{" with ",FontWeight400 ,FontSize(15)},
new GradientText{"DotNet",FontWeight500}
}
};
}
Expand Down
12 changes: 7 additions & 5 deletions ReactWithDotNet.WebSite/HeaderComponents/MainPageFooter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ sealed class MainPageFooter : PureComponent
{
protected override Element render()
{
return new footer(BorderTop(1, solid, Gray100), Height(50), WidthFull, Background("white"))
return new footer
{
DisplayFlexRowCentered,
new HighlightedText
{
Text = "React [\u2665] .Net"
}
WidthFull,Height(50),
BorderTop(1, solid, Gray100),
Background(White),


"React ", new GradientText { "♥", FontSize20 }, " .Net"
};
}
}
5 changes: 1 addition & 4 deletions ReactWithDotNet.WebSite/Pages/PageAboutUs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ protected override Element render()

new FlexRowCentered(FontSize30, FontWeight600,Color(rgb(31, 38, 46)))
{
new HighlightedText
{
Text = "Build better UI by [c#] and [react]"
}
"Build better UI by ",new GradientText{"c#"}," and ",new GradientText{"react"}
},

SpaceY(30),
Expand Down

0 comments on commit 214eadc

Please sign in to comment.