You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
728 B
Python
32 lines
728 B
Python
4 months ago
|
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.Text("Buzzwordz Inc."),
|
||
|
rio.Text(
|
||
|
"Hyper Dyper Website",
|
||
|
style="dim",
|
||
|
),
|
||
|
spacing=1,
|
||
|
margin=2,
|
||
|
align_x=0.5,
|
||
|
),
|
||
|
color="hud",
|
||
|
corner_radius=0,
|
||
|
)
|
||
|
|