changes to try with chatgpt
This commit is contained in:
5
.chatgpt_config.yaml
Normal file
5
.chatgpt_config.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
default_prompt_blocks:
|
||||
- "basic-prompt"
|
||||
- "typo3-development"
|
||||
directories:
|
||||
- "packages/base/ContentBlocks"
|
||||
BIN
data/test.sql.gz
Normal file
BIN
data/test.sql.gz
Normal file
Binary file not shown.
@@ -1,73 +1,155 @@
|
||||
.frame-type-cloonar_hero {
|
||||
position: relative;
|
||||
background: #f9f9f9;
|
||||
padding: 1rem; /* Mobile-first padding */
|
||||
}
|
||||
|
||||
/* Mobile-first: stacked layout */
|
||||
.frame-type-cloonar_hero .hero {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding-bottom: 3rem; /* Space for overlap */
|
||||
background: #f9f9f9;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .hero-header {
|
||||
text-align: center;
|
||||
margin-bottom: 2rem;
|
||||
font-size: 2.5rem;
|
||||
color: #3c3c3c;
|
||||
.frame-type-cloonar_hero .hero-subheader {
|
||||
font-size: 1rem;
|
||||
color: #3c6418;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .hero-content {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 2rem;
|
||||
.frame-type-cloonar_hero .hero-title {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
color: #3c6418;
|
||||
margin: 0 0 1rem 0;
|
||||
line-height: 1.2;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .hero-text {
|
||||
flex: 1;
|
||||
font-size: 1.2rem;
|
||||
color: #3c3c3c;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .hero-image-wrapper {
|
||||
position: relative;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .hero-image {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
border-radius: 8px;
|
||||
font-size: 0.9rem;
|
||||
color: #333;
|
||||
line-height: 1.4;
|
||||
margin-bottom: 1rem;
|
||||
max-width: 45ch;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .hero-social-icons {
|
||||
position: absolute;
|
||||
right: -10%;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .social-icon {
|
||||
display: inline-block;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
background-color: #3c3c3c;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #3c6418;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
line-height: 40px;
|
||||
border-radius: 50%;
|
||||
font-size: 1rem;
|
||||
text-decoration: none;
|
||||
border-radius: 50%;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
transition: background 0.3s;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .social-icon:hover {
|
||||
background: #1e3810;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .hero-image-wrapper {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .hero-image {
|
||||
max-width: 200px;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
/* Medium devices (≥768px) - slightly larger text and icons */
|
||||
@media (min-width: 768px) {
|
||||
.frame-type-cloonar_hero .hero-subheader {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .next-section-overlap {
|
||||
position: absolute;
|
||||
bottom: 2rem;
|
||||
width: 100%;
|
||||
height: 2rem;
|
||||
background: #ffffff;
|
||||
z-index: 10;
|
||||
.frame-type-cloonar_hero .hero-title {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 1.2rem;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .hero-text {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .social-icon {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .hero-image {
|
||||
max-width: 250px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Large devices (≥992px): Switch to 3-column layout */
|
||||
@media (min-width: 992px) {
|
||||
.frame-type-cloonar_hero {
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
/* Three-column grid: text (left), image (middle), icons (right) */
|
||||
.frame-type-cloonar_hero .hero {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto auto;
|
||||
grid-template-areas:
|
||||
"subheader image icons"
|
||||
"title image icons"
|
||||
"text image icons"
|
||||
"social image icons";
|
||||
align-items: start;
|
||||
justify-items: start;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .hero-subheader {
|
||||
grid-area: subheader;
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .hero-title {
|
||||
grid-area: title;
|
||||
font-size: 3rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .hero-text {
|
||||
grid-area: text;
|
||||
font-size: 1rem;
|
||||
max-width: 40ch;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .hero-social-icons {
|
||||
grid-area: social;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
margin-bottom: 0;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .hero-image-wrapper {
|
||||
grid-area: image;
|
||||
margin-top: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.frame-type-cloonar_hero .hero-image {
|
||||
max-width: 300px; /* Slightly larger on desktop, but not too big */
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,15 +1,22 @@
|
||||
<f:layout name="Default" />
|
||||
|
||||
<!-- No extra heading from the parent layout -->
|
||||
<f:section name="Header" />
|
||||
|
||||
<f:section name="Main">
|
||||
<f:asset.css identifier="CBHero" href="{cb:assetPath()}/frontend.css" />
|
||||
|
||||
<div class="hero">
|
||||
<header class="hero-header">
|
||||
<h1>{data.header}</h1>
|
||||
</header>
|
||||
<div class="hero-content">
|
||||
<div class="hero-subheader">{data.subheader}</div>
|
||||
<h2 class="hero-title">{data.header}</h2>
|
||||
<div class="hero-text">
|
||||
<f:format.html>{data.bodytext}</f:format.html>
|
||||
</div>
|
||||
<div class="hero-social-icons">
|
||||
<a href="#" class="social-icon">X</a>
|
||||
<a href="#" class="social-icon">Instagram</a>
|
||||
<a href="#" class="social-icon">TikTok</a>
|
||||
</div>
|
||||
<div class="hero-image-wrapper">
|
||||
<f:if condition="{data.image}">
|
||||
<f:then>
|
||||
@@ -19,12 +26,6 @@
|
||||
<p>No image available</p>
|
||||
</f:else>
|
||||
</f:if>
|
||||
<div class="hero-social-icons">
|
||||
<a href="#" class="social-icon">X</a>
|
||||
<a href="#" class="social-icon">Instagram</a>
|
||||
<a href="#" class="social-icon">TikTok</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="next-section-overlap"></div>
|
||||
</div>
|
||||
|
||||
@@ -1,8 +1,13 @@
|
||||
<div class="frame frame-type-{data.CType}">
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h2>{data.header}</h2>
|
||||
</div>
|
||||
<f:render section="Header" optional="true" />
|
||||
<f:render section="Main" optional="true" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<f:section name="Header">
|
||||
<div class="header">
|
||||
<h2>{data.header}</h2>
|
||||
</div>
|
||||
</f:section>
|
||||
|
||||
|
||||
@@ -9,3 +9,15 @@ $breakpoint-sm: 576px;
|
||||
$breakpoint-md: 768px;
|
||||
$breakpoint-lg: 992px;
|
||||
$breakpoint-xl: 1200px;
|
||||
// variables.scss
|
||||
|
||||
// Breakpoint Variables
|
||||
:root {
|
||||
--breakpoint-xs: 480px;
|
||||
--breakpoint-sm: 576px;
|
||||
--breakpoint-md: 768px;
|
||||
--breakpoint-lg: 992px;
|
||||
--breakpoint-xl: 1200px;
|
||||
}
|
||||
|
||||
// Additional global variables can be added here
|
||||
|
||||
Reference in New Issue
Block a user