Publish to git
This commit is contained in:
32
inventory/components/footer.py
Normal file
32
inventory/components/footer.py
Normal file
@@ -0,0 +1,32 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from dataclasses import KW_ONLY, field
|
||||
from typing import * # type: ignore
|
||||
|
||||
import rio
|
||||
|
||||
from .. import components as comps
|
||||
|
||||
class Footer(rio.Component):
|
||||
"""
|
||||
A simple, static component which displays a footer with the company name and
|
||||
website name.
|
||||
"""
|
||||
|
||||
def build(self) -> rio.Component:
|
||||
return rio.Card(
|
||||
content=rio.Column(
|
||||
rio.Icon("rio/logo:fill", width=5, height=5),
|
||||
rio.Text("Buzzwordz Inc."),
|
||||
rio.Text(
|
||||
"Hyper Dyper Website",
|
||||
style="dim",
|
||||
),
|
||||
spacing=1,
|
||||
margin=2,
|
||||
align_x=0.5,
|
||||
),
|
||||
color="hud",
|
||||
corner_radius=0,
|
||||
)
|
||||
|
Reference in New Issue
Block a user