-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #197 from Ches-ctrl/2024-06-17-front-end-wizardry
2024 06 17 front end wizardry
- Loading branch information
Showing
6 changed files
with
26 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
@@ -1,29 +1,36 @@ | ||
<% social_links = [ | ||
{ | ||
sr_text: 'Follow us on X', | ||
icon_name: 'logos/x' | ||
icon_name: 'logos/x', | ||
link: 'https://x.com' | ||
}, | ||
{ | ||
sr_text: 'Follow us on Github', | ||
icon_name: 'logos/github' | ||
icon_name: 'logos/github', | ||
link: 'https://www.github.com/Ches-ctrl/Cheddar' | ||
}, | ||
{ | ||
sr_text: 'Join our Discord server', | ||
icon_name: 'logos/discord' | ||
}, | ||
# { | ||
# sr_text: 'Follow us on LinkedIn', | ||
# icon_name: 'logos/linkedin', | ||
# link: 'https://www.linkedin.com/company/Cheddarjobs' | ||
# } | ||
] %> | ||
<footer class="mx-auto w-full max-w-2xl space-y-10 pb-16 lg:max-w-5xl"> | ||
<div class="flex flex-col items-center justify-between gap-5 border-t border-zinc-900/5 pt-8 sm:flex-row dark:border-white/5"> | ||
<p class="text-xs text-zinc-600 dark:text-zinc-400"> | ||
© Copyright 2024. All rights reserved. | ||
© Cheddar 2024. All rights reserved. | ||
</p> | ||
<div class="flex gap-4"> | ||
<% social_links.each do |link| %> | ||
<%= link_to '#', class: 'group' do %> | ||
<%= link_to link[:link], class: 'group' do %> | ||
<span class="sr-only"><%= link[:sr_text] %></span> | ||
<%= inline_svg_tag("template/icons/#{link[:icon_name]}.svg") %> | ||
<% end %> | ||
<% end %> | ||
</div> | ||
</div> | ||
</footer> | ||
</footer> |
This file contains 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
Empty file.
Empty file.
This file contains 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