Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added footer component #61

Merged
merged 29 commits into from
Dec 28, 2023
Merged

Added footer component #61

merged 29 commits into from
Dec 28, 2023

Conversation

Dejiah
Copy link
Contributor

@Dejiah Dejiah commented Dec 3, 2023

Hi,

I took some time to add a basic footer component. fixes #35

Currently, only supports one of the layouts from here with the horizontal links and an extra text (e.g. a copyright notice).

Styling is also made flexible such that it should look decent if one of the two elements is omitted.

With both:

FastUI_Footer

With only links:

FastUI_Footer_OnlyLinks

With only extra text:

FastUI_Footer_OnlyText

@Almas-Ali
Copy link
Contributor

LGTM, Great work! 👍🏻

Copy link
Member

@samuelcolvin samuelcolvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise looks good.

packages/fastui/src/components/footer.tsx Outdated Show resolved Hide resolved
# Conflicts:
#	python/fastui/components/__init__.py
#	src/npm-fastui-bootstrap/src/footer.tsx
#	src/npm-fastui/src/components/footer.tsx
#	src/npm-fastui/src/components/index.tsx
Copy link

codecov bot commented Dec 5, 2023

Codecov Report

Merging #61 (0e2f544) into main (0f577cd) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #61   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          120       120           
=========================================
  Hits           120       120           

Copy link
Member

@samuelcolvin samuelcolvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise looking good.

src/npm-fastui/src/components/footer.tsx Outdated Show resolved Hide resolved
Copy link

codecov bot commented Dec 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (106d6c5) 94.01% compared to head (c53dfe9) 94.05%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #61      +/-   ##
==========================================
+ Coverage   94.01%   94.05%   +0.04%     
==========================================
  Files          11       11              
  Lines         718      723       +5     
==========================================
+ Hits          675      680       +5     
  Misses         43       43              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@samuelcolvin samuelcolvin changed the title Added footer component (#35) Added footer component Dec 17, 2023
Copy link
Member

@samuelcolvin samuelcolvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after trying this, it needs some more fixes.

src/npm-fastui-bootstrap/src/footer.tsx Outdated Show resolved Hide resolved
src/npm-fastui-bootstrap/src/footer.tsx Outdated Show resolved Hide resolved
demo/shared.py Outdated Show resolved Hide resolved
demo/shared.py Outdated Show resolved Hide resolved
Dejiah and others added 2 commits December 19, 2023 19:59
Co-authored-by: Samuel Colvin <s@muelcolvin.com>
@Dejiah
Copy link
Contributor Author

Dejiah commented Dec 22, 2023

Thank you, looks great!

@samuelcolvin samuelcolvin merged commit 85b48fc into pydantic:main Dec 28, 2023
16 checks passed
@pleabargain
Copy link

The website is now broken: #135

@Dejiah Dejiah deleted the footer-component branch December 30, 2023 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Specific footer components
4 participants