Skip to content

Commit

Permalink
fix: website url typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nagi-ovo committed Aug 26, 2024
1 parent 141e432 commit 3875144
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion next-sitemap.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
siteUrl: 'https://bjut-swift.cn/',
siteUrl: 'https://bjutswift.cn/',
generateRobotsTxt: true,
robotsTxtOptions: {
policies: [{ userAgent: '*', allow: '/' }],
Expand Down
6 changes: 3 additions & 3 deletions src/components/Seo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import { openGraph } from '@/lib/helper.client';

const defaultMeta = {
title: 'BJUT SWIFT',
siteName: 'bjut-swift.cn',
siteName: 'bjutswift.cn',
description: 'BJUT SWIFT官网',
url: 'https://bjut-swift.cn',
image: 'https://bjut-swift.cn/favicon/large-og.jpg',
url: 'https://bjutswift.cn',
image: 'https://bjutswift.cn/favicon/large-og.jpg',
type: 'website',
robots: 'follow, index',
author: 'BJUT SWIFT',
Expand Down
6 changes: 3 additions & 3 deletions src/components/layout/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ function SocialLinks() {
? 'Click the mail logo to copy'
: 'Copied to clipboard 🥳'}
<Accent className='inline-block font-medium'>
bjut-[email protected]
bjut.[email protected]
</Accent>
</div>
}
>
<button
onClick={() => {
copy('bjut-[email protected]').then(() => {
copy('bjut.[email protected]').then(() => {
setCopyStatus('copied');
setTimeout(() => setCopyStatus('idle'), 1500);
});
Expand Down Expand Up @@ -158,7 +158,7 @@ const footerLinks: { href: string; text: string; tooltip: React.ReactNode }[] =
tooltip: 'Get an email whenever I post, no spam',
},
{
href: 'https://bjut-swift.cn/rss.xml',
href: 'https://bjutswift.cn/rss.xml',
text: 'RSS',
tooltip: 'Add BJUT SWIFT blog to your feeds',
},
Expand Down
2 changes: 1 addition & 1 deletion src/lib/rss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getAllFilesFrontmatter } from '@/lib/mdx.server';
export async function getRssXml() {
const frontmatters = await getAllFilesFrontmatter('blog');

const blogUrl = 'https://bjut-swift.cn/blog';
const blogUrl = 'https://bjutswift.cn/blog';

const itemXml = frontmatters
.filter((fm) => !fm.slug.startsWith('id-'))
Expand Down
2 changes: 1 addition & 1 deletion src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function MyApp({ Component, pageProps }: AppProps) {
// Don't increment views if not on main domain
if (
window.location.host !==
(process.env.NEXT_PUBLIC_BLOCK_DOMAIN_WHITELIST || 'bjut-swift.cn') &&
(process.env.NEXT_PUBLIC_BLOCK_DOMAIN_WHITELIST || 'bjutswift.cn') &&
blockDomainMeta
) {
if (getFromLocalStorage('incrementMetaFlag') !== 'false') {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class MyDocument extends Document {
defer
data-website-id={process.env.NEXT_PUBLIC_UMAMI_WEBSITE_ID || ''}
src='https://umami.thcl.dev/script.js'
data-domains='bjut-swift.cn'
data-domains='bjutswift.cn'
/>
</Head>
<body className='bg-white antialiased transition-colors dark:bg-dark dark:text-white'>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/design.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function DesignPage() {
</h1>

<p data-fade='1' className='mt-2 text-gray-600 dark:text-gray-300'>
bjut-swift.cn color palette
bjutswift.cn color palette
</p>

<div
Expand Down

0 comments on commit 3875144

Please sign in to comment.