Skip to content

Commit

Permalink
work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbreese committed Apr 9, 2024
1 parent fecc45e commit 9af7ccf
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 100 deletions.
21 changes: 10 additions & 11 deletions src/components/config-pages/local-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@ const LocalFooter = ({
}

return (
<div className="local-footer bg-foggy-light rs-py-6 bg-stone-dark">
<div className="local-footer rs-py-6 bg-stone-dark">
<div className="centered">
<div className="rs-mb-6">
<FooterLockup {...lockupProps} />
</div>

<div
className="grid md:grid-cols-2 lg:grid-cols-4 gap-32 [&_a]:font-normal [&_a]:underline [&_a]:text-white [&_a]:decoration-fog-dark [&_a:hover]:underline [&_a:hover]:text-fog-dark [&_a:focus]:underline [&_a:focus]:text-fog-dark [&_a]:transition">
className="grid md:grid-cols-2 lg:grid-cols-4 gap-32 [&_a]:font-normal [&_a]:decoration-1 [&_a]:text-white [&_a]:decoration-white [&_a:hover]:decoration-2 [&_a:hover]:decoration-bay-light [&_a:hover]:text-bay-light [&_a:focus]:text-bay-light [&_a]:transition">
<div>

{suLocalFootSocial &&
<ul className="list-unstyled flex gap-2">
<ul className="list-unstyled flex gap-2 rs-mb-0">
{suLocalFootSocial.map((link, index) => {
if (!link.url) return;
return (
Expand All @@ -86,10 +86,6 @@ const LocalFooter = ({
</ul>
}

{/* {suLocalFootAddress &&
<Address {...suLocalFootAddress}/>
} */}

{suLocalFootAction &&
<ul className="list-unstyled">
{suLocalFootAction.map((link, index) => {
Expand All @@ -105,7 +101,7 @@ const LocalFooter = ({
</ul>
}

<Wysiwyg html={suLocalFootPrCo?.processed}/>
<Wysiwyg html={suLocalFootPrCo?.processed} className="list-unstyled rs-ml-4 rs-mr-3 rs-mt-2"/>
</div>

<div>
Expand All @@ -125,7 +121,7 @@ const LocalFooter = ({
})}
</ul>
}
<Wysiwyg html={suLocalFootSeCo?.processed}/>
<Wysiwyg html={suLocalFootSeCo?.processed} className="list-unstyled rs-ml-4 rs-mr-3 rs-mt-2"/>

</div>

Expand All @@ -148,14 +144,17 @@ const LocalFooter = ({
</ul>
}

<Wysiwyg html={suLocalFootTr2Co?.processed}/>
<Wysiwyg html={suLocalFootTr2Co?.processed} className="list-unstyled rs-ml-4 rs-mr-3 rs-mt-2"/>

</div>

<Wysiwyg html={suLocalFootTrCo?.processed}/>
<Wysiwyg html={suLocalFootTrCo?.processed} className="list-unstyled rs-ml-4 rs-mr-3 rs-mt-2"/>

</div>
</div>
<div className="text-white text-21 text-center lg:text-left lg:centered">
© 2024 Stanford University Press. All rights reserved.
</div>
</div>
)
}
Expand Down
85 changes: 0 additions & 85 deletions src/components/global/page-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,91 +12,6 @@ const PageFooter = async () => {
<footer>
{superFooterConfig && <SuperFooter {...superFooterConfig}/>}
{localFooterConfig && <LocalFooter {...localFooterConfig}/>}

<div className="bg-cardinal-red py-10 [&_a]:text-white [&_a]:no-underline [&_a:hocus]:text-white ">
<div className="centered lg:flex lg:items-start lg:gap-20">
<div className="text-center mb-10">
<a className="font-stanford text-center" href="https://www.stanford.edu">
<div className="text-[3.2rem]">Stanford</div>
<div>University</div>
</a>
</div>
<div className="mx-auto lg:mx-0 [&_a:hover]:underline [&_a:focus]:underline">
<nav aria-label="University Links"
className="flex gap-20 sm:gap-0 sm:flex-col justify-center lg:justify-start mb-5">
<ul className="text-2xl md:text-3xl list-unstyled sm:flex sm:gap-10 justify-center lg:justify-start">
<li>
<a href="https://www.stanford.edu">
Stanford Home
</a>
</li>
<li>
<a href="https://visit.stanford.edu/plan/">
Maps &amp; Directions
</a>
</li>
<li>
<a href="https://www.stanford.edu/search/">
Search Stanford
</a>
</li>
<li>
<a href="https://emergency.stanford.edu">
Emergency Info
</a>
</li>
</ul>

<ul
className="text-2xl lg:text-3xl sm:text-xl list-unstyled sm:flex sm:gap-10 justify-center lg:justify-start">
<li>
<a href="https://www.stanford.edu/site/terms/"
title="Terms of use for sites" className="font-normal">
Terms of Use
</a>
</li>
<li>
<a href="https://www.stanford.edu/site/privacy/"
title="Privacy and cookie policy" className="font-normal">
Privacy
</a>
</li>
<li>
<a
href="https://uit.stanford.edu/security/copyright-infringement"
title="Report alleged copyright infringement" className="font-normal">
Copyright
</a>
</li>
<li>
<a
href="https://adminguide.stanford.edu/chapter-1/subchapter-5/policy-1-5-4"
title="Ownership and use of Stanford trademarks and images"
className="font-normal">
Trademarks
</a>
</li>
<li>
<a
href="https://bulletin.stanford.edu/pages/c7vDgeOuJIfpZe8GKmW3"
title="Non-discrimination policy" className="font-normal">
Non-Discrimination
</a>
</li>
<li>
<a href="https://www.stanford.edu/site/accessibility"
title="Report web accessibility issues" className="font-normal">
Accessibility
</a>
</li>
</ul>
</nav>
<div className="text-white text-xl text-center lg:text-left">
© Stanford University. Stanford, California 94305.
</div>
</div>
</div>
</div>
</footer>
)
}
Expand Down
4 changes: 2 additions & 2 deletions src/styles/fonts.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Source_Sans_3} from "next/font/google";
import {Montserrat} from "next/font/google";

export const sourceSans3 = Source_Sans_3({
export const sourceSans3 = Montserrat({
subsets: ["latin"],
display: "swap",
variable: "--font-sans",
Expand Down
9 changes: 7 additions & 2 deletions src/styles/typography/local-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,19 @@ module.exports = function () {
const components = {
".local-footer": {
"h2": {
fontSize: "1.5em",
fontSize: "1.2em",
},
"h3": {
fontSize: "1.3em",
},
"h4": {
fontSize: "1.1em",
}
},
"ul": {
color: "#fff",
listStyle: "none",
paddingLeft: "0",
},
},
};

Expand Down

0 comments on commit 9af7ccf

Please sign in to comment.