Skip to content

Commit

Permalink
Refactor page titles and descriptions to use Bengali language
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanshahriar32 committed Oct 13, 2024
1 parent 19e7e5d commit af58b92
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions app/(personal)/projects/[slug]/gallery/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Home: NextPage = async ({ params }: Props,) => {
return (
<>
<Head>
<title>Rinattok21: Images</title>
<title>ঋণাত্মক - ২১: Images</title>
<meta
property="og:image"
content="https://nextjsconf-pics.vercel.app/og-image.png"
Expand Down Expand Up @@ -71,11 +71,11 @@ const Home: NextPage = async ({ params }: Props,) => {
/>
</div>
<h1 className="mt-8 mb-4 text-base font-bold uppercase tracking-widest">
{initial?.data?.title || 'Rinattok21: Images'}
{initial?.data?.title || 'ঋণাত্মক - ২১: Images'}
</h1>
<p className="max-w-[40ch] font-extralight text-xs md:text-base text-black/75 sm:max-w-[32ch]">
{
'A collection of images from Rinattok21. Please enjoy the images and share them with your friends.'
'A collection of images from ঋণাত্মক - ২১. Please enjoy the images and share them with your friends.'
}
</p>
<a
Expand Down
8 changes: 4 additions & 4 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ const mono = IBM_Plex_Mono({
weight: ['500', '700'],
})

const APP_NAME = 'Rinattok21'
const APP_DEFAULT_TITLE = 'Rinattok21'
const APP_TITLE_TEMPLATE = 'Rinattok21 - PWA App'
const APP_DESCRIPTION = 'A documentary application of HSTU: ECE21 batch! Bought to you by Rinattok21.'
const APP_NAME = 'ঋণাত্মক - ২১'
const APP_DEFAULT_TITLE = 'ঋণাত্মক - ২১'
const APP_TITLE_TEMPLATE = 'ঋণাত্মক - ২১ - PWA App'
const APP_DESCRIPTION = 'A documentary application of HSTU: ECE21 batch! Bought to you by ঋণাত্মক - ২১.'

export const metadata: Metadata = {
applicationName: APP_NAME,
Expand Down
2 changes: 1 addition & 1 deletion components/pages/home/SparklesView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Button } from '@/components/ui/button'
export function SparklesView() {
const [showRinattok, setShowRinattok] = useState(true)

// Effect to toggle between Rinattok21 and Get App button every 2 seconds
// Effect to toggle between ঋণাত্মক - ২১ and Get App button every 2 seconds
useEffect(() => {
const interval = setInterval(() => {
setShowRinattok((prev) => !prev)
Expand Down
2 changes: 1 addition & 1 deletion components/pages/project/Gallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const Gallery = ({ data }: any) => {
alt="Next.js Conf photo"
className="transform rounded-lg brightness-90 transition will-change-auto group-hover:brightness-110"
placeholder="blur"
blurDataURL="https://res.cloudinary.com/rinattok21/image/upload/c_scale,w_8,q_70/v1635730000/nextjsconf-pics/1.jpg"
blurDataURL="https://res.cloudinary.com/ঋণাত্মক - ২১/image/upload/c_scale,w_8,q_70/v1635730000/nextjsconf-pics/1.jpg"
src={url}
width={720}
height={480}
Expand Down
4 changes: 2 additions & 2 deletions components/pwa-install.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ const PwaInstall = () => {
}, []);
const handleEmailOpen = (event) => {
event.preventDefault();
window.location.href = "mailto:rinattok21@gmail.com";
window.location.href = "mailto:ঋণাত্মক - ২১@gmail.com";

};
const handleInstallClick = (event) => {
event.preventDefault();
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"display_override": ["window-controls-overlay"],
"protocol_handlers": [{ "protocol": "mailto", "url": "/newEmail?to=%s" }],
"name": "HSTU ECE21",
"short_name": "RINATTOK21",
"short_name": "ঋণাত্মক - ২১",
"description": "Documentary of HSTU ECE21 Batch. A project by Shahriar Hasan.",
"theme_color": "#000000",
"background_color": "#FFFFFF",
Expand Down
2 changes: 1 addition & 1 deletion sanity.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import settings from '@/sanity/schemas/singletons/settings'

const title =
process.env.NEXT_PUBLIC_SANITY_PROJECT_TITLE ||
'Rinattok21 - HSTU ECE 21 Batch'
'ঋণাত্মক - ২১ - HSTU ECE 21 Batch'

export default defineConfig({
basePath: studioUrl,
Expand Down

0 comments on commit af58b92

Please sign in to comment.