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

[Fix] Layout modifications and minor tweaks #3

Merged
merged 9 commits into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
9 changes: 0 additions & 9 deletions public/favicon/browserconfig.xml

This file was deleted.

19 changes: 0 additions & 19 deletions public/favicon/site.webmanifest

This file was deleted.

19 changes: 4 additions & 15 deletions src/app/_components/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Container from "@/app/_components/container";
import { FACEBOOK_URL, GITHUB_URL, X_URL } from "@/lib/constants";
import { FaFacebook, FaXTwitter, FaGithub } from "react-icons/fa6";

export function Footer() {
Expand All @@ -9,31 +10,19 @@ export function Footer() {
<img src="/assets/blog/logo.png" alt="Your Logo" className="h-10 " />

<div className="flex md:justify-center">
<a
href="https://nextjs.org/docs/app/building-your-application/routing/pages-and-layouts"
target="_blank"
rel="noopener noreferrer"
>
<a href={FACEBOOK_URL} target="_blank" rel="noopener noreferrer">
<FaFacebook
size="25px"
className="m-2 mx-3 rounded hover:bg-white hover:blue text-white"
/>
</a>
<a
href="https://nextjs.org/docs/app/building-your-application/routing/pages-and-layouts"
target="_blank"
rel="noopener noreferrer"
>
<a href={X_URL} target="_blank" rel="noopener noreferrer">
<FaXTwitter
size="25px"
className="m-2 mx-3 rounded hover:bg-white hover:blue text-white"
/>
</a>
<a
href="https://nextjs.org/docs/app/building-your-application/routing/pages-and-layouts"
target="_blank"
rel="noopener noreferrer"
>
<a href={GITHUB_URL} target="_blank" rel="noopener noreferrer">
<FaGithub
size="25px"
className="m-2 mx-3 rounded hover:bg-white hover:blue text-white"
Expand Down
2 changes: 1 addition & 1 deletion src/app/_components/more-stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type Props = {

export function MoreStories({ posts }: Props) {
return (
<section className="my-5 gap-y-5 py-8">
<section className="my-5 gap-y-5 pt-20">
<div className="my-5 md:w-2/4 mx-auto lg:gap-x-35 mb-52">
{posts.map((post) => (
<PostPreview
Expand Down
19 changes: 4 additions & 15 deletions src/app/_components/navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Container from "@/app/_components/container";
import { FACEBOOK_URL, GITHUB_URL, X_URL } from "@/lib/constants";
import { FaFacebook, FaXTwitter, FaGithub } from "react-icons/fa6";

export function Navbar() {
Expand All @@ -9,31 +10,19 @@ export function Navbar() {
<img src="/assets/blog/logo.png" alt="Your Logo" className="h-10 " />

<div className="flex md:justify-center">
<a
href="https://nextjs.org/docs/app/building-your-application/routing/pages-and-layouts"
target="_blank"
rel="noopener noreferrer"
>
<a href={FACEBOOK_URL} target="_blank" rel="noopener noreferrer">
<FaFacebook
size="25px"
className="m-2 mx-3 rounded hover:bg-white hover:blue text-white"
/>
</a>
<a
href="https://nextjs.org/docs/app/building-your-application/routing/pages-and-layouts"
target="_blank"
rel="noopener noreferrer"
>
<a href={X_URL} target="_blank" rel="noopener noreferrer">
<FaXTwitter
size="25px"
className="m-2 mx-3 rounded hover:bg-white hover:blue text-white"
/>
</a>
<a
href="https://nextjs.org/docs/app/building-your-application/routing/pages-and-layouts"
target="_blank"
rel="noopener noreferrer"
>
<a href={GITHUB_URL} target="_blank" rel="noopener noreferrer">
<FaGithub
size="25px"
className="m-2 mx-3 rounded hover:bg-white hover:blue text-white"
Expand Down
5 changes: 0 additions & 5 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ export default function RootLayout({
return (
<html lang="en">
<head>
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png" />
<link rel="manifest" href="/favicon/site.webmanifest" />
<link rel="mask-icon" href="/favicon/safari-pinned-tab.svg" color="#000000" />
<link rel="shortcut icon" href="/favicon/favicon.ico" />
<meta name="msapplication-TileColor" content="#000000" />
<meta name="msapplication-config" content="/favicon/browserconfig.xml" />
Expand Down
Binary file added src/public/assets/blog/deku.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/public/assets/blog/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/public/assets/blog/swob.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/public/deku.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/public/favicon/favicon.ico
Binary file not shown.
19 changes: 0 additions & 19 deletions src/public/favicon/site.webmanifest

This file was deleted.

Binary file added src/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/public/swob.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.