Skip to content

Commit

Permalink
Update Footer.tsx styling (tinacms#2774)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagov8 authored Jan 21, 2025
1 parent 1bc1c9b commit 29c592d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions components/layout/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const LinkGroup = ({ item, isOpen, onClick }: {
}) => {
return (
<details
className={`inline-block drop-shadow-sm relative opacity-90 text-white uppercase text-lg lg:text-xl font-tuner transition duration-150 ease-out ${isOpen ? 'open' : ''}`}
className={`inline-block drop-shadow-sm relative opacity-90 text-white text-lg lg:text-xl font-tuner transition duration-150 ease-out ${isOpen ? 'open' : ''}`}
open={isOpen}
onClick={(e) => {
e.preventDefault();
Expand Down Expand Up @@ -74,7 +74,7 @@ export const LinkItem = ({ item }) => {

return (
<DynamicLink href={link} passHref>
<div className="inline-block drop-shadow-sm relative opacity-90 hover:opacity-100 text-white uppercase text-lg lg:text-xl font-tuner transition duration-150 ease-out hover:-translate-y-px hover:drop-shadow-[0_0_6px_rgba(255,255,255,0.5)] active:translate-y-px hover:-translate-x-px active:translate-x-px">
<div className="inline-block drop-shadow-sm relative opacity-90 hover:opacity-100 text-white text-lg lg:text-xl font-tuner transition duration-150 ease-out hover:-translate-y-px hover:drop-shadow-[0_0_6px_rgba(255,255,255,0.5)] active:translate-y-px hover:-translate-x-px active:translate-x-px">
{label}
</div>
</DynamicLink>
Expand Down Expand Up @@ -119,7 +119,7 @@ export const Footer = () => {
className="flex flex-col items-stretch justify-start gap-2"
>
{hasHeader && (
<p className="uppercase text-orange-100 font-bold -mt-1">
<p className="uppercase text-orange-100 opacity-70 font-bold -mt-1">
{column.header}
</p>
)}
Expand Down
2 changes: 1 addition & 1 deletion components/logo/TinaIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const TinaIcon = ({
<Link href={link} className={className}>
<h1 className="flex items-center">
<TinaIconSvg
className={`${children ? 'w-8' : 'w-10'} h-auto ${
className={`${children ? 'w-8' : 'w-20'} h-auto ${
color === 'orange' ? 'fill-orange-500' : 'fill-white'
}`}
/>
Expand Down
4 changes: 1 addition & 3 deletions content/footer/Master-Footer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"Column1": {
"header": "Product",
"footerItem": [
{
"label": "Showcase",
Expand Down Expand Up @@ -30,7 +29,6 @@
]
},
"Column2": {
"header": "Resources",
"footerItem": [
{
"label": "Blog",
Expand Down Expand Up @@ -62,7 +60,7 @@
"Column3": {
"footerItem": [
{
"label": "Whats New",
"label": "What's New",
"items": [
{
"label": "TinaCMS",
Expand Down

0 comments on commit 29c592d

Please sign in to comment.