Skip to content

Commit 5c1bc7b

Browse files
committed
Focus bounding box in footer
1 parent ac4067e commit 5c1bc7b

5 files changed

Lines changed: 33 additions & 13 deletions

File tree

‎_TODO.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,7 @@ We have generated detailed outlines for each of the MDX proposed articles we hav
160160
Act as a principal software engineer. Your goal is to write a detailed technical article based on the provided outline. Context: The target audience is Senior DevOps and infrastructure Engineers. The tone should be authoritative, professional, and concise, avoiding fluff or filler words. Think step-by-step before writing to improve the accuracy of technical explanations. Use a friendly first-person voice. Anything that reads like generic marketing copy is not what we want but we still want the effect of being "real" and approachable - try not to sound like technical documentation. We want to show empathy for our readers.
161161

162162
Let's work through each article section by section based on the H2 headers in the outline. If the section looks good as-is, I'll just type "ok" so you know to continue to the next section.
163+
164+
## Build Errors
165+
166+
22:50:48 [WARN] [glob-loader] The base directory "/home/kevin/Repos/WebstackBuilders/CorporateWebsite/astro.webstackbuilders.com/src/content/about/" does not exist.

‎src/components/Footer/footer.module.css‎

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,20 @@
102102
text-decoration: none;
103103
}
104104

105+
.footerBottomLinkDescriptionText {
106+
color: var(--color-content);
107+
}
108+
109+
.footerBottomLink:hover .footerBottomLinkDescriptionText,
110+
.footerBottomLink:focus-visible .footerBottomLinkDescriptionText {
111+
color: var(--color-content);
112+
}
113+
105114
.footerIconButton :global([data-icon]) {
106-
fill: var(--color-content);
115+
color: var(--color-content);
116+
fill: currentcolor;
107117
height: 2rem;
108-
stroke: var(--color-content);
118+
stroke: currentcolor;
109119
width: 2rem;
110120
}
111121

@@ -119,8 +129,7 @@
119129

120130
.footerIconButton:hover :global([data-icon]),
121131
.footerIconButton:focus-visible :global([data-icon]) {
122-
fill: var(--color-secondary);
123-
stroke: var(--color-secondary);
132+
color: var(--color-secondary);
124133
}
125134

126135
.footerGrid :global(a:focus-visible),
@@ -164,7 +173,7 @@
164173
"hire-me social bottom-row" 2rem
165174
"contact social bottom-row" auto
166175
"copyright copyright copyright" auto
167-
/ 1fr 1fr 1fr;
176+
/ 2fr 2fr 1fr;
168177
}
169178

170179
.footerHireMe {

‎src/components/Footer/footer.module.css.d.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ declare const styles: {
1616
readonly footerBottomLink: string
1717
readonly footerBottomLinkTitle: string
1818
readonly footerBottomLinkDescription: string
19+
readonly footerBottomLinkDescriptionText: string
1920
readonly footerCopyright: string
2021
readonly footerHireMe: string
2122
readonly footerHireMeAnchor: string

‎src/components/Footer/index.astro‎

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const year = new Date().getFullYear()
2020
]}
2121
>
2222
{/* Page footer company contact */}
23-
<div class:list={[styles.footerContact, 'mt-3 sm:mt-0 sm:flex sm:items-center']}>
23+
<div class:list={[styles.footerContact, 'mt-3 sm:mt-0 sm:flex sm:items-start sm:pt-6']}>
2424
{/* Mobile: avatar and company name in same row, Desktop: avatar on left side */}
2525
<div class="flex items-center sm:block">
2626
<div class="mr-3 w-16">
@@ -123,13 +123,15 @@ const year = new Date().getFullYear()
123123
href="/#newsletter"
124124
class:list={[
125125
styles.footerBottomLink,
126-
'group hover:text-secondary focus:text-secondary',
126+
'group',
127127
]}
128128
>
129129
<div class="lg:hidden">Subscribe to</div>
130130
<span class={styles.footerBottomLinkTitle}>Mailing List</span>
131131
<span class:list={[styles.footerBottomLinkDescription, 'hidden lg:block']}>
132-
Sign up to stay in touch and get great content
132+
<span class={styles.footerBottomLinkDescriptionText}>
133+
Sign up to stay in touch and get great content
134+
</span>
133135
</span>
134136
</a>
135137
</div>
@@ -140,12 +142,14 @@ const year = new Date().getFullYear()
140142
href="/consent"
141143
class:list={[
142144
styles.footerBottomLink,
143-
'group hover:text-secondary focus:text-secondary',
145+
'group',
144146
]}
145147
>
146148
<span class={styles.footerBottomLinkTitle}>Consent</span>
147149
<span class:list={[styles.footerBottomLinkDescription, 'hidden lg:block']}>
148-
Manage your privacy preferences and data consent
150+
<span class={styles.footerBottomLinkDescriptionText}>
151+
Manage your privacy preferences and data consent
152+
</span>
149153
</span>
150154
</a>
151155

@@ -154,12 +158,14 @@ const year = new Date().getFullYear()
154158
href="/privacy"
155159
class:list={[
156160
styles.footerBottomLink,
157-
'group hover:text-secondary focus:text-secondary',
161+
'group',
158162
]}
159163
>
160164
<span class={styles.footerBottomLinkTitle}>Privacy Policy</span>
161165
<span class:list={[styles.footerBottomLinkDescription, 'hidden lg:block']}>
162-
Learn what data we collect and how we use it
166+
<span class={styles.footerBottomLinkDescriptionText}>
167+
Learn what data we collect and how we use it
168+
</span>
163169
</span>
164170
</a>
165171
</div>

‎src/icons/bug.svg‎

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)