Skip to content

Commit

Permalink
🐛 Fix deploy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mdkaifansari04 committed Jan 11, 2024
1 parent d5b393d commit 1f86ab1
Show file tree
Hide file tree
Showing 15 changed files with 46 additions and 9 deletions.
23 changes: 23 additions & 0 deletions app/(root)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import RightSidebar from "../../components/shared/rightsidebar";
import Header from "../../components/shared/header";
import { APP_NAME, APP_DESCRIPTION } from "../../constants";
import { dark } from "@clerk/themes";
import Head from "next/head";

export const metadata: Metadata = {
title: APP_NAME,
Expand All @@ -36,6 +37,28 @@ export default function RootLayout({
}}
>
<html lang="en">
<Head>
{/* Other head elements */}
<link
rel="apple-touch-icon"
sizes="180x180"
href="/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon-16x16.png"
/>
<link rel="manifest" href="/site.webmanifest" />
</Head>

<body
className={`${montserrat.variable} ${inter.variable} bg-primary-500 text-light-2`}
>
Expand Down
7 changes: 4 additions & 3 deletions components/cards/threadCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ function ThreadCard({
<FadeImg
key={index}
src={comment}
className={clx(`w-7 h-7 rounded-full relative my-1`, {
"left-2 shadow-sm": index === 0,
"right-1 shadow-md": index !== 0,
className={clx(`w-6 h-6 rounded-full relative my-1`, {
"left-1 shadow-sm": index === 0,
"right-1 shadow-md border border-dark-7":
index !== 0,
"!left-0 !right-0": commentProfile.length === 1,
})}
/>
Expand Down
2 changes: 1 addition & 1 deletion components/shared/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ async function Header() {
return (
<nav className="fixed z-50 md:relative bg-secondary-500 md:bg-transparent md:border-[#27272A] md:!border-b-[0.001px] flex min-w-full justify-between items-center py-4 md:py-5 px-7 shadow-sm">
<div className="flex gap-2 items-center">
<FadeImg className="w-8 h-8" src="./assets/logo.svg" />
<FadeImg className="w-8 h-8" src="./logo.svg" />
<span className="font-montserrat font-semibold leading-4">
{APP_NAME}
</span>
Expand Down
2 changes: 1 addition & 1 deletion constants/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const APP_NAME = "Thread" as const;
export const APP_NAME = "Threads" as const;

export const APP_DESCRIPTION =
"Discover TwinTalks: the innovative thread clone platform that revolutionizes online discussions. Engage in mirrored conversations, explore parallel posts, and connect in a dynamic, duplicate dialogue environment. Experience a new realm of digital discourse with TwinTalks, where every conversation is a journey of discovery." as const;
Expand Down
Binary file added public/android-chrome-192x192.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 public/android-chrome-512x512.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 public/apple-touch-icon.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 public/favicon-16x16.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 public/favicon-32x32.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 public/favicon.ico
Binary file not shown.
Binary file removed public/logo.png
Binary file not shown.
1 change: 1 addition & 0 deletions public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
4 changes: 0 additions & 4 deletions styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
@tailwind components;
@tailwind utilities;

* {
scroll-behavior: smooth !important;
}

@layer components {

/* main */
Expand Down
15 changes: 15 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
//...
ignoreWarnings: [
{
module: /module2\.js\?[34]/, // A RegExp
},
{
module: /[13]/,
message: /homepage/,
},
/warning from compiler/,
/Serializing big strings/,
(warning) => true,
],
};

0 comments on commit 1f86ab1

Please sign in to comment.