Najlepsze przepisy kulinarne

Witajcie na naszym blogu!

Jesteśmy wielkimi fanami gotowania i chcemy dzielić się z Wami zawartością naszego codziennego stołu oraz testami różnych restauracji. które znajdą się na naszej drodze. Jeżeli jesteście zainteresowani poszczególnymi przepisami, to napiszcie do nas. Postarajmy się pomóc jak możemy! Jeżeli szukacie pomocy dietetyka to polecamy Kasię Brzozowską z Gdańska. Jej dieta PCOS to absolutna magia 🙂

Dlaczego Foodo? Bo to trochę jak Voodo, a w kuchni też odprawiamy czary 🙂 Zapraszamy do wspólnego odprawiania gusł i szamańskich rytuałów w kuchniach. Stwórzmy razem kolejne pyszne przepisy!

[blocksy_posts limit=”12″]
'; }/* ------------------------------------------------------- Style strony do druku ------------------------------------------------------- */ function getPrintCSS() { return [ '*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }','body {', ' font-family: Georgia, "Times New Roman", serif;', ' font-size: 13pt;', ' line-height: 1.65;', ' color: #1a1412;', ' background: #fff;', ' padding: 0;', '}',/* Header */ '.fp-header {', ' display: flex;', ' align-items: center;', ' justify-content: space-between;', ' padding: 18px 32px 16px;', ' border-bottom: 2.5px solid #E87722;', ' margin-bottom: 28px;', '}', '.fp-logo { height: 36px; width: auto; }', '.fp-url { font-size: 9pt; color: #999; font-family: sans-serif; }',/* Main */ '.fp-main { padding: 0 32px 24px; max-width: 720px; margin: 0 auto; }',/* Miniatura */ '.fp-thumbnail { margin-bottom: 24px; }', '.fp-thumbnail img {', ' width: 100%;', ' max-height: 320px;', ' object-fit: cover;', ' border-radius: 10px;', '}',/* Tytuł */ '.fp-title {', ' font-family: "Playfair Display", Georgia, serif;', ' font-size: 26pt;', ' font-weight: 700;', ' line-height: 1.2;', ' color: #1a1412;', ' margin-bottom: 10px;', '}',/* Ocena */ '.fp-rating { font-size: 12pt; margin-bottom: 22px; color: #666; font-family: sans-serif; }', '.fp-stars { color: #E87722; letter-spacing: 2px; font-size: 14pt; }', '.fp-rating-num { font-weight: 600; color: #333; }', '.fp-rating-count { color: #999; font-weight: 400; }',/* Tabela meta */ '.fp-meta-section {', ' margin-bottom: 30px;', ' border: 1.5px solid #e8e0d8;', ' border-radius: 10px;', ' overflow: hidden;', '}', '.fp-meta { width: 100%; border-collapse: collapse; font-family: sans-serif; }', '.fp-meta tr:nth-child(even) td { background: #faf8f5; }', '.fp-meta td {', ' padding: 10px 16px;', ' font-size: 11pt;', ' border-bottom: 1px solid #f0ebe5;', ' vertical-align: middle;', '}', '.fp-meta tr:last-child td { border-bottom: none; }', '.fp-meta-label { color: #888; width: 50%; }', '.fp-meta-value { font-weight: 700; color: #1a1412; text-align: right; }',/* Separator przed treścią */ '.fp-content {', ' border-top: 1.5px solid #e8e0d8;', ' padding-top: 24px;', ' margin-top: 4px;', '}',/* Treść przepisu */ '.fp-content h1, .fp-content h2 {', ' font-family: "Playfair Display", Georgia, serif;', ' font-size: 16pt;', ' margin: 22px 0 10px;', ' color: #1a1412;', '}', '.fp-content h3 {', ' font-size: 13pt;', ' font-weight: 700;', ' margin: 18px 0 8px;', ' font-family: sans-serif;', '}', '.fp-content p { margin-bottom: 12px; }', '.fp-content ul, .fp-content ol {', ' padding-left: 22px;', ' margin-bottom: 14px;', '}', '.fp-content li { margin-bottom: 5px; }', '.fp-content strong { color: #1a1412; }', '.fp-content img {', ' max-width: 100%;', ' height: auto;', ' border-radius: 8px;', ' margin: 12px 0;', '}', '.fp-content table {', ' width: 100%;', ' border-collapse: collapse;', ' margin-bottom: 16px;', ' font-size: 11pt;', '}', '.fp-content td, .fp-content th {', ' padding: 8px 12px;', ' border: 1px solid #e0d8d0;', '}', '.fp-content blockquote {', ' border-left: 3px solid #E87722;', ' margin: 16px 0;', ' padding: 10px 16px;', ' color: #666;', ' font-style: italic;', '}',/* Elementy do ukrycia w druku (przyciski WP itp.) */ '.foodo-timer-wrap, .foodo-print-btn,', '.sharedaddy, .post-navigation,', '[class*="elementor-button"],', '.wp-block-buttons { display: none !important; }',/* Footer */ '.fp-footer {', ' margin-top: 32px;', ' padding: 14px 32px;', ' border-top: 1px solid #e8e0d8;', ' font-size: 9pt;', ' color: #aaa;', ' font-family: sans-serif;', ' text-align: center;', '}', '.fp-footer strong { color: #E87722; }',/* @media print */ '@media print {', ' body { padding: 0; }', ' .fp-header { padding-top: 0; }', '}', ].join('\n'); }/* ------------------------------------------------------- Escape HTML ------------------------------------------------------- */ function escHtml( str ) { return String( str ) .replace( /&/g, '&' ) .replace( //g, '>' ) .replace( /"/g, '"' ); }/* ------------------------------------------------------- Obsługa kliknięcia przycisku ------------------------------------------------------- */ function handlePrint( btn ) { btn.disabled = true; var origLabel = btn.querySelector('.foodo-print-label').textContent; btn.querySelector('.foodo-print-label').textContent = 'Przygotowuję...';var formData = new FormData(); formData.append( 'action', 'foodo_get_print_data' ); formData.append( 'post_id', POST_ID );fetch( AJAX_URL, { method: 'POST', body: formData } ) .then( function( r ) { return r.json(); } ) .then( function( resp ) { if ( ! resp.success ) { alert( 'Nie udało się załadować przepisu.' ); return; }var html = buildPrintPage( resp.data );/* Otwórz nowe okno */ var win = window.open( '', '_blank', 'width=800,height=700' ); if ( ! win ) { alert( 'Zezwól na otwieranie okien dla tej strony.' ); return; }win.document.open(); win.document.write( html ); win.document.close();/* Po załadowaniu obrazków — uruchom drukowanie */ win.onload = function () { setTimeout( function () { win.focus(); win.print(); }, 400 ); }; } ) .catch( function() { alert( 'Błąd połączenia. Spróbuj ponownie.' ); } ) .finally( function() { btn.disabled = false; btn.querySelector('.foodo-print-label').textContent = origLabel; } ); }/* ------------------------------------------------------- Nasłuch na przyciski ------------------------------------------------------- */ function bindButtons() { document.querySelectorAll( '.foodo-print-btn:not([data-print-init])' ) .forEach( function( btn ) { btn.dataset.printInit = '1'; btn.addEventListener( 'click', function() { handlePrint( btn ); } ); } ); }if ( document.readyState === 'loading' ) { document.addEventListener( 'DOMContentLoaded', bindButtons ); } else { bindButtons(); } setTimeout( bindButtons, 900 );})();