first commit
This commit is contained in:
Generated
+8
@@ -0,0 +1,8 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Ignored default folder with query files
|
||||||
|
/queries/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
||||||
Generated
+8
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/portfolio.iml" filepath="$PROJECT_DIR$/.idea/portfolio.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
Generated
+159
@@ -0,0 +1,159 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="MessDetectorOptionsConfiguration">
|
||||||
|
<option name="transferred" value="true" />
|
||||||
|
</component>
|
||||||
|
<component name="PHPCSFixerOptionsConfiguration">
|
||||||
|
<option name="transferred" value="true" />
|
||||||
|
</component>
|
||||||
|
<component name="PHPCodeSnifferOptionsConfiguration">
|
||||||
|
<option name="highlightLevel" value="WARNING" />
|
||||||
|
<option name="transferred" value="true" />
|
||||||
|
</component>
|
||||||
|
<component name="PhpIncludePathManager">
|
||||||
|
<include_path>
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/psr/cache" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/psr/event-dispatcher" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/psr/link" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/psr/clock" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/webmozart/assert" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/phpdocumentor/reflection-common" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/phpdocumentor/type-resolver" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/phpdocumentor/reflection-docblock" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/psr/container" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/psr/log" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/monolog/monolog" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/doctrine/dbal" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/doctrine/instantiator" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/doctrine/event-manager" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/doctrine/deprecations" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/doctrine/lexer" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/doctrine/doctrine-migrations-bundle" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/sebastian/diff" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/doctrine/migrations" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/sebastian/type" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/doctrine/inflector" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/doctrine/sql-formatter" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/doctrine/persistence" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/doctrine/doctrine-bundle" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/doctrine/collections" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/doctrine/orm" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/sebastian/complexity" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/sebastian/version" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/phpstan/phpdoc-parser" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/sebastian/cli-parser" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/sebastian/exporter" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/sebastian/git-state" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/sebastian/comparator" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/sebastian/object-enumerator" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/sebastian/lines-of-code" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/sebastian/object-reflector" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/sebastian/environment" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/sebastian/global-state" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/sebastian/file-filter" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/sebastian/recursion-context" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/twig/extra-bundle" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/twig/twig" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/form" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/asset-mapper" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/runtime" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/deprecation-contracts" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/clock" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/expression-language" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/property-access" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/property-info" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/security-core" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/cache" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/css-selector" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/monolog-bundle" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/polyfill-intl-grapheme" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/nikic/php-parser" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/var-exporter" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/event-dispatcher" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/polyfill-php85" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/options-resolver" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/flex" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/password-hasher" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/security-csrf" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/stopwatch" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/event-dispatcher-contracts" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/phpunit/php-timer" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/translation" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/service-contracts" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/validator" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/dom-crawler" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/translation-contracts" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/framework-bundle" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/http-foundation" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/var-dumper" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/http-client" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/myclabs/deep-copy" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/routing" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/intl" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/phpunit/php-code-coverage" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/finder" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/phpunit/php-file-iterator" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/security-bundle" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/phpunit/php-text-template" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/web-link" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/phpunit/php-invoker" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/stimulus-bundle" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/phpunit/phpunit" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/type-info" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/mailer" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/security-http" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/config" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/dependency-injection" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/doctrine-bridge" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/polyfill-intl-normalizer" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/monolog-bridge" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/http-client-contracts" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/doctrine-messenger" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/web-profiler-bundle" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/polyfill-intl-idn" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/twig-bundle" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/filesystem" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/error-handler" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/staabm/side-effects-detector" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/debug-bundle" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/mime" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/ux-turbo" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/notifier" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/messenger" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/browser-kit" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/http-kernel" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/asset" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/egulias/email-validator" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/maker-bundle" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/console" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/polyfill-deepclone" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/dotenv" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/polyfill-mbstring" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/yaml" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/serializer" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/twig-bridge" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/string" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/polyfill-intl-icu" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/cache-contracts" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/symfony/process" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/phar-io/manifest" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/phar-io/version" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/composer" />
|
||||||
|
<path value="$PROJECT_DIR$/project/vendor/theseer/tokenizer" />
|
||||||
|
</include_path>
|
||||||
|
</component>
|
||||||
|
<component name="PhpProjectSharedConfiguration" php_language_level="8.4">
|
||||||
|
<option name="suggestChangeDefaultLanguageLevel" value="false" />
|
||||||
|
</component>
|
||||||
|
<component name="PhpStanOptionsConfiguration">
|
||||||
|
<option name="transferred" value="true" />
|
||||||
|
</component>
|
||||||
|
<component name="PhpUnit">
|
||||||
|
<phpunit_settings>
|
||||||
|
<PhpUnitSettings custom_loader_path="$PROJECT_DIR$/project/vendor/autoload.php" />
|
||||||
|
</phpunit_settings>
|
||||||
|
</component>
|
||||||
|
<component name="PsalmOptionsConfiguration">
|
||||||
|
<option name="transferred" value="true" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
Generated
+139
@@ -0,0 +1,139 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager">
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/project/src" isTestSource="false" packagePrefix="App\" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/project/tests" isTestSource="true" packagePrefix="App\Tests\" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/composer" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/doctrine/collections" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/doctrine/dbal" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/doctrine/deprecations" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/doctrine/doctrine-bundle" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/doctrine/doctrine-migrations-bundle" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/doctrine/event-manager" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/doctrine/inflector" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/doctrine/instantiator" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/doctrine/lexer" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/doctrine/migrations" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/doctrine/orm" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/doctrine/persistence" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/doctrine/sql-formatter" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/egulias/email-validator" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/monolog/monolog" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/myclabs/deep-copy" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/nikic/php-parser" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/phar-io/manifest" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/phar-io/version" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/phpdocumentor/reflection-common" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/phpdocumentor/reflection-docblock" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/phpdocumentor/type-resolver" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/phpstan/phpdoc-parser" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/phpunit/php-code-coverage" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/phpunit/php-file-iterator" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/phpunit/php-invoker" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/phpunit/php-text-template" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/phpunit/php-timer" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/phpunit/phpunit" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/psr/cache" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/psr/clock" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/psr/container" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/psr/event-dispatcher" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/psr/link" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/psr/log" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/sebastian/cli-parser" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/sebastian/comparator" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/sebastian/complexity" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/sebastian/diff" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/sebastian/environment" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/sebastian/exporter" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/sebastian/file-filter" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/sebastian/git-state" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/sebastian/global-state" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/sebastian/lines-of-code" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/sebastian/object-enumerator" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/sebastian/object-reflector" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/sebastian/recursion-context" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/sebastian/type" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/sebastian/version" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/staabm/side-effects-detector" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/asset" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/asset-mapper" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/browser-kit" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/cache" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/cache-contracts" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/clock" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/config" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/console" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/css-selector" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/debug-bundle" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/dependency-injection" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/deprecation-contracts" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/doctrine-bridge" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/doctrine-messenger" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/dom-crawler" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/dotenv" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/error-handler" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/event-dispatcher" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/event-dispatcher-contracts" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/expression-language" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/filesystem" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/finder" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/flex" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/form" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/framework-bundle" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/http-client" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/http-client-contracts" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/http-foundation" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/http-kernel" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/intl" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/mailer" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/maker-bundle" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/messenger" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/mime" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/monolog-bridge" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/monolog-bundle" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/notifier" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/options-resolver" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/password-hasher" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/polyfill-deepclone" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/polyfill-intl-grapheme" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/polyfill-intl-icu" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/polyfill-intl-idn" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/polyfill-intl-normalizer" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/polyfill-mbstring" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/polyfill-php85" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/process" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/property-access" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/property-info" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/routing" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/runtime" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/security-bundle" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/security-core" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/security-csrf" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/security-http" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/serializer" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/service-contracts" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/stimulus-bundle" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/stopwatch" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/string" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/translation" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/translation-contracts" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/twig-bridge" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/twig-bundle" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/type-info" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/ux-turbo" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/validator" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/var-dumper" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/var-exporter" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/web-link" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/web-profiler-bundle" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/symfony/yaml" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/theseer/tokenizer" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/twig/extra-bundle" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/twig/twig" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/project/vendor/webmozart/assert" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
Generated
+4
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings" defaultProject="true" />
|
||||||
|
</project>
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
services:
|
||||||
|
php:
|
||||||
|
build:
|
||||||
|
context: ./docker/php
|
||||||
|
container_name: portfolio_php
|
||||||
|
working_dir: /app
|
||||||
|
volumes:
|
||||||
|
- ./project:/app
|
||||||
|
ports:
|
||||||
|
- "8000:8000"
|
||||||
|
environment:
|
||||||
|
APP_ENV: dev
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
FROM php:8.4-cli
|
||||||
|
|
||||||
|
# Systemowe zależności potrzebne do budowy rozszerzeń PHP
|
||||||
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
git \
|
||||||
|
unzip \
|
||||||
|
libicu-dev \
|
||||||
|
libzip-dev \
|
||||||
|
libpq-dev \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# Rozszerzenia PHP wymagane przez Symfony
|
||||||
|
RUN docker-php-ext-install -j"$(nproc)" \
|
||||||
|
intl \
|
||||||
|
opcache \
|
||||||
|
zip \
|
||||||
|
pdo_pgsql \
|
||||||
|
pdo_mysql
|
||||||
|
|
||||||
|
# Composer (z oficjalnego obrazu)
|
||||||
|
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
EXPOSE 8000
|
||||||
|
|
||||||
|
# Wbudowany serwer PHP serwujący katalog public/
|
||||||
|
CMD ["php", "-S", "0.0.0.0:8000", "-t", "public"]
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
# editorconfig.org
|
||||||
|
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[{compose.yaml,compose.*.yaml}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
# In all environments, the following files are loaded if they exist,
|
||||||
|
# the latter taking precedence over the former:
|
||||||
|
#
|
||||||
|
# * .env contains default values for the environment variables needed by the app
|
||||||
|
# * .env.local uncommitted file with local overrides
|
||||||
|
# * .env.$APP_ENV committed environment-specific defaults
|
||||||
|
# * .env.$APP_ENV.local uncommitted environment-specific overrides
|
||||||
|
#
|
||||||
|
# Real environment variables win over .env files.
|
||||||
|
#
|
||||||
|
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
|
||||||
|
# https://symfony.com/doc/current/configuration/secrets.html
|
||||||
|
#
|
||||||
|
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
|
||||||
|
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
|
||||||
|
|
||||||
|
###> symfony/framework-bundle ###
|
||||||
|
APP_ENV=dev
|
||||||
|
APP_SECRET=
|
||||||
|
APP_SHARE_DIR=var/share
|
||||||
|
###< symfony/framework-bundle ###
|
||||||
|
|
||||||
|
###> symfony/routing ###
|
||||||
|
# Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
|
||||||
|
# See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
|
||||||
|
DEFAULT_URI=http://localhost
|
||||||
|
###< symfony/routing ###
|
||||||
|
|
||||||
|
###> doctrine/doctrine-bundle ###
|
||||||
|
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
|
||||||
|
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
|
||||||
|
#
|
||||||
|
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db"
|
||||||
|
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4"
|
||||||
|
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
|
||||||
|
DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
|
||||||
|
###< doctrine/doctrine-bundle ###
|
||||||
|
|
||||||
|
###> symfony/messenger ###
|
||||||
|
# Choose one of the transports below
|
||||||
|
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
|
||||||
|
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
|
||||||
|
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
|
||||||
|
###< symfony/messenger ###
|
||||||
|
|
||||||
|
###> symfony/mailer ###
|
||||||
|
MAILER_DSN=null://null
|
||||||
|
###< symfony/mailer ###
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
###> symfony/framework-bundle ###
|
||||||
|
APP_SECRET=c50612334b17848b5cedbd7aca641342
|
||||||
|
###< symfony/framework-bundle ###
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# define your env variables for the test env here
|
||||||
|
KERNEL_CLASS='App\Kernel'
|
||||||
|
APP_SECRET='$ecretf0rt3st'
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
|
||||||
|
###> symfony/framework-bundle ###
|
||||||
|
/.env.local
|
||||||
|
/.env.local.php
|
||||||
|
/.env.*.local
|
||||||
|
/config/secrets/prod/prod.decrypt.private.php
|
||||||
|
/public/bundles/
|
||||||
|
/var/
|
||||||
|
/vendor/
|
||||||
|
###< symfony/framework-bundle ###
|
||||||
|
|
||||||
|
###> phpunit/phpunit ###
|
||||||
|
/phpunit.xml
|
||||||
|
/.phpunit.cache/
|
||||||
|
###< phpunit/phpunit ###
|
||||||
|
|
||||||
|
###> symfony/asset-mapper ###
|
||||||
|
/public/assets/
|
||||||
|
/assets/vendor/
|
||||||
|
###< symfony/asset-mapper ###
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
import './stimulus_bootstrap.js';
|
||||||
|
import './styles/app.css';
|
||||||
|
|
||||||
|
// Delikatne odsłanianie sekcji przy scrollu.
|
||||||
|
const io = new IntersectionObserver((entries) => {
|
||||||
|
for (const entry of entries) {
|
||||||
|
if (entry.isIntersecting) {
|
||||||
|
entry.target.classList.add('is-visible');
|
||||||
|
io.unobserve(entry.target);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, { threshold: 0.12 });
|
||||||
|
|
||||||
|
function initReveal() {
|
||||||
|
document.querySelectorAll('.reveal:not(.is-visible)').forEach((el) => io.observe(el));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Ten plik ładuje się jako moduł (defer), więc DOM jest już sparsowany.
|
||||||
|
// Startujemy od razu, a przy nawigacji Turbo ponawiamy obserwację.
|
||||||
|
initReveal();
|
||||||
|
document.addEventListener('turbo:load', initReveal);
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"controllers": {
|
||||||
|
"@symfony/ux-turbo": {
|
||||||
|
"turbo-core": {
|
||||||
|
"enabled": true,
|
||||||
|
"fetch": "eager",
|
||||||
|
"autoimport": {
|
||||||
|
"@symfony/ux-turbo/dist/mercure_stream_source_element.js": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mercure-turbo-stream": {
|
||||||
|
"enabled": false,
|
||||||
|
"fetch": "eager"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"entrypoints": []
|
||||||
|
}
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
const nameCheck = /^[-_a-zA-Z0-9]{4,22}$/;
|
||||||
|
const tokenCheck = /^[-_/+a-zA-Z0-9]{24,}$/;
|
||||||
|
|
||||||
|
// Generate and double-submit a CSRF token in a form field and a cookie, as defined by Symfony's SameOriginCsrfTokenManager
|
||||||
|
// Use `form.requestSubmit()` to ensure that the submit event is triggered. Using `form.submit()` will not trigger the event
|
||||||
|
// and thus this event-listener will not be executed.
|
||||||
|
document.addEventListener('submit', function (event) {
|
||||||
|
generateCsrfToken(event.target);
|
||||||
|
}, true);
|
||||||
|
|
||||||
|
// When @hotwired/turbo handles form submissions, send the CSRF token in a header in addition to a cookie
|
||||||
|
// The `framework.csrf_protection.check_header` config option needs to be enabled for the header to be checked
|
||||||
|
document.addEventListener('turbo:submit-start', function (event) {
|
||||||
|
const h = generateCsrfHeaders(event.detail.formSubmission.formElement);
|
||||||
|
Object.keys(h).map(function (k) {
|
||||||
|
event.detail.formSubmission.fetchRequest.headers[k] = h[k];
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// When @hotwired/turbo handles form submissions, remove the CSRF cookie once a form has been submitted
|
||||||
|
document.addEventListener('turbo:submit-end', function (event) {
|
||||||
|
removeCsrfToken(event.detail.formSubmission.formElement);
|
||||||
|
});
|
||||||
|
|
||||||
|
export function generateCsrfToken (formElement) {
|
||||||
|
const csrfField = formElement.querySelector('input[data-controller="csrf-protection"], input[name="_csrf_token"]');
|
||||||
|
|
||||||
|
if (!csrfField) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
let csrfCookie = csrfField.getAttribute('data-csrf-protection-cookie-value');
|
||||||
|
let csrfToken = csrfField.value;
|
||||||
|
|
||||||
|
if (!csrfCookie && nameCheck.test(csrfToken)) {
|
||||||
|
csrfField.setAttribute('data-csrf-protection-cookie-value', csrfCookie = csrfToken);
|
||||||
|
csrfField.defaultValue = csrfToken = btoa(String.fromCharCode.apply(null, (window.crypto || window.msCrypto).getRandomValues(new Uint8Array(18))));
|
||||||
|
}
|
||||||
|
csrfField.dispatchEvent(new Event('change', { bubbles: true }));
|
||||||
|
|
||||||
|
if (csrfCookie && tokenCheck.test(csrfToken)) {
|
||||||
|
const cookie = csrfCookie + '_' + csrfToken + '=' + csrfCookie + '; path=/; samesite=strict';
|
||||||
|
document.cookie = window.location.protocol === 'https:' ? '__Host-' + cookie + '; secure' : cookie;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export function generateCsrfHeaders (formElement) {
|
||||||
|
const headers = {};
|
||||||
|
const csrfField = formElement.querySelector('input[data-controller="csrf-protection"], input[name="_csrf_token"]');
|
||||||
|
|
||||||
|
if (!csrfField) {
|
||||||
|
return headers;
|
||||||
|
}
|
||||||
|
|
||||||
|
const csrfCookie = csrfField.getAttribute('data-csrf-protection-cookie-value');
|
||||||
|
|
||||||
|
if (tokenCheck.test(csrfField.value) && nameCheck.test(csrfCookie)) {
|
||||||
|
headers[csrfCookie] = csrfField.value;
|
||||||
|
}
|
||||||
|
|
||||||
|
return headers;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function removeCsrfToken (formElement) {
|
||||||
|
const csrfField = formElement.querySelector('input[data-controller="csrf-protection"], input[name="_csrf_token"]');
|
||||||
|
|
||||||
|
if (!csrfField) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const csrfCookie = csrfField.getAttribute('data-csrf-protection-cookie-value');
|
||||||
|
|
||||||
|
if (tokenCheck.test(csrfField.value) && nameCheck.test(csrfCookie)) {
|
||||||
|
const cookie = csrfCookie + '_' + csrfField.value + '=0; path=/; samesite=strict; max-age=0';
|
||||||
|
|
||||||
|
document.cookie = window.location.protocol === 'https:' ? '__Host-' + cookie + '; secure' : cookie;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* stimulusFetch: 'lazy' */
|
||||||
|
export default 'csrf-protection-controller';
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
import { Controller } from '@hotwired/stimulus';
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This is an example Stimulus controller!
|
||||||
|
*
|
||||||
|
* Any element with a data-controller="hello" attribute will cause
|
||||||
|
* this controller to be executed. The name "hello" comes from the filename:
|
||||||
|
* hello_controller.js -> "hello"
|
||||||
|
*
|
||||||
|
* Delete this file or adapt it for your use!
|
||||||
|
*/
|
||||||
|
export default class extends Controller {
|
||||||
|
connect() {
|
||||||
|
this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
import { Controller } from '@hotwired/stimulus';
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Otwiera podgląd "live view" projektu w modalu stylizowanym na okno przeglądarki.
|
||||||
|
* Adres i tytuł są przekazywane przez przyciski z data-webview-url-param
|
||||||
|
* oraz data-webview-title-param. iframe ładuje się dopiero przy otwarciu.
|
||||||
|
*/
|
||||||
|
export default class extends Controller {
|
||||||
|
static targets = ['dialog', 'frame', 'address', 'title', 'external', 'fallback'];
|
||||||
|
|
||||||
|
connect() {
|
||||||
|
this.onKeydown = this.onKeydown.bind(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
open(event) {
|
||||||
|
const { url, title } = event.params;
|
||||||
|
|
||||||
|
this.addressTarget.textContent = url.replace(/^https?:\/\//, '');
|
||||||
|
this.titleTarget.textContent = title;
|
||||||
|
this.externalTargets.forEach((el) => { el.href = url; });
|
||||||
|
this.fallbackTarget.hidden = true;
|
||||||
|
|
||||||
|
// Jeśli strona blokuje osadzanie (X-Frame-Options), pokaż podpowiedź.
|
||||||
|
this.frameTarget.onerror = () => { this.fallbackTarget.hidden = false; };
|
||||||
|
this.frameTarget.src = url;
|
||||||
|
|
||||||
|
this.dialogTarget.showModal();
|
||||||
|
this.dialogTarget.addEventListener('close', () => this.reset(), { once: true });
|
||||||
|
document.addEventListener('keydown', this.onKeydown);
|
||||||
|
}
|
||||||
|
|
||||||
|
close() {
|
||||||
|
this.dialogTarget.close();
|
||||||
|
}
|
||||||
|
|
||||||
|
backdrop(event) {
|
||||||
|
// Klik poza ramką (w tło <dialog>) zamyka podgląd.
|
||||||
|
if (event.target === this.dialogTarget) {
|
||||||
|
this.close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
onKeydown(event) {
|
||||||
|
if (event.key === 'Escape') {
|
||||||
|
this.close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
reset() {
|
||||||
|
this.frameTarget.src = 'about:blank';
|
||||||
|
document.removeEventListener('keydown', this.onKeydown);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
import { startStimulusApp } from '@symfony/stimulus-bundle';
|
||||||
|
|
||||||
|
const app = startStimulusApp();
|
||||||
|
// register any custom, 3rd party controllers here
|
||||||
|
// app.register('some_controller_name', SomeImportedController);
|
||||||
@@ -0,0 +1,448 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
Portfolio — Midnight & Coral
|
||||||
|
Display: Space Grotesk · Body: Inter · Mono: JetBrains Mono
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--bg: #0d1a2b;
|
||||||
|
--bg-soft: #102237;
|
||||||
|
--surface: #14293f;
|
||||||
|
--surface-2: #16304a;
|
||||||
|
--line: rgba(150, 178, 209, 0.14);
|
||||||
|
--line-strong: rgba(150, 178, 209, 0.28);
|
||||||
|
--text: #eaf1f8;
|
||||||
|
--muted: #93a7bd;
|
||||||
|
--faint: #64798f;
|
||||||
|
--coral: #ff8a5b;
|
||||||
|
--coral-soft: rgba(255, 138, 91, 0.14);
|
||||||
|
--mint: #5ee6c4;
|
||||||
|
|
||||||
|
--display: 'Space Grotesk', system-ui, sans-serif;
|
||||||
|
--body: 'Inter', system-ui, sans-serif;
|
||||||
|
--mono: 'JetBrains Mono', ui-monospace, monospace;
|
||||||
|
|
||||||
|
--wrap: 1080px;
|
||||||
|
--radius: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
* { box-sizing: border-box; }
|
||||||
|
|
||||||
|
html { scroll-behavior: smooth; }
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
background:
|
||||||
|
radial-gradient(900px 500px at 82% -8%, rgba(255, 138, 91, 0.10), transparent 60%),
|
||||||
|
radial-gradient(760px 520px at 5% 8%, rgba(94, 230, 196, 0.07), transparent 55%),
|
||||||
|
var(--bg);
|
||||||
|
color: var(--text);
|
||||||
|
font-family: var(--body);
|
||||||
|
font-size: 17px;
|
||||||
|
line-height: 1.65;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
}
|
||||||
|
|
||||||
|
a { color: inherit; text-decoration: none; }
|
||||||
|
|
||||||
|
::selection { background: var(--coral); color: #0d1a2b; }
|
||||||
|
|
||||||
|
:focus-visible {
|
||||||
|
outline: 2px solid var(--coral);
|
||||||
|
outline-offset: 3px;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wrap {
|
||||||
|
width: 100%;
|
||||||
|
max-width: var(--wrap);
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 0 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* --- shared bits -------------------------------------------------------- */
|
||||||
|
|
||||||
|
.eyebrow {
|
||||||
|
font-family: var(--mono);
|
||||||
|
font-size: 0.78rem;
|
||||||
|
letter-spacing: 0.04em;
|
||||||
|
color: var(--coral);
|
||||||
|
text-transform: none;
|
||||||
|
margin: 0 0 18px;
|
||||||
|
}
|
||||||
|
.eyebrow::before { content: '// '; color: var(--faint); }
|
||||||
|
|
||||||
|
.section { padding: 92px 0; border-top: 1px solid var(--line); }
|
||||||
|
.section-head { max-width: 640px; margin-bottom: 44px; }
|
||||||
|
.section-title {
|
||||||
|
font-family: var(--display);
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: clamp(1.7rem, 3.4vw, 2.4rem);
|
||||||
|
letter-spacing: -0.02em;
|
||||||
|
line-height: 1.1;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
.section-lead { color: var(--muted); margin: 14px 0 0; }
|
||||||
|
|
||||||
|
/* --- header ------------------------------------------------------------- */
|
||||||
|
|
||||||
|
.site-header {
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 40;
|
||||||
|
backdrop-filter: blur(12px);
|
||||||
|
background: rgba(13, 26, 43, 0.72);
|
||||||
|
border-bottom: 1px solid var(--line);
|
||||||
|
}
|
||||||
|
.site-header .wrap {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: 66px;
|
||||||
|
}
|
||||||
|
.brand {
|
||||||
|
font-family: var(--display);
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: -0.01em;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
.brand .mark { color: var(--coral); }
|
||||||
|
.nav {
|
||||||
|
display: flex;
|
||||||
|
gap: 26px;
|
||||||
|
font-family: var(--mono);
|
||||||
|
font-size: 0.82rem;
|
||||||
|
color: var(--muted);
|
||||||
|
}
|
||||||
|
.nav a { transition: color 0.18s; }
|
||||||
|
.nav a:hover { color: var(--text); }
|
||||||
|
.nav-count { color: var(--faint); }
|
||||||
|
|
||||||
|
/* --- hero --------------------------------------------------------------- */
|
||||||
|
|
||||||
|
.hero { padding: 96px 0 84px; }
|
||||||
|
.status {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 9px;
|
||||||
|
font-family: var(--mono);
|
||||||
|
font-size: 0.78rem;
|
||||||
|
color: var(--mint);
|
||||||
|
padding: 6px 12px;
|
||||||
|
border: 1px solid var(--line-strong);
|
||||||
|
border-radius: 999px;
|
||||||
|
margin-bottom: 26px;
|
||||||
|
}
|
||||||
|
.status .dot {
|
||||||
|
width: 8px; height: 8px; border-radius: 50%;
|
||||||
|
background: var(--mint);
|
||||||
|
box-shadow: 0 0 0 0 rgba(94, 230, 196, 0.55);
|
||||||
|
animation: pulse 2.4s infinite;
|
||||||
|
}
|
||||||
|
@keyframes pulse {
|
||||||
|
0% { box-shadow: 0 0 0 0 rgba(94, 230, 196, 0.5); }
|
||||||
|
70% { box-shadow: 0 0 0 9px rgba(94, 230, 196, 0); }
|
||||||
|
100% { box-shadow: 0 0 0 0 rgba(94, 230, 196, 0); }
|
||||||
|
}
|
||||||
|
.hero-title {
|
||||||
|
font-family: var(--display);
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: clamp(2.6rem, 7vw, 4.6rem);
|
||||||
|
line-height: 1.02;
|
||||||
|
letter-spacing: -0.035em;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
.hero-title .accent { color: var(--coral); }
|
||||||
|
.hero-role {
|
||||||
|
font-family: var(--mono);
|
||||||
|
color: var(--muted);
|
||||||
|
font-size: 1rem;
|
||||||
|
margin: 22px 0 0;
|
||||||
|
}
|
||||||
|
.hero-summary {
|
||||||
|
max-width: 620px;
|
||||||
|
color: var(--muted);
|
||||||
|
font-size: 1.12rem;
|
||||||
|
margin: 22px 0 0;
|
||||||
|
}
|
||||||
|
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 9px;
|
||||||
|
font-family: var(--mono);
|
||||||
|
font-size: 0.9rem;
|
||||||
|
padding: 12px 20px;
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 1px solid var(--line-strong);
|
||||||
|
color: var(--text);
|
||||||
|
transition: transform 0.16s ease, border-color 0.16s, background 0.16s;
|
||||||
|
}
|
||||||
|
.btn:hover { transform: translateY(-2px); border-color: var(--coral); }
|
||||||
|
.btn-primary { background: var(--coral); color: #0d1a2b; border-color: var(--coral); font-weight: 500; }
|
||||||
|
.btn-primary:hover { background: #ff9d74; }
|
||||||
|
|
||||||
|
.hero-meta {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 28px;
|
||||||
|
margin-top: 46px;
|
||||||
|
padding-top: 26px;
|
||||||
|
border-top: 1px solid var(--line);
|
||||||
|
font-family: var(--mono);
|
||||||
|
font-size: 0.82rem;
|
||||||
|
color: var(--muted);
|
||||||
|
}
|
||||||
|
.hero-meta b { color: var(--text); font-weight: 500; }
|
||||||
|
|
||||||
|
/* --- about -------------------------------------------------------------- */
|
||||||
|
|
||||||
|
.about-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1.4fr;
|
||||||
|
gap: 48px;
|
||||||
|
}
|
||||||
|
.about-body p { margin: 0 0 18px; color: var(--muted); }
|
||||||
|
.about-body p:last-child { margin-bottom: 0; }
|
||||||
|
.about-aside {
|
||||||
|
font-family: var(--mono);
|
||||||
|
font-size: 0.85rem;
|
||||||
|
color: var(--muted);
|
||||||
|
border-left: 2px solid var(--coral);
|
||||||
|
padding-left: 20px;
|
||||||
|
}
|
||||||
|
.about-aside dt { color: var(--faint); }
|
||||||
|
.about-aside dd { margin: 2px 0 18px; color: var(--text); }
|
||||||
|
.about-aside dd:last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
|
/* --- technologies ------------------------------------------------------- */
|
||||||
|
|
||||||
|
.tech-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
|
||||||
|
gap: 18px;
|
||||||
|
}
|
||||||
|
.tech-card {
|
||||||
|
background: var(--surface);
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: var(--radius);
|
||||||
|
padding: 22px 22px 24px;
|
||||||
|
transition: border-color 0.18s;
|
||||||
|
}
|
||||||
|
.tech-card:hover { border-color: var(--line-strong); }
|
||||||
|
.tech-group {
|
||||||
|
font-family: var(--mono);
|
||||||
|
font-size: 0.78rem;
|
||||||
|
color: var(--coral);
|
||||||
|
margin: 0 0 16px;
|
||||||
|
}
|
||||||
|
.tech-chips { display: flex; flex-wrap: wrap; gap: 8px; }
|
||||||
|
.chip {
|
||||||
|
font-family: var(--mono);
|
||||||
|
font-size: 0.8rem;
|
||||||
|
color: var(--text);
|
||||||
|
background: var(--surface-2);
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: 7px;
|
||||||
|
padding: 5px 11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* --- projects ----------------------------------------------------------- */
|
||||||
|
|
||||||
|
.projects-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
||||||
|
gap: 22px;
|
||||||
|
}
|
||||||
|
.project {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
background: var(--surface);
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: var(--radius);
|
||||||
|
overflow: hidden;
|
||||||
|
transition: transform 0.2s ease, border-color 0.2s;
|
||||||
|
}
|
||||||
|
.project:hover { transform: translateY(-4px); border-color: var(--line-strong); }
|
||||||
|
.project-thumb {
|
||||||
|
aspect-ratio: 16 / 9;
|
||||||
|
width: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
display: block;
|
||||||
|
border-bottom: 1px solid var(--line);
|
||||||
|
}
|
||||||
|
.project-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
|
||||||
|
.project-meta {
|
||||||
|
display: flex;
|
||||||
|
gap: 12px;
|
||||||
|
font-family: var(--mono);
|
||||||
|
font-size: 0.74rem;
|
||||||
|
color: var(--faint);
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
.project-name {
|
||||||
|
font-family: var(--display);
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 1.35rem;
|
||||||
|
letter-spacing: -0.015em;
|
||||||
|
margin: 0 0 10px;
|
||||||
|
}
|
||||||
|
.project-desc { color: var(--muted); font-size: 0.98rem; margin: 0 0 18px; }
|
||||||
|
.project-stack { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
|
||||||
|
.project-stack .chip { font-size: 0.74rem; padding: 4px 9px; }
|
||||||
|
.project-actions {
|
||||||
|
display: flex;
|
||||||
|
gap: 10px;
|
||||||
|
margin-top: auto;
|
||||||
|
padding-top: 4px;
|
||||||
|
}
|
||||||
|
.action {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 7px;
|
||||||
|
font-family: var(--mono);
|
||||||
|
font-size: 0.82rem;
|
||||||
|
padding: 9px 14px;
|
||||||
|
border-radius: 9px;
|
||||||
|
border: 1px solid var(--line-strong);
|
||||||
|
transition: border-color 0.16s, background 0.16s, color 0.16s;
|
||||||
|
cursor: pointer;
|
||||||
|
background: transparent;
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
|
.action:hover { border-color: var(--coral); }
|
||||||
|
.action-live { background: var(--coral-soft); border-color: transparent; color: var(--coral); }
|
||||||
|
.action-live:hover { background: rgba(255, 138, 91, 0.24); }
|
||||||
|
.action svg { width: 15px; height: 15px; }
|
||||||
|
|
||||||
|
/* --- webview modal (signature) ------------------------------------------ */
|
||||||
|
|
||||||
|
.webview {
|
||||||
|
width: min(1000px, 94vw);
|
||||||
|
height: min(680px, 88vh);
|
||||||
|
padding: 0;
|
||||||
|
border: 1px solid var(--line-strong);
|
||||||
|
border-radius: 14px;
|
||||||
|
background: var(--surface);
|
||||||
|
color: var(--text);
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
|
||||||
|
}
|
||||||
|
.webview::backdrop {
|
||||||
|
background: rgba(6, 12, 20, 0.72);
|
||||||
|
backdrop-filter: blur(4px);
|
||||||
|
}
|
||||||
|
.webview[open] {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
animation: pop 0.22s ease;
|
||||||
|
}
|
||||||
|
@keyframes pop {
|
||||||
|
from { opacity: 0; transform: translateY(10px) scale(0.98); }
|
||||||
|
to { opacity: 1; transform: none; }
|
||||||
|
}
|
||||||
|
.webview-bar {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 14px;
|
||||||
|
padding: 12px 16px;
|
||||||
|
background: var(--bg-soft);
|
||||||
|
border-bottom: 1px solid var(--line);
|
||||||
|
}
|
||||||
|
.webview-dots { display: flex; gap: 7px; }
|
||||||
|
.webview-dots span { width: 12px; height: 12px; border-radius: 50%; background: var(--line-strong); }
|
||||||
|
.webview-dots span:nth-child(1) { background: #ff5f57; }
|
||||||
|
.webview-dots span:nth-child(2) { background: #febc2e; }
|
||||||
|
.webview-dots span:nth-child(3) { background: #28c840; }
|
||||||
|
.webview-address {
|
||||||
|
flex: 1;
|
||||||
|
font-family: var(--mono);
|
||||||
|
font-size: 0.82rem;
|
||||||
|
color: var(--muted);
|
||||||
|
background: var(--surface-2);
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 7px 14px;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
.webview-address::before { content: '🔒 '; }
|
||||||
|
.webview-actions { display: flex; gap: 8px; }
|
||||||
|
.webview-btn {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 34px; height: 34px;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
background: transparent;
|
||||||
|
color: var(--muted);
|
||||||
|
cursor: pointer;
|
||||||
|
transition: color 0.16s, border-color 0.16s;
|
||||||
|
}
|
||||||
|
.webview-btn:hover { color: var(--text); border-color: var(--line-strong); }
|
||||||
|
.webview-btn svg { width: 16px; height: 16px; }
|
||||||
|
.webview-stage { position: relative; flex: 1; background: #fff; }
|
||||||
|
.webview-frame { width: 100%; height: 100%; border: 0; display: block; }
|
||||||
|
.webview-fallback {
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 8px;
|
||||||
|
text-align: center;
|
||||||
|
padding: 32px;
|
||||||
|
background: var(--surface);
|
||||||
|
color: var(--muted);
|
||||||
|
font-size: 0.95rem;
|
||||||
|
}
|
||||||
|
.webview-fallback[hidden] { display: none; }
|
||||||
|
.webview-fallback .title { font-family: var(--display); font-size: 1.2rem; color: var(--text); }
|
||||||
|
|
||||||
|
/* --- footer ------------------------------------------------------------- */
|
||||||
|
|
||||||
|
.site-footer {
|
||||||
|
border-top: 1px solid var(--line);
|
||||||
|
padding: 44px 0;
|
||||||
|
}
|
||||||
|
.site-footer .wrap {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: 18px;
|
||||||
|
font-family: var(--mono);
|
||||||
|
font-size: 0.82rem;
|
||||||
|
color: var(--muted);
|
||||||
|
}
|
||||||
|
.footer-links { display: flex; gap: 20px; }
|
||||||
|
.footer-links a { transition: color 0.16s; }
|
||||||
|
.footer-links a:hover { color: var(--coral); }
|
||||||
|
|
||||||
|
/* --- scroll reveal ------------------------------------------------------ */
|
||||||
|
|
||||||
|
.js .reveal {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(18px);
|
||||||
|
transition: opacity 0.6s ease, transform 0.6s ease;
|
||||||
|
}
|
||||||
|
.js .reveal.is-visible { opacity: 1; transform: none; }
|
||||||
|
|
||||||
|
/* --- responsive --------------------------------------------------------- */
|
||||||
|
|
||||||
|
@media (max-width: 760px) {
|
||||||
|
.nav { display: none; }
|
||||||
|
.about-grid { grid-template-columns: 1fr; gap: 30px; }
|
||||||
|
.section { padding: 68px 0; }
|
||||||
|
.hero { padding: 68px 0 60px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
* { animation: none !important; scroll-behavior: auto; }
|
||||||
|
.js .reveal { opacity: 1; transform: none; transition: none; }
|
||||||
|
.project:hover, .btn:hover { transform: none; }
|
||||||
|
}
|
||||||
Executable
+21
@@ -0,0 +1,21 @@
|
|||||||
|
#!/usr/bin/env php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use App\Kernel;
|
||||||
|
use Symfony\Bundle\FrameworkBundle\Console\Application;
|
||||||
|
|
||||||
|
if (!is_dir(dirname(__DIR__).'/vendor')) {
|
||||||
|
throw new LogicException('Dependencies are missing. Try running "composer install".');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!is_file(dirname(__DIR__).'/vendor/autoload_runtime.php')) {
|
||||||
|
throw new LogicException('Symfony Runtime is missing. Try running "composer require symfony/runtime".');
|
||||||
|
}
|
||||||
|
|
||||||
|
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
|
||||||
|
|
||||||
|
return function (array $context) {
|
||||||
|
$kernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
|
||||||
|
|
||||||
|
return new Application($kernel);
|
||||||
|
};
|
||||||
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
require dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit';
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
|
||||||
|
services:
|
||||||
|
###> doctrine/doctrine-bundle ###
|
||||||
|
database:
|
||||||
|
ports:
|
||||||
|
- "5432"
|
||||||
|
###< doctrine/doctrine-bundle ###
|
||||||
|
|
||||||
|
###> symfony/mailer ###
|
||||||
|
mailer:
|
||||||
|
image: axllent/mailpit
|
||||||
|
ports:
|
||||||
|
- "1025"
|
||||||
|
- "8025"
|
||||||
|
environment:
|
||||||
|
MP_SMTP_AUTH_ACCEPT_ANY: 1
|
||||||
|
MP_SMTP_AUTH_ALLOW_INSECURE: 1
|
||||||
|
###< symfony/mailer ###
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
services:
|
||||||
|
###> doctrine/doctrine-bundle ###
|
||||||
|
database:
|
||||||
|
image: postgres:${POSTGRES_VERSION:-16}-alpine
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: ${POSTGRES_DB:-app}
|
||||||
|
# You should definitely change the password in production
|
||||||
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}
|
||||||
|
POSTGRES_USER: ${POSTGRES_USER:-app}
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "pg_isready", "-d", "${POSTGRES_DB:-app}", "-U", "${POSTGRES_USER:-app}"]
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
start_period: 60s
|
||||||
|
volumes:
|
||||||
|
- database_data:/var/lib/postgresql/data:rw
|
||||||
|
# You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!
|
||||||
|
# - ./docker/db/data:/var/lib/postgresql/data:rw
|
||||||
|
###< doctrine/doctrine-bundle ###
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
###> doctrine/doctrine-bundle ###
|
||||||
|
database_data:
|
||||||
|
###< doctrine/doctrine-bundle ###
|
||||||
@@ -0,0 +1,109 @@
|
|||||||
|
{
|
||||||
|
"type": "project",
|
||||||
|
"license": "proprietary",
|
||||||
|
"minimum-stability": "stable",
|
||||||
|
"prefer-stable": true,
|
||||||
|
"require": {
|
||||||
|
"php": ">=8.4",
|
||||||
|
"ext-ctype": "*",
|
||||||
|
"ext-iconv": "*",
|
||||||
|
"doctrine/doctrine-bundle": "^3.2",
|
||||||
|
"doctrine/doctrine-migrations-bundle": "^4.0",
|
||||||
|
"doctrine/orm": "^3.6",
|
||||||
|
"phpdocumentor/reflection-docblock": "^6.0",
|
||||||
|
"phpstan/phpdoc-parser": "^2.3",
|
||||||
|
"symfony/asset": "8.1.*",
|
||||||
|
"symfony/asset-mapper": "8.1.*",
|
||||||
|
"symfony/console": "8.1.*",
|
||||||
|
"symfony/doctrine-messenger": "8.1.*",
|
||||||
|
"symfony/dotenv": "8.1.*",
|
||||||
|
"symfony/expression-language": "8.1.*",
|
||||||
|
"symfony/flex": "^2",
|
||||||
|
"symfony/form": "8.1.*",
|
||||||
|
"symfony/framework-bundle": "8.1.*",
|
||||||
|
"symfony/http-client": "8.1.*",
|
||||||
|
"symfony/intl": "8.1.*",
|
||||||
|
"symfony/mailer": "8.1.*",
|
||||||
|
"symfony/mime": "8.1.*",
|
||||||
|
"symfony/monolog-bundle": "^3.0|^4.0",
|
||||||
|
"symfony/notifier": "8.1.*",
|
||||||
|
"symfony/process": "8.1.*",
|
||||||
|
"symfony/property-access": "8.1.*",
|
||||||
|
"symfony/property-info": "8.1.*",
|
||||||
|
"symfony/runtime": "8.1.*",
|
||||||
|
"symfony/security-bundle": "8.1.*",
|
||||||
|
"symfony/serializer": "8.1.*",
|
||||||
|
"symfony/stimulus-bundle": "^3.2",
|
||||||
|
"symfony/string": "8.1.*",
|
||||||
|
"symfony/translation": "8.1.*",
|
||||||
|
"symfony/twig-bundle": "8.1.*",
|
||||||
|
"symfony/ux-turbo": "^3.2",
|
||||||
|
"symfony/validator": "8.1.*",
|
||||||
|
"symfony/web-link": "8.1.*",
|
||||||
|
"symfony/yaml": "8.1.*",
|
||||||
|
"twig/extra-bundle": "^2.12|^3.0",
|
||||||
|
"twig/twig": "^2.12|^3.0"
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"allow-plugins": {
|
||||||
|
"php-http/discovery": true,
|
||||||
|
"symfony/flex": true,
|
||||||
|
"symfony/runtime": true
|
||||||
|
},
|
||||||
|
"bump-after-update": true,
|
||||||
|
"sort-packages": true
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"App\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload-dev": {
|
||||||
|
"psr-4": {
|
||||||
|
"App\\Tests\\": "tests/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"replace": {
|
||||||
|
"symfony/polyfill-ctype": "*",
|
||||||
|
"symfony/polyfill-iconv": "*",
|
||||||
|
"symfony/polyfill-php72": "*",
|
||||||
|
"symfony/polyfill-php73": "*",
|
||||||
|
"symfony/polyfill-php74": "*",
|
||||||
|
"symfony/polyfill-php80": "*",
|
||||||
|
"symfony/polyfill-php81": "*",
|
||||||
|
"symfony/polyfill-php82": "*",
|
||||||
|
"symfony/polyfill-php83": "*",
|
||||||
|
"symfony/polyfill-php84": "*"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"auto-scripts": {
|
||||||
|
"cache:clear": "symfony-cmd",
|
||||||
|
"assets:install %PUBLIC_DIR%": "symfony-cmd",
|
||||||
|
"importmap:install": "symfony-cmd"
|
||||||
|
},
|
||||||
|
"post-install-cmd": [
|
||||||
|
"@auto-scripts"
|
||||||
|
],
|
||||||
|
"post-update-cmd": [
|
||||||
|
"@auto-scripts"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"conflict": {
|
||||||
|
"symfony/symfony": "*"
|
||||||
|
},
|
||||||
|
"extra": {
|
||||||
|
"symfony": {
|
||||||
|
"allow-contrib": false,
|
||||||
|
"require": "8.1.*"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "^13.2",
|
||||||
|
"symfony/browser-kit": "8.1.*",
|
||||||
|
"symfony/css-selector": "8.1.*",
|
||||||
|
"symfony/debug-bundle": "8.1.*",
|
||||||
|
"symfony/maker-bundle": "^1.0",
|
||||||
|
"symfony/stopwatch": "8.1.*",
|
||||||
|
"symfony/web-profiler-bundle": "8.1.*"
|
||||||
|
}
|
||||||
|
}
|
||||||
Generated
+10109
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
|
||||||
|
Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
|
||||||
|
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
|
||||||
|
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true],
|
||||||
|
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
|
||||||
|
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
|
||||||
|
Symfony\UX\StimulusBundle\StimulusBundle::class => ['all' => true],
|
||||||
|
Symfony\UX\Turbo\TurboBundle::class => ['all' => true],
|
||||||
|
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
|
||||||
|
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
|
||||||
|
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
|
||||||
|
Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true],
|
||||||
|
];
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
framework:
|
||||||
|
asset_mapper:
|
||||||
|
# The paths to make available to the asset mapper.
|
||||||
|
paths:
|
||||||
|
- assets/
|
||||||
|
missing_import_mode: strict
|
||||||
|
|
||||||
|
when@prod:
|
||||||
|
framework:
|
||||||
|
asset_mapper:
|
||||||
|
missing_import_mode: warn
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
framework:
|
||||||
|
cache:
|
||||||
|
# Unique name of your app: used to compute stable namespaces for cache keys.
|
||||||
|
#prefix_seed: your_vendor_name/app_name
|
||||||
|
|
||||||
|
# The "app" cache stores to the filesystem by default.
|
||||||
|
# The data in this cache should persist between deploys.
|
||||||
|
# Other options include:
|
||||||
|
|
||||||
|
# Redis
|
||||||
|
#app: cache.adapter.redis
|
||||||
|
#default_redis_provider: redis://localhost
|
||||||
|
|
||||||
|
# APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)
|
||||||
|
#app: cache.adapter.apcu
|
||||||
|
|
||||||
|
# Namespaced pools use the above "app" backend by default
|
||||||
|
#pools:
|
||||||
|
#my.dedicated.cache: null
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
# Enable stateless CSRF protection for forms and logins/logouts
|
||||||
|
framework:
|
||||||
|
form:
|
||||||
|
csrf_protection:
|
||||||
|
token_id: submit
|
||||||
|
|
||||||
|
csrf_protection:
|
||||||
|
stateless_token_ids:
|
||||||
|
- submit
|
||||||
|
- authenticate
|
||||||
|
- logout
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
when@dev:
|
||||||
|
debug:
|
||||||
|
# Forwards VarDumper Data clones to a centralized server allowing to inspect dumps on CLI or in your browser.
|
||||||
|
# See the "server:dump" command to start a new server.
|
||||||
|
dump_destination: "tcp://%env(VAR_DUMPER_SERVER)%"
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
doctrine:
|
||||||
|
dbal:
|
||||||
|
url: '%env(resolve:DATABASE_URL)%'
|
||||||
|
|
||||||
|
# IMPORTANT: You MUST configure your server version,
|
||||||
|
# either here or in the DATABASE_URL env var (see .env file)
|
||||||
|
#server_version: '16'
|
||||||
|
|
||||||
|
profiling_collect_backtrace: '%kernel.debug%'
|
||||||
|
orm:
|
||||||
|
validate_xml_mapping: true
|
||||||
|
naming_strategy: doctrine.orm.naming_strategy.underscore
|
||||||
|
identity_generation_preferences:
|
||||||
|
Doctrine\DBAL\Platforms\PostgreSQLPlatform: identity
|
||||||
|
auto_mapping: true
|
||||||
|
mappings:
|
||||||
|
App:
|
||||||
|
type: attribute
|
||||||
|
is_bundle: false
|
||||||
|
dir: '%kernel.project_dir%/src/Entity'
|
||||||
|
prefix: 'App\Entity'
|
||||||
|
alias: App
|
||||||
|
|
||||||
|
when@test:
|
||||||
|
doctrine:
|
||||||
|
dbal:
|
||||||
|
# "TEST_TOKEN" is typically set by ParaTest
|
||||||
|
dbname_suffix: '_test%env(default::TEST_TOKEN)%'
|
||||||
|
|
||||||
|
when@prod:
|
||||||
|
doctrine:
|
||||||
|
orm:
|
||||||
|
query_cache_driver:
|
||||||
|
type: pool
|
||||||
|
pool: doctrine.system_cache_pool
|
||||||
|
result_cache_driver:
|
||||||
|
type: pool
|
||||||
|
pool: doctrine.result_cache_pool
|
||||||
|
|
||||||
|
framework:
|
||||||
|
cache:
|
||||||
|
pools:
|
||||||
|
doctrine.result_cache_pool:
|
||||||
|
adapter: cache.app
|
||||||
|
doctrine.system_cache_pool:
|
||||||
|
adapter: cache.system
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
doctrine_migrations:
|
||||||
|
migrations_paths:
|
||||||
|
# namespace is arbitrary but should be different from App\Migrations
|
||||||
|
# as migrations classes should NOT be autoloaded
|
||||||
|
'DoctrineMigrations': '%kernel.project_dir%/migrations'
|
||||||
|
enable_profiler: false
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
# see https://symfony.com/doc/current/reference/configuration/framework.html
|
||||||
|
framework:
|
||||||
|
secret: '%env(APP_SECRET)%'
|
||||||
|
|
||||||
|
# Note that the session will be started ONLY if you read or write from it.
|
||||||
|
session: true
|
||||||
|
|
||||||
|
#esi: true
|
||||||
|
#fragments: true
|
||||||
|
|
||||||
|
when@test:
|
||||||
|
framework:
|
||||||
|
test: true
|
||||||
|
session:
|
||||||
|
storage_factory_id: session.storage.factory.mock_file
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
framework:
|
||||||
|
mailer:
|
||||||
|
dsn: '%env(MAILER_DSN)%'
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
framework:
|
||||||
|
messenger:
|
||||||
|
failure_transport: failed
|
||||||
|
|
||||||
|
transports:
|
||||||
|
# https://symfony.com/doc/current/messenger.html#transport-configuration
|
||||||
|
async:
|
||||||
|
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
|
||||||
|
retry_strategy:
|
||||||
|
max_retries: 3
|
||||||
|
multiplier: 2
|
||||||
|
failed: 'doctrine://default?queue_name=failed'
|
||||||
|
# sync: 'sync://'
|
||||||
|
|
||||||
|
default_bus: messenger.bus.default
|
||||||
|
|
||||||
|
buses:
|
||||||
|
messenger.bus.default: []
|
||||||
|
|
||||||
|
routing:
|
||||||
|
Symfony\Component\Mailer\Messenger\SendEmailMessage: async
|
||||||
|
Symfony\Component\Notifier\Message\ChatMessage: async
|
||||||
|
Symfony\Component\Notifier\Message\SmsMessage: async
|
||||||
|
|
||||||
|
# Route your messages to the transports
|
||||||
|
# 'App\Message\YourMessage': async
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
monolog:
|
||||||
|
channels:
|
||||||
|
- deprecation # Deprecations are logged in the dedicated "deprecation" channel when it exists
|
||||||
|
|
||||||
|
when@dev:
|
||||||
|
monolog:
|
||||||
|
handlers:
|
||||||
|
main:
|
||||||
|
type: stream
|
||||||
|
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
||||||
|
level: debug
|
||||||
|
channels: ["!event"]
|
||||||
|
console:
|
||||||
|
type: console
|
||||||
|
process_psr_3_messages: false
|
||||||
|
channels: ["!event", "!doctrine", "!console"]
|
||||||
|
|
||||||
|
when@test:
|
||||||
|
monolog:
|
||||||
|
handlers:
|
||||||
|
main:
|
||||||
|
type: fingers_crossed
|
||||||
|
action_level: error
|
||||||
|
handler: nested
|
||||||
|
excluded_http_codes: [404, 405]
|
||||||
|
channels: ["!event"]
|
||||||
|
nested:
|
||||||
|
type: stream
|
||||||
|
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
||||||
|
level: debug
|
||||||
|
|
||||||
|
when@prod:
|
||||||
|
monolog:
|
||||||
|
handlers:
|
||||||
|
main:
|
||||||
|
type: fingers_crossed
|
||||||
|
action_level: error
|
||||||
|
handler: nested
|
||||||
|
excluded_http_codes: [404, 405]
|
||||||
|
channels: ["!deprecation"]
|
||||||
|
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
|
||||||
|
nested:
|
||||||
|
type: stream
|
||||||
|
path: php://stderr
|
||||||
|
level: debug
|
||||||
|
formatter: monolog.formatter.json
|
||||||
|
console:
|
||||||
|
type: console
|
||||||
|
process_psr_3_messages: false
|
||||||
|
channels: ["!event", "!doctrine"]
|
||||||
|
deprecation:
|
||||||
|
type: stream
|
||||||
|
channels: [deprecation]
|
||||||
|
path: php://stderr
|
||||||
|
formatter: monolog.formatter.json
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
framework:
|
||||||
|
notifier:
|
||||||
|
chatter_transports:
|
||||||
|
texter_transports:
|
||||||
|
channel_policy:
|
||||||
|
# use chat/slack, chat/telegram, sms/twilio or sms/nexmo
|
||||||
|
urgent: ['email']
|
||||||
|
high: ['email']
|
||||||
|
medium: ['email']
|
||||||
|
low: ['email']
|
||||||
|
admin_recipients:
|
||||||
|
- { email: admin@example.com }
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
framework:
|
||||||
|
property_info:
|
||||||
|
with_constructor_extractor: true
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
framework:
|
||||||
|
router:
|
||||||
|
# Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
|
||||||
|
# See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
|
||||||
|
default_uri: '%env(DEFAULT_URI)%'
|
||||||
|
|
||||||
|
when@prod:
|
||||||
|
framework:
|
||||||
|
router:
|
||||||
|
strict_requirements: null
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
security:
|
||||||
|
# https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords
|
||||||
|
password_hashers:
|
||||||
|
Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto'
|
||||||
|
|
||||||
|
# https://symfony.com/doc/current/security.html#loading-the-user-the-user-provider
|
||||||
|
providers:
|
||||||
|
users_in_memory: { memory: null }
|
||||||
|
|
||||||
|
firewalls:
|
||||||
|
dev:
|
||||||
|
# Ensure dev tools and static assets are always allowed
|
||||||
|
pattern: ^/(_profiler|_wdt|assets|build)/
|
||||||
|
security: false
|
||||||
|
main:
|
||||||
|
lazy: true
|
||||||
|
provider: users_in_memory
|
||||||
|
|
||||||
|
# Activate different ways to authenticate:
|
||||||
|
# https://symfony.com/doc/current/security.html#the-firewall
|
||||||
|
|
||||||
|
# https://symfony.com/doc/current/security/impersonating_user.html
|
||||||
|
# switch_user: true
|
||||||
|
|
||||||
|
# Note: Only the *first* matching rule is applied
|
||||||
|
access_control:
|
||||||
|
# - { path: ^/admin, roles: ROLE_ADMIN }
|
||||||
|
# - { path: ^/profile, roles: ROLE_USER }
|
||||||
|
|
||||||
|
when@test:
|
||||||
|
security:
|
||||||
|
password_hashers:
|
||||||
|
# Password hashers are resource-intensive by design to ensure security.
|
||||||
|
# In tests, it's safe to reduce their cost to improve performance.
|
||||||
|
Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface:
|
||||||
|
algorithm: auto
|
||||||
|
cost: 4 # Lowest possible value for bcrypt
|
||||||
|
time_cost: 3 # Lowest possible value for argon
|
||||||
|
memory_cost: 10 # Lowest possible value for argon
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
framework:
|
||||||
|
default_locale: en
|
||||||
|
translator:
|
||||||
|
default_path: '%kernel.project_dir%/translations'
|
||||||
|
providers:
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
twig:
|
||||||
|
file_name_pattern: '*.twig'
|
||||||
|
|
||||||
|
when@test:
|
||||||
|
twig:
|
||||||
|
strict_variables: true
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
# Enable stateless CSRF protection for forms and logins/logouts
|
||||||
|
framework:
|
||||||
|
csrf_protection:
|
||||||
|
check_header: true
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
framework:
|
||||||
|
validation:
|
||||||
|
# Enables validator auto-mapping support.
|
||||||
|
# For instance, basic validation constraints will be inferred from Doctrine's metadata.
|
||||||
|
#auto_mapping:
|
||||||
|
# App\Entity\: []
|
||||||
|
|
||||||
|
when@test:
|
||||||
|
framework:
|
||||||
|
validation:
|
||||||
|
not_compromised_password: false
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
when@dev:
|
||||||
|
web_profiler:
|
||||||
|
toolbar: true
|
||||||
|
|
||||||
|
framework:
|
||||||
|
profiler: true
|
||||||
|
|
||||||
|
when@test:
|
||||||
|
framework:
|
||||||
|
profiler:
|
||||||
|
collect: false
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {
|
||||||
|
require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,11 @@
|
|||||||
|
# yaml-language-server: $schema=../vendor/symfony/routing/Loader/schema/routing.schema.json
|
||||||
|
|
||||||
|
# This file is the entry point to configure the routes of your app.
|
||||||
|
# Methods with the #[Route] attribute are automatically imported.
|
||||||
|
# See also https://symfony.com/doc/current/routing.html
|
||||||
|
|
||||||
|
# To list all registered routes, run the following command:
|
||||||
|
# bin/console debug:router
|
||||||
|
|
||||||
|
controllers:
|
||||||
|
resource: routing.controllers
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
when@dev:
|
||||||
|
_errors:
|
||||||
|
resource: '@FrameworkBundle/Resources/config/routing/errors.php'
|
||||||
|
prefix: /_error
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
_security_logout:
|
||||||
|
resource: security.route_loader.logout
|
||||||
|
type: service
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
when@dev:
|
||||||
|
web_profiler_wdt:
|
||||||
|
resource: '@WebProfilerBundle/Resources/config/routing/wdt.php'
|
||||||
|
prefix: /_wdt
|
||||||
|
|
||||||
|
web_profiler_profiler:
|
||||||
|
resource: '@WebProfilerBundle/Resources/config/routing/profiler.php'
|
||||||
|
prefix: /_profiler
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
# yaml-language-server: $schema=../vendor/symfony/dependency-injection/Loader/schema/services.schema.json
|
||||||
|
|
||||||
|
# This file is the entry point to configure your own services.
|
||||||
|
# Files in the packages/ subdirectory configure your dependencies.
|
||||||
|
# See also https://symfony.com/doc/current/service_container/import.html
|
||||||
|
|
||||||
|
# Put parameters here that don't need to change on each machine where the app is deployed
|
||||||
|
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
|
||||||
|
parameters:
|
||||||
|
|
||||||
|
services:
|
||||||
|
# default configuration for services in *this* file
|
||||||
|
_defaults:
|
||||||
|
autowire: true # Automatically injects dependencies in your services.
|
||||||
|
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
|
||||||
|
|
||||||
|
# makes classes in src/ available to be used as services
|
||||||
|
# this creates a service per class whose id is the fully-qualified class name
|
||||||
|
App\:
|
||||||
|
resource: '../src/'
|
||||||
|
|
||||||
|
# add more service definitions when explicit configuration is needed
|
||||||
|
# please note that last definitions always *replace* previous ones
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the importmap for this application.
|
||||||
|
*
|
||||||
|
* - "path" is a path inside the asset mapper system. Use the
|
||||||
|
* "debug:asset-map" command to see the full list of paths.
|
||||||
|
*
|
||||||
|
* - "entrypoint" (JavaScript only) set to true for any module that will
|
||||||
|
* be used as an "entrypoint" (and passed to the importmap() Twig function).
|
||||||
|
*
|
||||||
|
* The "importmap:require" command can be used to add new entries to this file.
|
||||||
|
*
|
||||||
|
* @return array<string, array{ // Import name as key, description of the imported file as value
|
||||||
|
* path: string, // Logical, relative or absolute path to the file
|
||||||
|
* type?: 'js'|'css'|'json', // Type of the file, defaults to 'js'
|
||||||
|
* entrypoint?: bool, // Whether the file is an entrypoint, for 'js' only
|
||||||
|
* }|array{
|
||||||
|
* version: string, // Version of the remote package
|
||||||
|
* package_specifier?: string, // Remote "package-name/path" specifier, defaults to the import name
|
||||||
|
* type?: 'js'|'css'|'json',
|
||||||
|
* entrypoint?: bool,
|
||||||
|
* }>
|
||||||
|
*/
|
||||||
|
return [
|
||||||
|
'app' => ['path' => './assets/app.js', 'entrypoint' => true],
|
||||||
|
'@hotwired/stimulus' => ['version' => '3.2.2'],
|
||||||
|
'@symfony/stimulus-bundle' => ['path' => './vendor/symfony/stimulus-bundle/assets/dist/loader.js'],
|
||||||
|
'@hotwired/turbo' => ['version' => '8.0.23'],
|
||||||
|
];
|
||||||
@@ -0,0 +1,44 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
|
||||||
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
|
||||||
|
colors="true"
|
||||||
|
failOnDeprecation="true"
|
||||||
|
failOnNotice="true"
|
||||||
|
failOnWarning="true"
|
||||||
|
bootstrap="tests/bootstrap.php"
|
||||||
|
cacheDirectory=".phpunit.cache"
|
||||||
|
>
|
||||||
|
<php>
|
||||||
|
<ini name="display_errors" value="1" />
|
||||||
|
<ini name="error_reporting" value="-1" />
|
||||||
|
<server name="APP_ENV" value="test" force="true" />
|
||||||
|
<server name="SHELL_VERBOSITY" value="-1" />
|
||||||
|
</php>
|
||||||
|
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="Project Test Suite">
|
||||||
|
<directory>tests</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
|
||||||
|
<source ignoreSuppressionOfDeprecations="true"
|
||||||
|
ignoreIndirectDeprecations="true"
|
||||||
|
restrictNotices="true"
|
||||||
|
restrictWarnings="true"
|
||||||
|
>
|
||||||
|
<include>
|
||||||
|
<directory>src</directory>
|
||||||
|
</include>
|
||||||
|
|
||||||
|
<deprecationTrigger>
|
||||||
|
<method>Doctrine\Deprecations\Deprecation::trigger</method>
|
||||||
|
<method>Doctrine\Deprecations\Deprecation::delegateTriggerToBackend</method>
|
||||||
|
<function>trigger_deprecation</function>
|
||||||
|
</deprecationTrigger>
|
||||||
|
</source>
|
||||||
|
|
||||||
|
<extensions>
|
||||||
|
</extensions>
|
||||||
|
</phpunit>
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 270" width="480" height="270" role="img" aria-label="CRM">
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
|
||||||
|
<stop offset="0" stop-color="#a78bfa"/>
|
||||||
|
<stop offset="1" stop-color="#6366f1"/>
|
||||||
|
</linearGradient>
|
||||||
|
<radialGradient id="glow" cx="0.78" cy="0.22" r="0.75">
|
||||||
|
<stop offset="0" stop-color="#a78bfa" stop-opacity="0.55"/>
|
||||||
|
<stop offset="1" stop-color="#a78bfa" stop-opacity="0"/>
|
||||||
|
</radialGradient>
|
||||||
|
</defs>
|
||||||
|
<rect width="480" height="270" fill="#0d1a2b"/>
|
||||||
|
<rect width="480" height="270" fill="url(#glow)"/>
|
||||||
|
<!-- pasek okna -->
|
||||||
|
<rect x="28" y="28" width="424" height="214" rx="14" fill="#14293f" stroke="rgba(150,178,209,0.18)"/>
|
||||||
|
<g fill="rgba(150,178,209,0.5)">
|
||||||
|
<circle cx="52" cy="52" r="5"/><circle cx="70" cy="52" r="5"/><circle cx="88" cy="52" r="5"/>
|
||||||
|
</g>
|
||||||
|
<rect x="112" y="46" width="316" height="12" rx="6" fill="rgba(150,178,209,0.14)"/>
|
||||||
|
<!-- znak / inicjaly -->
|
||||||
|
<rect x="52" y="88" width="86" height="86" rx="20" fill="url(#g)"/>
|
||||||
|
<text x="95" y="143" font-family="'Space Grotesk',system-ui,sans-serif" font-size="28" font-weight="700" fill="#0d1a2b" text-anchor="middle">CRM</text>
|
||||||
|
<!-- linie tekstu -->
|
||||||
|
<rect x="160" y="96" width="200" height="16" rx="8" fill="rgba(234,241,248,0.85)"/>
|
||||||
|
<rect x="160" y="124" width="252" height="10" rx="5" fill="rgba(150,178,209,0.35)"/>
|
||||||
|
<rect x="160" y="142" width="216" height="10" rx="5" fill="rgba(150,178,209,0.28)"/>
|
||||||
|
<rect x="160" y="160" width="150" height="10" rx="5" fill="rgba(150,178,209,0.22)"/>
|
||||||
|
<!-- nazwa -->
|
||||||
|
<text x="52" y="216" font-family="'Space Grotesk',system-ui,sans-serif" font-size="20" font-weight="600" fill="#eaf1f8">CRM</text>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,30 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 270" width="480" height="270" role="img" aria-label="Rozliczenia PIT">
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
|
||||||
|
<stop offset="0" stop-color="#5ee6c4"/>
|
||||||
|
<stop offset="1" stop-color="#3aa8ff"/>
|
||||||
|
</linearGradient>
|
||||||
|
<radialGradient id="glow" cx="0.78" cy="0.22" r="0.75">
|
||||||
|
<stop offset="0" stop-color="#5ee6c4" stop-opacity="0.55"/>
|
||||||
|
<stop offset="1" stop-color="#5ee6c4" stop-opacity="0"/>
|
||||||
|
</radialGradient>
|
||||||
|
</defs>
|
||||||
|
<rect width="480" height="270" fill="#0d1a2b"/>
|
||||||
|
<rect width="480" height="270" fill="url(#glow)"/>
|
||||||
|
<!-- pasek okna -->
|
||||||
|
<rect x="28" y="28" width="424" height="214" rx="14" fill="#14293f" stroke="rgba(150,178,209,0.18)"/>
|
||||||
|
<g fill="rgba(150,178,209,0.5)">
|
||||||
|
<circle cx="52" cy="52" r="5"/><circle cx="70" cy="52" r="5"/><circle cx="88" cy="52" r="5"/>
|
||||||
|
</g>
|
||||||
|
<rect x="112" y="46" width="316" height="12" rx="6" fill="rgba(150,178,209,0.14)"/>
|
||||||
|
<!-- znak / inicjaly -->
|
||||||
|
<rect x="52" y="88" width="86" height="86" rx="20" fill="url(#g)"/>
|
||||||
|
<text x="95" y="143" font-family="'Space Grotesk',system-ui,sans-serif" font-size="30" font-weight="700" fill="#0d1a2b" text-anchor="middle">PIT</text>
|
||||||
|
<!-- linie tekstu -->
|
||||||
|
<rect x="160" y="96" width="200" height="16" rx="8" fill="rgba(234,241,248,0.85)"/>
|
||||||
|
<rect x="160" y="124" width="252" height="10" rx="5" fill="rgba(150,178,209,0.35)"/>
|
||||||
|
<rect x="160" y="142" width="216" height="10" rx="5" fill="rgba(150,178,209,0.28)"/>
|
||||||
|
<rect x="160" y="160" width="150" height="10" rx="5" fill="rgba(150,178,209,0.22)"/>
|
||||||
|
<!-- nazwa -->
|
||||||
|
<text x="52" y="216" font-family="'Space Grotesk',system-ui,sans-serif" font-size="20" font-weight="600" fill="#eaf1f8">Rozliczenia PIT</text>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,30 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 270" width="480" height="270" role="img" aria-label="Wizytówka">
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
|
||||||
|
<stop offset="0" stop-color="#ffc45b"/>
|
||||||
|
<stop offset="1" stop-color="#ff8a5b"/>
|
||||||
|
</linearGradient>
|
||||||
|
<radialGradient id="glow" cx="0.78" cy="0.22" r="0.75">
|
||||||
|
<stop offset="0" stop-color="#ffc45b" stop-opacity="0.55"/>
|
||||||
|
<stop offset="1" stop-color="#ffc45b" stop-opacity="0"/>
|
||||||
|
</radialGradient>
|
||||||
|
</defs>
|
||||||
|
<rect width="480" height="270" fill="#0d1a2b"/>
|
||||||
|
<rect width="480" height="270" fill="url(#glow)"/>
|
||||||
|
<!-- pasek okna -->
|
||||||
|
<rect x="28" y="28" width="424" height="214" rx="14" fill="#14293f" stroke="rgba(150,178,209,0.18)"/>
|
||||||
|
<g fill="rgba(150,178,209,0.5)">
|
||||||
|
<circle cx="52" cy="52" r="5"/><circle cx="70" cy="52" r="5"/><circle cx="88" cy="52" r="5"/>
|
||||||
|
</g>
|
||||||
|
<rect x="112" y="46" width="316" height="12" rx="6" fill="rgba(150,178,209,0.14)"/>
|
||||||
|
<!-- znak / inicjaly -->
|
||||||
|
<rect x="52" y="88" width="86" height="86" rx="20" fill="url(#g)"/>
|
||||||
|
<text x="95" y="145" font-family="'Space Grotesk',system-ui,sans-serif" font-size="40" font-weight="700" fill="#0d1a2b" text-anchor="middle">Wz</text>
|
||||||
|
<!-- linie tekstu -->
|
||||||
|
<rect x="160" y="96" width="200" height="16" rx="8" fill="rgba(234,241,248,0.85)"/>
|
||||||
|
<rect x="160" y="124" width="252" height="10" rx="5" fill="rgba(150,178,209,0.35)"/>
|
||||||
|
<rect x="160" y="142" width="216" height="10" rx="5" fill="rgba(150,178,209,0.28)"/>
|
||||||
|
<rect x="160" y="160" width="150" height="10" rx="5" fill="rgba(150,178,209,0.22)"/>
|
||||||
|
<!-- nazwa -->
|
||||||
|
<text x="52" y="216" font-family="'Space Grotesk',system-ui,sans-serif" font-size="20" font-weight="600" fill="#eaf1f8">Wizytówka</text>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,9 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use App\Kernel;
|
||||||
|
|
||||||
|
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
|
||||||
|
|
||||||
|
return static function (array $context) {
|
||||||
|
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
|
||||||
|
};
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Controller;
|
||||||
|
|
||||||
|
use App\Portfolio\PortfolioContent;
|
||||||
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||||
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
use Symfony\Component\Routing\Attribute\Route;
|
||||||
|
|
||||||
|
class HomeController extends AbstractController
|
||||||
|
{
|
||||||
|
#[Route('/', name: 'app_home')]
|
||||||
|
public function index(PortfolioContent $content): Response
|
||||||
|
{
|
||||||
|
return $this->render('home/index.html.twig', [
|
||||||
|
'profile' => $content->profile(),
|
||||||
|
'technologies' => $content->technologies(),
|
||||||
|
'projects' => $content->projects(),
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App;
|
||||||
|
|
||||||
|
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
|
||||||
|
use Symfony\Component\HttpKernel\Kernel as BaseKernel;
|
||||||
|
|
||||||
|
class Kernel extends BaseKernel
|
||||||
|
{
|
||||||
|
use MicroKernelTrait;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return list<string> An array of allowed values for APP_ENV
|
||||||
|
*/
|
||||||
|
private function getAllowedEnvs(): array
|
||||||
|
{
|
||||||
|
return ['prod', 'dev', 'test'];
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,91 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Portfolio;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Treść portfolio (o mnie, technologie, projekty).
|
||||||
|
*
|
||||||
|
* To jedyne miejsce, które trzeba edytować, żeby podmienić dane na własne –
|
||||||
|
* kontroler i szablony czytają wszystko stąd.
|
||||||
|
*/
|
||||||
|
final class PortfolioContent
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @return array{name: string, role: string, location: string, available: bool, summary: string, about: list<string>, email: string, github: string, linkedin: string}
|
||||||
|
*/
|
||||||
|
public function profile(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'name' => 'Szymon Gawlik',
|
||||||
|
'role' => 'Backend / Full-stack developer',
|
||||||
|
'location' => 'Kraków, PL',
|
||||||
|
'available' => true,
|
||||||
|
'summary' => 'Tworzę nowoczesne i funkcjonalne aplikacje internetowe — od backendu w PHP i Symfony po interfejsy oparte na JavaScript, Vue.js i React. Zajmuję się również integracją REST API, pracą z bazami danych, Dockerem oraz wdrażaniem i utrzymaniem aplikacji w środowisku Linux.',
|
||||||
|
'about' => [
|
||||||
|
'Od ponad 10 lat tworzę i rozwijam aplikacje internetowe, głównie w PHP. Łączę pracę backendową z frontendem opartym na JavaScript, jQuery, Twig, Smarty, Vue.js lub React, dbając o to, aby aplikacje były funkcjonalne, czytelne i łatwe w dalszym rozwoju.',
|
||||||
|
'Zajmuję się całym procesem tworzenia aplikacji — od analizy potrzeb i projektowania rozwiązania, przez implementację, aż po wdrożenie i utrzymanie w środowisku Linux. Najważniejsze są dla mnie solidny kod, stabilne działanie oraz rozwiązania, które rzeczywiście odpowiadają na potrzeby użytkowników.'
|
||||||
|
],
|
||||||
|
'email' => 'szymon.gawlik@gmail.com',
|
||||||
|
'github' => 'https://github.com/szymongawlik',
|
||||||
|
'gitea' => 'https://git.rhost.ovh/ryjek',
|
||||||
|
'linkedin' => 'https://www.linkedin.com/in/szymongawlik',
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Technologie pogrupowane wg obszaru.
|
||||||
|
*
|
||||||
|
* @return list<array{group: string, items: list<string>}>
|
||||||
|
*/
|
||||||
|
public function technologies(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
['group' => 'Backend', 'items' => ['PHP 8.4', 'Symfony', 'API Platform', 'Doctrine ORM']],
|
||||||
|
['group' => 'Frontend', 'items' => ['JavaScript', 'jQuery', 'Smarty', 'Twig', 'Stimulus', 'React']],
|
||||||
|
['group' => 'Dane', 'items' => ['MySQL', 'Redis', 'PostgreSQL']],
|
||||||
|
['group' => 'DevOps', 'items' => ['Docker', 'GitHub Actions', 'Nginx', 'Linux']],
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Lista projektów.
|
||||||
|
*
|
||||||
|
* @return list<array{name: string, year: string, role: string, description: string, stack: list<string>, thumbnail: string, github: string, live: string}>
|
||||||
|
*/
|
||||||
|
public function projects(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
[
|
||||||
|
'name' => 'Rozliczenia PIT',
|
||||||
|
'year' => '2024',
|
||||||
|
'role' => 'Autor',
|
||||||
|
'description' => 'Platforma do automatycznego pobierania danych o przychodach z dywidend oraz przeliczania ich zgodnie z obowiązującymi zasadami podatkowymi. Dzięki temu użytkownik szybko otrzymuje zestawienie należnego podatku oraz dane potrzebne do rozliczenia.',
|
||||||
|
'stack' => ['Symfony', 'API Platform', 'MySQL', 'Docker'],
|
||||||
|
'thumbnail' => 'images/projects/taxes.svg',
|
||||||
|
'github' => 'https://git.rhost.ovh/ryjek/taxes',
|
||||||
|
'live' => 'https://taxes.rhost.ovh/',
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'name' => 'CRM',
|
||||||
|
'year' => '2025',
|
||||||
|
'role' => 'Autor',
|
||||||
|
'description' => 'System CRM dla kancelarii syndyka usprawnia zarządzanie sprawozdaniami z wykonania układu, porządkując terminy oraz dane dotyczące poszczególnych postępowań. Automatyczne przypomnienia i kontrola statusów ograniczają ryzyko opóźnień oraz ułatwiają przygotowanie kompletnych raportów dla sądu i wierzycieli.',
|
||||||
|
'stack' => ['Symfony', 'React', 'REST Api', 'MySQL', 'Docker'],
|
||||||
|
'thumbnail' => 'images/projects/crm.svg',
|
||||||
|
'github' => 'https://git.rhost.ovh/ryjek/sprawozdania',
|
||||||
|
'githubfront' => 'https://git.rhost.ovh/ryjek/sprawozdania-frontend',
|
||||||
|
'live' => 'https://crm.rhost.ovh/',
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'name' => 'Wizytówka',
|
||||||
|
'year' => '2024',
|
||||||
|
'role' => 'Backend',
|
||||||
|
'description' => 'Strona wizytówka prezentuje najważniejsze informacje o firmie, jej ofercie i danych kontaktowych w przejrzystej formie. Galeria pozwala zaprezentować realizacje, a sekcja artykułów umożliwia publikowanie aktualności, porad i wartościowych treści dla klientów.',
|
||||||
|
'stack' => ['Symfony', 'Doctrine', 'Stripe', 'Tailwind'],
|
||||||
|
'thumbnail' => 'images/projects/wizytowka.svg',
|
||||||
|
'github' => 'https://github.com/szymongawlik/rynek-lokalny',
|
||||||
|
'live' => 'https://rynek.example.com',
|
||||||
|
],
|
||||||
|
];
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,325 @@
|
|||||||
|
{
|
||||||
|
"doctrine/deprecations": {
|
||||||
|
"version": "1.1",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "1.0",
|
||||||
|
"ref": "fdd756167454623e21f1d769c5b814b243782a67"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"doctrine/doctrine-bundle": {
|
||||||
|
"version": "3.2",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "3.0",
|
||||||
|
"ref": "d39a3bd844edfe90c20ae520b804a3bf4f82b4ad"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/doctrine.yaml",
|
||||||
|
"src/Entity/.gitignore",
|
||||||
|
"src/Repository/.gitignore"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"doctrine/doctrine-migrations-bundle": {
|
||||||
|
"version": "4.0",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "3.1",
|
||||||
|
"ref": "1d01ec03c6ecbd67c3375c5478c9a423ae5d6a33"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/doctrine_migrations.yaml",
|
||||||
|
"migrations/.gitignore"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"phpunit/phpunit": {
|
||||||
|
"version": "13.2",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "11.1",
|
||||||
|
"ref": "ca0bc067abfb40a8de1b2561b96cbfc2b833c314"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
".env.test",
|
||||||
|
"phpunit.dist.xml",
|
||||||
|
"tests/bootstrap.php",
|
||||||
|
"bin/phpunit"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/asset-mapper": {
|
||||||
|
"version": "8.1",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "6.4",
|
||||||
|
"ref": "c01c47af2ec66a74ec046eccb919cfe27d3464ec"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"assets/app.js",
|
||||||
|
"assets/styles/app.css",
|
||||||
|
"config/packages/asset_mapper.yaml",
|
||||||
|
"importmap.php"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/console": {
|
||||||
|
"version": "8.1",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "5.3",
|
||||||
|
"ref": "1781ff40d8a17d87cf53f8d4cf0c8346ed2bb461"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"bin/console"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/debug-bundle": {
|
||||||
|
"version": "8.1",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "5.3",
|
||||||
|
"ref": "5aa8aa48234c8eb6dbdd7b3cd5d791485d2cec4b"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/debug.yaml"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/flex": {
|
||||||
|
"version": "2.11",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "2.4",
|
||||||
|
"ref": "52e9754527a15e2b79d9a610f98185a1fe46622a"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
".env",
|
||||||
|
".env.dev"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/form": {
|
||||||
|
"version": "8.1",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "7.2",
|
||||||
|
"ref": "7d86a6723f4a623f59e2bf966b6aad2fc461d36b"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/csrf.yaml"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/framework-bundle": {
|
||||||
|
"version": "8.1",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "8.1",
|
||||||
|
"ref": "312027aea160796a50bf2d185503afdb5d71f570"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/cache.yaml",
|
||||||
|
"config/packages/framework.yaml",
|
||||||
|
"config/preload.php",
|
||||||
|
"config/routes/framework.yaml",
|
||||||
|
"config/services.yaml",
|
||||||
|
"public/index.php",
|
||||||
|
"src/Controller/.gitignore",
|
||||||
|
"src/Kernel.php",
|
||||||
|
".editorconfig"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/mailer": {
|
||||||
|
"version": "8.1",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "4.3",
|
||||||
|
"ref": "09051cfde49476e3c12cd3a0e44289ace1c75a4f"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/mailer.yaml"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/maker-bundle": {
|
||||||
|
"version": "1.67",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "1.0",
|
||||||
|
"ref": "fadbfe33303a76e25cb63401050439aa9b1a9c7f"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"symfony/messenger": {
|
||||||
|
"version": "8.1",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "6.0",
|
||||||
|
"ref": "d8936e2e2230637ef97e5eecc0eea074eecae58b"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/messenger.yaml"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/monolog-bundle": {
|
||||||
|
"version": "4.0",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "3.7",
|
||||||
|
"ref": "1b9efb10c54cb51c713a9391c9300ff8bceda459"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/monolog.yaml"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/notifier": {
|
||||||
|
"version": "8.1",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "5.0",
|
||||||
|
"ref": "178877daf79d2dbd62129dd03612cb1a2cb407cc"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/notifier.yaml"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/property-info": {
|
||||||
|
"version": "8.1",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "7.3",
|
||||||
|
"ref": "dae70df71978ae9226ae915ffd5fad817f5ca1f7"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/property_info.yaml"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/routing": {
|
||||||
|
"version": "8.1",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "7.4",
|
||||||
|
"ref": "bc94c4fd86f393f3ab3947c18b830ea343e51ded"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/routing.yaml",
|
||||||
|
"config/routes.yaml"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/security-bundle": {
|
||||||
|
"version": "8.1",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "7.4",
|
||||||
|
"ref": "c42fee7802181cdd50f61b8622715829f5d2335c"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/security.yaml",
|
||||||
|
"config/routes/security.yaml"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/stimulus-bundle": {
|
||||||
|
"version": "3.2",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "2.25",
|
||||||
|
"ref": "9b51a69079f3629061dfe0e5d7e20f5a9b20752c"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"assets/controllers.json",
|
||||||
|
"assets/controllers/csrf_protection_controller.js",
|
||||||
|
"assets/controllers/hello_controller.js",
|
||||||
|
"assets/stimulus_bootstrap.js"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/translation": {
|
||||||
|
"version": "8.1",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "6.3",
|
||||||
|
"ref": "620a1b84865ceb2ba304c8f8bf2a185fbf32a843"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/translation.yaml",
|
||||||
|
"translations/.gitignore"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/twig-bundle": {
|
||||||
|
"version": "8.1",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "6.4",
|
||||||
|
"ref": "f250159ebe99153d0c640a3e7742876fc7453f2c"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/twig.yaml",
|
||||||
|
"templates/base.html.twig"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/ux-turbo": {
|
||||||
|
"version": "3.2",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "2.20",
|
||||||
|
"ref": "287f7c6eb6e9b65e422d34c00795b360a787380b"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/ux_turbo.yaml"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/validator": {
|
||||||
|
"version": "8.1",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "7.0",
|
||||||
|
"ref": "8c1c4e28d26a124b0bb273f537ca8ce443472bfd"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/validator.yaml"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/web-profiler-bundle": {
|
||||||
|
"version": "8.1",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "8.1",
|
||||||
|
"ref": "6bdd46f712bbed33a27130b6e055391cb1ab73d9"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/web_profiler.yaml",
|
||||||
|
"config/routes/web_profiler.yaml"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/webapp-pack": {
|
||||||
|
"version": "1.4",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "1.0",
|
||||||
|
"ref": "b9e6cc8e7b6069d0e8a816665809a423864eb4dd"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/messenger.yaml"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"twig/extra-bundle": {
|
||||||
|
"version": "v3.24.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="pl">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<script>document.documentElement.classList.add('js');</script>
|
||||||
|
<title>{% block title %}Welcome!{% endblock %}</title>
|
||||||
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221em%22 font-size=%22104%22>◆</text></svg>">
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
||||||
|
{% block stylesheets %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block javascripts %}
|
||||||
|
{% block importmap %}{{ importmap('app') }}{% endblock %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% set frankenphpHotReload = app.request.server.get('FRANKENPHP_HOT_RELOAD') %}
|
||||||
|
{% if frankenphpHotReload %}
|
||||||
|
<meta name="frankenphp-hot-reload:url" content="{{ frankenphpHotReload }}">
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/idiomorph"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/frankenphp-hot-reload/+esm" type="module"></script>
|
||||||
|
{% endif %}
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{% block body %}{% endblock %}
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{% apply spaceless %}
|
||||||
|
{% if name == 'play' %}
|
||||||
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polygon points="6 4 20 12 6 20 6 4" fill="currentColor" stroke="none"></polygon></svg>
|
||||||
|
{% elseif name == 'github' %}
|
||||||
|
<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 .5C5.37.5 0 5.87 0 12.5c0 5.3 3.44 9.8 8.2 11.39.6.11.82-.26.82-.58v-2.03c-3.34.73-4.04-1.61-4.04-1.61-.55-1.39-1.34-1.76-1.34-1.76-1.09-.75.08-.73.08-.73 1.2.09 1.84 1.24 1.84 1.24 1.07 1.84 2.81 1.31 3.5 1 .11-.78.42-1.31.76-1.61-2.67-.3-5.47-1.34-5.47-5.95 0-1.31.47-2.39 1.24-3.23-.13-.3-.54-1.52.11-3.18 0 0 1.01-.32 3.3 1.23a11.5 11.5 0 0 1 6 0c2.29-1.55 3.3-1.23 3.3-1.23.65 1.66.24 2.88.12 3.18.77.84 1.23 1.92 1.23 3.23 0 4.62-2.81 5.64-5.49 5.94.43.37.82 1.1.82 2.22v3.29c0 .32.21.7.82.58C20.56 22.29 24 17.8 24 12.5 24 5.87 18.63.5 12 .5Z"></path></svg>
|
||||||
|
{% elseif name == 'external' %}
|
||||||
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 3h6v6"></path><path d="M10 14 21 3"></path><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path></svg>
|
||||||
|
{% elseif name == 'close' %}
|
||||||
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg>
|
||||||
|
{% endif %}
|
||||||
|
{% endapply %}
|
||||||
@@ -0,0 +1,179 @@
|
|||||||
|
{% extends 'base.html.twig' %}
|
||||||
|
|
||||||
|
{% block title %}{{ profile.name }} — {{ profile.role }}{% endblock %}
|
||||||
|
|
||||||
|
{% block body %}
|
||||||
|
<header class="site-header">
|
||||||
|
<div class="wrap">
|
||||||
|
<a href="#top" class="brand"><span class="mark">◆</span> {{ profile.name }}</a>
|
||||||
|
<nav class="nav">
|
||||||
|
<a href="#o-mnie">o mnie</a>
|
||||||
|
<a href="#stack">stack</a>
|
||||||
|
<a href="#projekty">projekty <span class="nav-count">[{{ projects|length }}]</span></a>
|
||||||
|
<a href="#kontakt">kontakt</a>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main id="top">
|
||||||
|
{# ---- HERO ---- #}
|
||||||
|
<section class="hero">
|
||||||
|
<div class="wrap">
|
||||||
|
{% if profile.available %}
|
||||||
|
<span class="status"><span class="dot"></span> dostępny do współpracy</span>
|
||||||
|
{% endif %}
|
||||||
|
<h1 class="hero-title">
|
||||||
|
Full Stack Developer<br>
|
||||||
|
od pomysłu <span class="accent">do wdrożenia</span>.
|
||||||
|
</h1>
|
||||||
|
<p class="hero-role">{{ profile.role }} · {{ profile.location }}</p>
|
||||||
|
<p class="hero-summary">{{ profile.summary }}</p>
|
||||||
|
<div class="hero-cta">
|
||||||
|
<a class="btn btn-primary" href="#projekty">Zobacz projekty</a>
|
||||||
|
<a class="btn" href="mailto:{{ profile.email }}">Napisz do mnie</a>
|
||||||
|
<a class="btn" href="{{ profile.gitea }}" target="_blank" rel="noopener">Gitea</a>
|
||||||
|
<a class="btn" href="{{ profile.github }}" target="_blank" rel="noopener">GitHub</a>
|
||||||
|
</div>
|
||||||
|
<div class="hero-meta">
|
||||||
|
<span><b>{{ profile.location }}</b> — lokalizacja</span>
|
||||||
|
<span><b>{{ projects|length }}</b> wybrane projekty</span>
|
||||||
|
<span><b>PHP · JavaScript / jQuery</b> — główny stack</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
{# ---- O MNIE ---- #}
|
||||||
|
<section class="section reveal" id="o-mnie">
|
||||||
|
<div class="wrap">
|
||||||
|
<div class="about-grid">
|
||||||
|
<div>
|
||||||
|
<p class="eyebrow">o mnie</p>
|
||||||
|
<h2 class="section-title">Inżynier, nie tylko programista</h2>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="about-body">
|
||||||
|
{% for paragraph in profile.about %}
|
||||||
|
<p>{{ paragraph }}</p>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
{# <dl class="about-aside" style="margin-top: 28px;">#}
|
||||||
|
{# <dt>rola</dt><dd>{{ profile.role }}</dd>#}
|
||||||
|
{# <dt>podejście</dt><dd>domena → API → interfejs → deploy</dd>#}
|
||||||
|
{# <dt>lokalizacja</dt><dd>{{ profile.location }}</dd>#}
|
||||||
|
{# </dl>#}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
{# ---- STACK ---- #}
|
||||||
|
<section class="section reveal" id="stack">
|
||||||
|
<div class="wrap">
|
||||||
|
<div class="section-head">
|
||||||
|
<p class="eyebrow">stack</p>
|
||||||
|
<h2 class="section-title">Technologie, którymi się zajmuję</h2>
|
||||||
|
<p class="section-lead">Narzędzia, których używam na co dzień — od backendu po wdrożenie.</p>
|
||||||
|
</div>
|
||||||
|
<div class="tech-grid">
|
||||||
|
{% for tech in technologies %}
|
||||||
|
<div class="tech-card">
|
||||||
|
<p class="tech-group">{{ tech.group }}</p>
|
||||||
|
<div class="tech-chips">
|
||||||
|
{% for item in tech.items %}
|
||||||
|
<span class="chip">{{ item }}</span>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
{# ---- PROJEKTY ---- #}
|
||||||
|
<section class="section reveal" id="projekty" data-controller="webview">
|
||||||
|
<div class="wrap">
|
||||||
|
<div class="section-head">
|
||||||
|
<p class="eyebrow">projekty</p>
|
||||||
|
<h2 class="section-title">Wybrane realizacje</h2>
|
||||||
|
<p class="section-lead">Kliknij <b>Live view</b>, aby zobaczyć projekt bez opuszczania strony.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="projects-grid">
|
||||||
|
{% for project in projects %}
|
||||||
|
<article class="project">
|
||||||
|
<img class="project-thumb" src="{{ asset(project.thumbnail) }}" alt="Podgląd projektu {{ project.name }}" loading="lazy" width="480" height="270">
|
||||||
|
<div class="project-body">
|
||||||
|
<div class="project-meta">
|
||||||
|
<span>{{ project.year }}</span>
|
||||||
|
<span>·</span>
|
||||||
|
<span>{{ project.role }}</span>
|
||||||
|
</div>
|
||||||
|
<h3 class="project-name">{{ project.name }}</h3>
|
||||||
|
<p class="project-desc">{{ project.description }}</p>
|
||||||
|
<div class="project-stack">
|
||||||
|
{% for tech in project.stack %}
|
||||||
|
<span class="chip">{{ tech }}</span>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
<div class="project-actions">
|
||||||
|
<button type="button" class="action action-live"
|
||||||
|
data-action="webview#open"
|
||||||
|
data-webview-url-param="{{ project.live }}"
|
||||||
|
data-webview-title-param="{{ project.name }}">
|
||||||
|
{{ include('home/_icon.html.twig', { name: 'play' }) }}
|
||||||
|
Live view
|
||||||
|
</button>
|
||||||
|
<a class="action" href="{{ project.github }}" target="_blank" rel="noopener">
|
||||||
|
{{ include('home/_icon.html.twig', { name: 'github' }) }}
|
||||||
|
Gitea
|
||||||
|
</a>
|
||||||
|
{% if project.githubfront is defined %}
|
||||||
|
<a class="action" href="{{ project.githubfront }}" target="_blank" rel="noopener">
|
||||||
|
{{ include('home/_icon.html.twig', { name: 'github' }) }}
|
||||||
|
Gitea-Front
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{# ---- WEBVIEW (podgląd live w oknie "przeglądarki") ---- #}
|
||||||
|
<dialog class="webview" data-webview-target="dialog" data-action="click->webview#backdrop">
|
||||||
|
<div class="webview-bar">
|
||||||
|
<div class="webview-dots"><span></span><span></span><span></span></div>
|
||||||
|
<div class="webview-address" data-webview-target="address">about:blank</div>
|
||||||
|
<div class="webview-actions">
|
||||||
|
<a class="webview-btn" data-webview-target="external" href="#" target="_blank" rel="noopener" title="Otwórz w nowej karcie" aria-label="Otwórz w nowej karcie">
|
||||||
|
{{ include('home/_icon.html.twig', { name: 'external' }) }}
|
||||||
|
</a>
|
||||||
|
<button type="button" class="webview-btn" data-action="webview#close" title="Zamknij" aria-label="Zamknij podgląd">
|
||||||
|
{{ include('home/_icon.html.twig', { name: 'close' }) }}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="webview-stage">
|
||||||
|
<iframe class="webview-frame" data-webview-target="frame" title="Podgląd projektu" referrerpolicy="no-referrer"></iframe>
|
||||||
|
<div class="webview-fallback" data-webview-target="fallback" hidden>
|
||||||
|
<span class="title" data-webview-target="title"></span>
|
||||||
|
<p>Ta strona nie pozwala na osadzanie w podglądzie.</p>
|
||||||
|
<a class="btn btn-primary" data-webview-target="external" href="#" target="_blank" rel="noopener">Otwórz w nowej karcie</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</dialog>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer class="site-footer" id="kontakt">
|
||||||
|
<div class="wrap">
|
||||||
|
<span>© {{ 'now'|date('Y') }} {{ profile.name }} — zbudowane w Symfony</span>
|
||||||
|
<div class="footer-links">
|
||||||
|
<a href="mailto:{{ profile.email }}">e-mail</a>
|
||||||
|
<a href="{{ profile.github }}" target="_blank" rel="noopener">GitHub</a>
|
||||||
|
<a href="{{ profile.linkedin }}" target="_blank" rel="noopener">LinkedIn</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
{% endblock %}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Symfony\Component\Dotenv\Dotenv;
|
||||||
|
|
||||||
|
require dirname(__DIR__).'/vendor/autoload.php';
|
||||||
|
|
||||||
|
if (method_exists(Dotenv::class, 'bootEnv')) {
|
||||||
|
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($_SERVER['APP_DEBUG']) {
|
||||||
|
umask(0000);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user