diff --git a/.editorconfig b/.editorconfig new file mode 100644 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,7 @@ +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/.gitignore b/.gitignore new file mode 100644 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# NOTE: Add files created by your operating system, IDE, or text editor in a per-user .gitignore file: +# git config --global core.excludesfile $HOME/.gitignore diff --git a/webroot/css/global.css b/webroot/css/global.css new file mode 100644 --- /dev/null +++ b/webroot/css/global.css @@ -0,0 +1,54 @@ +body { + font-family: "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol", Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 19px; + margin: 0; + background-color: #f3f5f7; + line-height: 1.6rem; +} + +p { + margin: 1.5rem 0; +} + +a { + color: #4a5f88; +} + +header > div, +main > div { + margin: 0 auto; + width: 90vw; +} + +header { + text-align: center; + padding-top: 1rem; + padding-bottom: 1rem; + background-color: #4a5f88; +} + +main { + padding-top: .5rem; + text-align: center; + padding-bottom: 4rem; +} + +@media (min-width: 500px) { + header > div, + main > div { + max-width: 350px; + } +} + +@media (min-height: 550px) { + header { + padding-top: 10vh; + } +} + +@media (min-height: 700px) { + header { + padding-top: 25vh; + } +} + diff --git a/webroot/favicon.ico b/webroot/favicon.ico new file mode 100644 diff --git a/webroot/img/logo.png b/webroot/img/logo.png new file mode 100644 diff --git a/webroot/index.html b/webroot/index.html new file mode 100644 --- /dev/null +++ b/webroot/index.html @@ -0,0 +1,40 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="UTF-8"> + <title>Phorge</title> + <meta content="width=device-width, initial-scale=1, user-scalable=no" name="viewport"> + <link href="/favicon.ico" rel="icon"/> + <link rel="stylesheet" href="/css/global.css" /> +</head> +<body> + +<header> + <div> + <img src="/img/logo.png" alt="Phorge Logo" width="80" height="80" /> + </div> +</header> + +<main> + <div> + <p> + <em>Phorge</em> is an open source, community-driven platform + for collaborating, managing, organizing and reviewing software development projects. + </p> + + <p> + You can learn more about <strong><a href="https://we.phorge.it/book/phabricator/article/introduction/" rel="noreferrer" target="_blank">the features of + Phorge</a></strong>, and <strong><a href="https://we.phorge.it/book/phabricator/article/installation_guide/" rel="noreferrer">how to install Phorge</a></strong>. + </p> + + <p> + You can also <strong><a href="https://we.phorge.it/ponder/" rel="noreferrer" target="_blank">browse questions and answers</a></strong> or + <strong><a class="remarkup-link" href="https://we.phorge.it/ponder/question/create/" rel="noreferrer" target="_blank">ask a new question</a></strong>. + Finally, if you'd like to get involved, you can learn about + <strong><a class="remarkup-link" href="https://we.phorge.it/book/phabcontrib/" rel="noreferrer" target="_blank">contributing to Phorge</a></strong> + </p> + </div> +</main> + +</body> +</html> diff --git a/webroot/robots.txt b/webroot/robots.txt new file mode 100644