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

feat: Terralist Homepage #30

Merged
merged 18 commits into from
Jul 31, 2022
Merged

feat: Terralist Homepage #30

merged 18 commits into from
Jul 31, 2022

Conversation

valentindeaconu
Copy link
Collaborator

@valentindeaconu valentindeaconu commented Jul 30, 2022

This PR adds support for HTML templating and serving HTML content.

In this PR is also developed the home page. The home page will represent the Terralist entry point, served on / route, and will contain either the login page, where the user will be asked to use its third-party account to authenticate or the Terralist home, where the user can start browsing available content (modules and providers) or manage his account (manage authorities and create API keys).

HTML templating is achieved using the html/template package. The templates are embedded into the binary using the embed package. To increase the possibilities for the templating engine, Masterminds/sprig library is also included.

Web styling is not the subject of this PR.

@valentindeaconu valentindeaconu marked this pull request as draft July 30, 2022 15:14
@valentindeaconu valentindeaconu marked this pull request as ready for review July 31, 2022 15:22
@valentindeaconu valentindeaconu merged commit 661f9ab into master Jul 31, 2022
@valentindeaconu valentindeaconu deleted the feat/home-page branch July 31, 2022 15:22
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.

None yet

1 participant