Skip to content
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

feat: add footer #40

Closed
wants to merge 74 commits into from
Closed
Show file tree
Hide file tree
Changes from 44 commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
29bfbed
feat: add footer
jedryczkatymon Dec 14, 2024
2e220bc
chore: separate links and sections of footer into reusable components
jedryczkatymon Dec 14, 2024
2aae8db
chore: change function declarations and move components outside the m…
jedryczkatymon Dec 14, 2024
d07ba36
chore: add footer tag, make h2 headers upper case, increase horizonta…
jedryczkatymon Dec 15, 2024
47c56f8
chore: change image alt text
jedryczkatymon Dec 15, 2024
d44f861
chore: changed tiktok url label
jedryczkatymon Dec 16, 2024
b515115
fix: improve spacing on small screens
jedryczkatymon Dec 17, 2024
cf8c0b9
feat: add footer
jedryczkatymon Dec 14, 2024
3dbd892
chore: separate links and sections of footer into reusable components
jedryczkatymon Dec 14, 2024
75371d8
chore: change function declarations and move components outside the m…
jedryczkatymon Dec 14, 2024
f4babca
chore: add footer tag, make h2 headers upper case, increase horizonta…
jedryczkatymon Dec 15, 2024
e603b84
chore: change image alt text
jedryczkatymon Dec 15, 2024
344aacb
chore: changed tiktok url label
jedryczkatymon Dec 16, 2024
9621a72
fix: improve spacing on small screens
jedryczkatymon Dec 17, 2024
12b2537
Merge branch 'feat/footer' of https://github.com/Solvro/web-juwenalia…
jedryczkatymon Dec 17, 2024
cc46cce
feat: add no data info component
jedryczkatymon Dec 14, 2024
e7e991c
fix: fix NoDataInfo formatting and changes made to .json files
jedryczkatymon Dec 14, 2024
5d0c004
chore: update event type
Octopus4344 Dec 14, 2024
7393627
feat: implement long-lived access token generation #31
kguzek Dec 13, 2024
e0ecad1
fix: add missing line in module docstring
kguzek Dec 14, 2024
0f82960
fix: adjust artist type
Octopus4344 Dec 14, 2024
3398ecf
feat: begin-work-on-leaflet-map
GTR1701 Nov 19, 2024
bc6743f
feat: add a clickable highlighted region with a popup to a map
GTR1701 Nov 20, 2024
8008a61
chore: commit before branch rebase
GTR1701 Nov 26, 2024
09f4bcc
feat: add static floor map with controls
GTR1701 Nov 26, 2024
15ff6f8
chore: add bus and tram stop pins and area marker
GTR1701 Dec 1, 2024
2b7875a
chore: resolve merge conflict
GTR1701 Dec 3, 2024
94299dc
fix: fix html table structure and dynamic import
GTR1701 Dec 10, 2024
81724a6
fix: fix error 500 Map container already initialized
GTR1701 Dec 14, 2024
de38ad7
chore: resolve merge conflict attempt
GTR1701 Dec 14, 2024
b08109a
fix: config mismatch
Octopus4344 Dec 14, 2024
4eb8dc3
fix: leaflet container type
Octopus4344 Dec 14, 2024
2019c02
fix: static map clickable
Octopus4344 Dec 14, 2024
31e7c2d
fix: package mismatch
Octopus4344 Dec 14, 2024
a0fe765
fix: tailwind config
Octopus4344 Dec 14, 2024
be65ed8
feat: add latest news preview for mobile layout
kguzek Dec 14, 2024
a8ded37
feat: integrate homepage news preview UI for larger displays
kguzek Dec 14, 2024
4cc9c54
chore: separate links and sections of footer into reusable components
jedryczkatymon Dec 14, 2024
96fe330
chore: change function declarations and move components outside the m…
jedryczkatymon Dec 14, 2024
7627e48
chore: add footer tag, make h2 headers upper case, increase horizonta…
jedryczkatymon Dec 15, 2024
4bb767f
chore: changed tiktok url label
jedryczkatymon Dec 16, 2024
1932d1d
fix: improve spacing on small screens
jedryczkatymon Dec 17, 2024
561a744
Merge branch 'feat/footer' of https://github.com/Solvro/web-juwenalia…
jedryczkatymon Dec 17, 2024
ce14e98
fix: fix duplicate mistake from rebasing
jedryczkatymon Dec 17, 2024
1266a90
Merge branch 'main' into feat/footer
jedryczkatymon Dec 17, 2024
8ac2af8
feat: add footer
jedryczkatymon Dec 14, 2024
6b83d2a
chore: separate links and sections of footer into reusable components
jedryczkatymon Dec 14, 2024
ad3d57f
chore: change function declarations and move components outside the m…
jedryczkatymon Dec 14, 2024
5395be6
chore: add footer tag, make h2 headers upper case, increase horizonta…
jedryczkatymon Dec 15, 2024
819faa1
chore: change image alt text
jedryczkatymon Dec 15, 2024
df233b5
chore: changed tiktok url label
jedryczkatymon Dec 16, 2024
9e3a21c
fix: improve spacing on small screens
jedryczkatymon Dec 17, 2024
270c7a3
feat: add no data info component
jedryczkatymon Dec 14, 2024
77891a2
fix: fix NoDataInfo formatting and changes made to .json files
jedryczkatymon Dec 14, 2024
702b341
feat: begin-work-on-leaflet-map
GTR1701 Nov 19, 2024
5ab63fe
feat: add a clickable highlighted region with a popup to a map
GTR1701 Nov 20, 2024
fd8fb18
chore: commit before branch rebase
GTR1701 Nov 26, 2024
94981ac
feat: add static floor map with controls
GTR1701 Nov 26, 2024
9c4a186
chore: add bus and tram stop pins and area marker
GTR1701 Dec 1, 2024
d2aceb2
chore: resolve merge conflict
GTR1701 Dec 3, 2024
2db13e4
fix: fix html table structure and dynamic import
GTR1701 Dec 10, 2024
dcaaa0a
fix: fix error 500 Map container already initialized
GTR1701 Dec 14, 2024
658e211
fix: leaflet container type
Octopus4344 Dec 14, 2024
74405af
fix: static map clickable
Octopus4344 Dec 14, 2024
8fce9e4
fix: package mismatch
Octopus4344 Dec 14, 2024
e0b192b
feat: integrate homepage news preview UI for larger displays
kguzek Dec 14, 2024
0b8b2e2
chore: separate links and sections of footer into reusable components
jedryczkatymon Dec 14, 2024
bf8002f
chore: change function declarations and move components outside the m…
jedryczkatymon Dec 14, 2024
4cec9dd
chore: add footer tag, make h2 headers upper case, increase horizonta…
jedryczkatymon Dec 15, 2024
49cdbe9
chore: changed tiktok url label
jedryczkatymon Dec 16, 2024
89e6b1b
fix: improve spacing on small screens
jedryczkatymon Dec 17, 2024
e168c08
fix: fix duplicate mistake from rebasing
jedryczkatymon Dec 17, 2024
38e9a24
chore: change files to be compatible with formatter
jedryczkatymon Dec 21, 2024
df91b54
Merge branch 'feat/footer' of https://github.com/Solvro/web-juwenalia…
jedryczkatymon Dec 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
bun.lockb

# facebook user data cache
user_details.json
16 changes: 0 additions & 16 deletions .prettierrc

This file was deleted.

Binary file added public/Juwe2025.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Montserrat } from "next/font/google";
import "./globals.css";
import QueryProvider from "@/lib/queryClient";
import { Navbar } from "@/components/Navbar";
import { Footer } from "@/components/Footer";

export const metadata: Metadata = {
title: "Juwenalia by Solvro",
Expand All @@ -26,6 +27,7 @@ export default function RootLayout({
<body>
<Navbar />
{children}
<Footer />
</body>
</QueryProvider>
</html>
Expand Down
84 changes: 84 additions & 0 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
import Image from "next/image";
import Link from "next/link";

function List({ text, children }: { text: string; children: React.ReactNode }) {
return (
<div>
<h2 className="mb-5 text-base font-medium uppercase">{text}</h2>
<ul>{children}</ul>
</div>
);
}

function ListItem({
url,
target = "_blank",
text,
}: {
url: string;
target?: string;
text: string;
}) {
return (
<li className="mb-2 text-sm">
<Link href={url} target={target}>
{text}
</Link>
</li>
);
}

function Footer() {
return (
<footer>
<div className="md:mb-16 md:mt-24 grid place-items-center">
<Image
src="/Juwe2025.png"
alt="Logo Juwenalia 2025 #WROCŁAWRAZEM"
className="md:hidden my-20"
width={175}
height={175}
/>
<div className="sm:grid-cols-4 sm:justify-around md:flex md:w-11/12 md:flex-row md:justify-around max-[475px]:gap-x-12 max-[640px]:gap-x-40 grid grid-cols-2 gap-y-10">
<List text="Kontakt">
<ListItem url="mailto:[email protected]" text="Adres e-mail" />
<ListItem url="mailto:[email protected]" text="Adres e-mail" />
</List>
<List text="Social media">
<ListItem url="https://instagram.com/" text="Instagram" />
<ListItem url="https://facebook.com/" text="Facebook" />
<ListItem url="https://tiktok.com/" text="TikTok" />
</List>
<Image
src="/Juwe2025.png"
alt="Logo Juwenalia 2025 #WROCŁAWRAZEM"
className="md:-mt-8 md:block hidden"
width={250}
height={150}
/>
<List text="Linki">
<ListItem url="/" text="Harmonogram" target="_self" />
<ListItem url="/artists" text="Artyści" target="_self" />
<ListItem url="/map" text="Mapa wydarzenia" target="_self" />
<ListItem url="/postsFb" text="Aktualności" target="_self" />
</List>
<List text="Inne">
<ListItem url="" text="Link 1" target="_self" />
<ListItem url="" text="Link 2" target="_self" />
<ListItem url="" text="Link 3" target="_self" />
</List>
</div>
</div>
<div className="md:mb-16 md:flex md:justify-center mb-8 ml-5 mt-8 text-sm">
<div className="md:flex md:flex-row md:justify-between w-4/5">
<p className="md:w-full mb-8 w-48 text-slate-400">
© Juwenalia 2025. Wszelkie prawa zastrzeżone.
</p>
<p className="w-52 font-medium">Made with ❤️ by Solvro</p>
</div>
</div>
</footer>
);
}

export { Footer };