-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
115 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
body { | ||
.theme { | ||
padding-top: 60px; | ||
padding-bottom: 60px; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,15 @@ | ||
<!DOCTYPE html> | ||
<twig:Layout seo="{{ seo }}" /> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> | ||
<link rel="icon" type="image/png" href="{{ asset('images/logo.png') }}"> | ||
<title>{{ seo.title }}</title> | ||
<meta name="description" content="{{ seo.description }}" /> | ||
<link rel="stylesheet" href="{{ asset('styles/app.scss') }}"> | ||
{{ importmap('app') }} | ||
</head> | ||
<body id="{{ seo.page }}"> | ||
<twig:Content seo="{{ seo }}" /> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div{{ attributes }}> | ||
<div class="vh-100 theme theme-{{ theme.value }}"> | ||
<twig:Header key="{{ theme.value }}" seo="{{ seo }}" theme="{{ theme }}" /> | ||
{% block body %}{% endblock %} | ||
<twig:Footer /> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
<footer class="text-muted d-flex border-top"> | ||
<div class="container-fluid"> | ||
<ul class="nav nav-bottom justify-content-end"> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ path('app_home') }}"> | ||
Home | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</footer> | ||
<div{{ attributes }}> | ||
<footer class="text-muted d-flex border-top"> | ||
<div class="container-fluid"> | ||
<ul class="nav nav-bottom justify-content-end"> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ path('app_home') }}"> | ||
Home | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</footer> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,76 @@ | ||
<header class="navbar navbar-top navbar-expand flex-row"> | ||
<a class="navbar-brand mr-0 mr-md-2" aria-label="Flow Live" href="{{ path('app_home') }}"> | ||
<img src="{{ asset('images/logo.png') }}" width="36" height="36" class="d-block" alt="Flow Live" /> | ||
</a> | ||
<div{{ attributes }}> | ||
<header class="navbar navbar-top navbar-expand flex-row"> | ||
<a class="navbar-brand mr-0 mr-md-2" aria-label="Flow Live" href="{{ path('app_home') }}"> | ||
<img src="{{ asset('images/logo.png') }}" width="36" height="36" class="d-block" alt="Flow Live" /> | ||
</a> | ||
|
||
<div class="navbar-nav-scroll d-none d-md-flex"> | ||
<ul class="navbar-nav bd-navbar-nav flex-row"> | ||
<div class="navbar-nav-scroll d-none d-md-flex"> | ||
<ul class="navbar-nav bd-navbar-nav flex-row"> | ||
<li class="nav-item"> | ||
<a class="nav-link{{ seo.page == 'wave-function-collapse' ? ' active' : '' }}" href="{{ path('app_wave_function_collapse') }}">Wave Function Collapse</a> | ||
</li> | ||
</ul> | ||
</div> | ||
|
||
<ul class="navbar-nav flex-row ms-auto"> | ||
<li class="nav-item"> | ||
<a | ||
class="nav-link" | ||
href="https://github.com/darkwood-com/flow" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
aria-label="GitHub" | ||
> | ||
<twig:ux:icon name="bi:github" class="svg-inline--fa" /> | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link{{ seo.page == 'home' ? ' active' : '' }}" href="{{ path('app_home') }}">Home</a> | ||
<a | ||
class="nav-link" | ||
href="https://twitter.com/darkwood_com" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
aria-label="Twitter" | ||
> | ||
<twig:ux:icon name="bi:twitter" class="svg-inline--fa" /> | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link{{ seo.page == 'wave-function-collapse' ? ' active' : '' }}" href="{{ path('app_wave_function_collapse') }}">Wave Function Collapse</a> | ||
<button | ||
class="nav-link" | ||
aria-label="Theme" | ||
data-action="live#emit" | ||
data-live-event-param="themeChanged" | ||
> | ||
{% if theme.value == 'light' %} | ||
<twig:ux:icon name="bi:brightness-high" class="svg-inline--fa fa-w-16" | ||
stroke="currentColor" | ||
stroke-width="0.2px" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
/> | ||
{% elseif theme.value == 'dark' %} | ||
<twig:ux:icon name="bi:moon" class="svg-inline--fa fa-w-16" | ||
stroke="currentColor" | ||
stroke-width="0.2px" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
/> | ||
{% elseif theme.value == 'sepia' %} | ||
<twig:ux:icon name="simple-line-icons:cup" class="svg-inline--fa fa-w-16" | ||
stroke="currentColor" | ||
stroke-width="0.2px" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
/> | ||
{% endif %} | ||
</button> | ||
</li> | ||
</ul> | ||
</div> | ||
|
||
<ul class="navbar-nav flex-row ms-auto"> | ||
<li class="nav-item"> | ||
<a | ||
class="nav-link" | ||
href="https://github.com/darkwood-com/flow" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
aria-label="GitHub" | ||
> | ||
<twig:ux:icon name="bi:github" class="svg-inline--fa" /> | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a | ||
class="nav-link" | ||
href="https://twitter.com/darkwood_com" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
aria-label="Twitter" | ||
> | ||
<twig:ux:icon name="bi:twitter" class="svg-inline--fa" /> | ||
</a> | ||
</li> | ||
</header> | ||
<ul class="nav nav-bar-bottom fixed-bottom justify-content-center d-flex d-md-none"> | ||
<li class="nav-item"> | ||
<button | ||
class="nav-link" | ||
aria-label="Theme" | ||
data-action="live#emit" | ||
data-live-event-param="themeChanged" | ||
> | ||
{% if theme.value == 'light' %} | ||
<twig:ux:icon name="bi:brightness-high" class="svg-inline--fa fa-w-16" | ||
stroke="currentColor" | ||
stroke-width="0.2px" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
/> | ||
{% elseif theme.value == 'dark' %} | ||
<twig:ux:icon name="bi:moon" class="svg-inline--fa fa-w-16" | ||
stroke="currentColor" | ||
stroke-width="0.2px" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
/> | ||
{% elseif theme.value == 'sepia' %} | ||
<twig:ux:icon name="simple-line-icons:cup" class="svg-inline--fa fa-w-16" | ||
stroke="currentColor" | ||
stroke-width="0.2px" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
/> | ||
{% endif %} | ||
</button> | ||
<a class="nav-link{{ seo.page == 'wave-function-collapse' ? ' active' : '' }}" href="{{ path('app_wave_function_collapse') }}">Wave Function Collapse</a> | ||
</li> | ||
</ul> | ||
</header> | ||
<ul class="nav nav-bar-bottom fixed-bottom justify-content-center d-flex d-md-none"> | ||
<li class="nav-item"> | ||
<a class="nav-link{{ seo.page == 'app_home' ? ' active' : '' }}" href="{{ path('app_home') }}">Home</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link{{ seo.page == 'wave-function-collapse' ? ' active' : '' }}" href="{{ path('app_wave_function_collapse') }}">Wave Function Collapse</a> | ||
</li> | ||
</ul> | ||
</div> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1 @@ | ||
{% extends 'base.html.twig' %} | ||
|
||
{% block title %}Hello HomeController!{% endblock %} | ||
|
||
{% block body %} | ||
<style> | ||
.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; } | ||
.example-wrapper code { background: #F5F5F5; padding: 2px 6px; } | ||
</style> | ||
|
||
<div class="example-wrapper"> | ||
<h1>Hello {{ controller_name }}! ✅</h1> | ||
|
||
This friendly message is coming from: | ||
<ul> | ||
<li>Your controller at <code>/Users/math/Sites/darkwood/flow-live/src/Controller/HomeController.php</code></li> | ||
<li>Your template at <code>/Users/math/Sites/darkwood/flow-live/templates/home/index.html.twig</code></li> | ||
</ul> | ||
</div> | ||
{% endblock %} | ||
{% extends 'base.html.twig' %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1 @@ | ||
{% extends 'base.html.twig' %} | ||
|
||
{% block title %}Hello WaveFunctionCollapseController!{% endblock %} | ||
|
||
{% block body %} | ||
<style> | ||
.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; } | ||
.example-wrapper code { background: #F5F5F5; padding: 2px 6px; } | ||
</style> | ||
|
||
<div class="example-wrapper"> | ||
<h1>Hello {{ controller_name }}! ✅</h1> | ||
|
||
This friendly message is coming from: | ||
<ul> | ||
<li>Your controller at <code>/Users/math/Sites/darkwood/flow-live/src/Controller/WaveFunctionCollapseController.php</code></li> | ||
<li>Your template at <code>/Users/math/Sites/darkwood/flow-live/templates/wave_function_collapse/index.html.twig</code></li> | ||
</ul> | ||
</div> | ||
{% endblock %} | ||
{% extends 'base.html.twig' %} |