Skip to content

Commit

Permalink
feat: use contact form on contact page
Browse files Browse the repository at this point in the history
  • Loading branch information
iisakkirotko committed Sep 5, 2024
1 parent 260415f commit 40430f6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 23 deletions.
36 changes: 30 additions & 6 deletions solara/website/pages/contact/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,34 @@
from pathlib import Path

import solara
from solara.website.components.sidebar import Sidebar
from solara.website.components.contact import Contact

title = "Contact"
HERE = Path(__file__)

Page = solara.Markdown(Path(HERE.parent / "contact.md").read_text())
Sidebar = Sidebar


@solara.component
def Page():
solara.Markdown("""
# Contact
## Business
Solara is developed mostly by Maarten Breddels and Mario Buikhuizen, Founders
of [Widgetti](https://widgetti.io/).
For business inquiries, please reach out using the form below, or send an email to [email protected]](mailto:[email protected]) regarding Solara, or [[email protected]](mailto:[email protected]) regarding more general Jupyter related matters.
""")
Contact(
title="Contact Us", subtitle="Please fill out the form below and we will get back to you as soon as possible.", email_subject="Contact Form Submission"
)
solara.Markdown(
"""
## Community
If you want to share your thoughts, share your experiences, or just want to talk
to other people using and developing on Solara, consider using [GitHub discussions](https://github.com/widgetti/solara/discussions) for asynchronous discussions
or consider joining discord for more synchronous discussions.
[![Discord Shield](https://discordapp.com/api/guilds/1106593685241614489/widget.png?style=banner2)](https://discord.gg/dm4GKNDjXN)
"""
)
17 changes: 0 additions & 17 deletions solara/website/pages/contact/contact.md

This file was deleted.

0 comments on commit 40430f6

Please sign in to comment.