From 8f462953b79209205a6e10de3b4435b662f38bd4 Mon Sep 17 00:00:00 2001 From: Nick Yeoman Date: Thu, 12 Jun 2025 20:40:25 -0700 Subject: [PATCH] updated first page of framework --- skeleton/novaconium/App/views/index.html.twig | 20 +++++++++-- skeleton/novaconium/public/css/novaconium.css | 33 +++++++++++++++++++ twig/head.html.twig | 6 ++-- twig/nav.html.twig | 20 ++--------- 4 files changed, 55 insertions(+), 24 deletions(-) create mode 100644 skeleton/novaconium/public/css/novaconium.css diff --git a/skeleton/novaconium/App/views/index.html.twig b/skeleton/novaconium/App/views/index.html.twig index 798960c..fc033c9 100644 --- a/skeleton/novaconium/App/views/index.html.twig +++ b/skeleton/novaconium/App/views/index.html.twig @@ -1,7 +1,21 @@ {% extends '@novaconium/master.html.twig' %} {% block content %} -

This is twig

-

Content Here

-{% endblock %} + +

Minimalist PHP framework

+

+ Edit App/routes.php and App/controllers/index.php
+ to customize this page. +

+

Sign in to the Administration

+

Documentation

+ + +

Repository

+

Visit Source Control Repository for Novaconium

+ +{% endblock %} diff --git a/skeleton/novaconium/public/css/novaconium.css b/skeleton/novaconium/public/css/novaconium.css new file mode 100644 index 0000000..3d089c2 --- /dev/null +++ b/skeleton/novaconium/public/css/novaconium.css @@ -0,0 +1,33 @@ +body { + background-color: #1b1f23; + width: 100%; + font-family: 'Fira Code', 'Source Code Pro', monospace; +} + +article { + max-width: 900px; + border: 1px solid #3b444c; + background-color: #14171a; + color: #fff; + margin: 0 auto; + padding: 20px; + margin-top: 50px; +} + +code { + font-family: 'Fira Code', monospace; + font-size: 13px; + background-color: #0d1117; + color: #c9d1d9; + padding: 0.2em 0.4em; + border-radius: 6px; + border: 1px solid #30363d; +} + +.small { + font-size: 10px; +} + +h2 { + margin-top: 40px; +} \ No newline at end of file diff --git a/twig/head.html.twig b/twig/head.html.twig index 7e0479f..650e8ff 100644 --- a/twig/head.html.twig +++ b/twig/head.html.twig @@ -1,5 +1,5 @@ -{{ title | default('Welcome') }} +{{ title | default('Welcome To Novaconium') }} @@ -19,8 +19,8 @@ {# https://developers.google.com/fonts/docs/getting_started #} - + - + \ No newline at end of file diff --git a/twig/nav.html.twig b/twig/nav.html.twig index 0ddd0f3..989ac06 100644 --- a/twig/nav.html.twig +++ b/twig/nav.html.twig @@ -1,21 +1,5 @@ -
- - +