-
Notifications
You must be signed in to change notification settings - Fork 4
✨ Added "Powered by TinaCMS" footer with logo #253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jeoffreyfischer
wants to merge
17
commits into
main
Choose a base branch
from
3827-add-powered-by-tinacms-footer
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
885b89e
Added footer "Powered by TinaCMS"
jeoffreyfischer dc196a2
Apply footer
jeoffreyfischer 324d982
remove theme selector as it is now part of footer
jeoffreyfischer c69f533
Fixed lint issues
jeoffreyfischer 7281b3d
Merge branch 'main' into 3827-add-powered-by-tinacms-footer
jeoffreyfischer d12b05a
Fixed lint issue in footer
jeoffreyfischer 0ea36c7
Fixed lint issue in tab-layout
jeoffreyfischer 3bdfe50
Fix Pagefind test: use page origin for URLs, add fallback paths
jeoffreyfischer 3f257f8
test handles preview deploy where Pagefind files might not be avail
jeoffreyfischer 906ee71
Simplified div struct as per Josh comment
jeoffreyfischer 190a300
Fixed lint errors
jeoffreyfischer 8297b0b
Renamed docsfooter to footer
jeoffreyfischer 1c8d4e4
Moved footer from tab-layout to layout
jeoffreyfischer 84a8567
Centered footer
jeoffreyfischer e86cef5
Refactored themeselector condition
jeoffreyfischer 4608901
lint error - reorganise imports
jeoffreyfischer 357bc22
Reverted changes to search-helpers (removed search from UI)
jeoffreyfischer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| import { isThemeSelectorEnabled } from "@/app/layout"; | ||
| import { ThemeSelector } from "@/components/ui/theme-selector"; | ||
| import Image from "next/image"; | ||
| import Link from "next/link"; | ||
|
|
||
| export const Footer = () => { | ||
| return ( | ||
| <footer className="w-full py-8 mt-16 border-t border-gray-200 dark:border-gray-700"> | ||
| <div className="max-w-[2560px] mx-auto px-4 flex items-center justify-center relative"> | ||
| <Link | ||
| href="https://tina.io/" | ||
| target="_blank" | ||
| rel="noopener noreferrer" | ||
| className="flex items-center gap-3 hover:opacity-80 transition-opacity" | ||
| > | ||
| <Image | ||
| src="/svg/tina-icon-orange.svg" | ||
| alt="Tina Logo" | ||
| width={48} | ||
| height={48} | ||
| className="w-12 h-12" | ||
| /> | ||
| <span className="text-base font-medium text-gray-600 dark:text-gray-400 uppercase tracking-wide"> | ||
| Powered by TinaCMS | ||
| </span> | ||
| </Link> | ||
| <div className="absolute right-4"> | ||
| {isThemeSelectorEnabled && <ThemeSelector />} | ||
| </div> | ||
| </div> | ||
| </footer> | ||
| ); | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.