Skip to content

Commit 72dcd1d

Browse files
michaelDragomirMichael Dragomir
and
Michael Dragomir
authored
refactoring footer styling (#1824)
Co-authored-by: Michael Dragomir <michaeldragomir@Michaels-Laptop.lan>
1 parent 99a3640 commit 72dcd1d

File tree

4 files changed

+225
-492
lines changed

4 files changed

+225
-492
lines changed

common/constants/navigation.js

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ const projectRebuild = {
8080
href: '/project_rebuild',
8181
};
8282

83+
const press = {
84+
name: 'Press',
85+
href: '/press',
86+
};
87+
8388
const servicesGroup = {
8489
...services,
8590
sublinks: [podcast, scholarship, projectRebuild],
@@ -106,28 +111,32 @@ export const mobileNavItems = flattenDepth(
106111
2,
107112
);
108113

109-
// MARK: Footer items
110114
export const footerItems = {
111-
column1: [about, contact, faq, services],
112-
column2: [chapters, scholarship, jobs],
113-
column3: [getInvolved, podcast, history, donate],
114-
column4: [
115-
{
116-
href: '/press',
117-
name: 'Press',
118-
},
115+
items: [
116+
about,
117+
chapters,
118+
jobs,
119+
getInvolved,
120+
contact,
121+
scholarship,
122+
podcast,
123+
history,
124+
faq,
125+
donate,
126+
press,
119127
branding,
128+
services,
120129
team,
121130
],
122131
legal: [
123132
{
124-
href: '/terms',
125133
name: 'Terms of Use',
134+
href: '/terms',
126135
},
127136
{
128137
// NOTE: If you change this route, please update the redirect in `vercel.json` as well
129-
href: 'https://www.iubenda.com/privacy-policy/8174861',
130138
name: 'Privacy',
139+
href: 'https://www.iubenda.com/privacy-policy/8174861',
131140
analyticsEventLabel: 'Privacy',
132141
},
133142
],

components/Footer/Footer.module.css

Lines changed: 0 additions & 203 deletions
This file was deleted.

0 commit comments

Comments
 (0)