Skip to content

Commit

Permalink
Formatted all files and fixed import errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
wrux committed Jun 23, 2023
1 parent da1db85 commit 92bc839
Show file tree
Hide file tree
Showing 44 changed files with 470 additions and 186 deletions.
13 changes: 6 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
version: 2
updates:

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: "weekly"
interval: 'weekly'

# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/"
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: "weekly"
interval: 'weekly'
4 changes: 2 additions & 2 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: ESLint

on:
push:
branches: [ "main" ]
branches: ['main']
pull_request:
branches: [ "main" ]
branches: ['main']
schedule:
- cron: '18 2 * * 0'

Expand Down
7 changes: 4 additions & 3 deletions app/(content)/(pages)/countries/[slug]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { client, getDocumentSlugs } from '~/sanity/lib/client';
import { groq } from 'next-sanity';
import countryCodeEmoji from 'country-code-emoji';
import { groq } from 'next-sanity';

import { ListPosts, Section } from '~/components';
import { imageFragment } from '~/lib/fragments';
import { FadeIn } from '~/components/animations';
import { imageFragment } from '~/lib/fragments';
import { client, getDocumentSlugs } from '~/sanity/lib/client';

export const revalidate = 300;

Expand Down
3 changes: 2 additions & 1 deletion app/(content)/(pages)/countries/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import Link from 'next/link';
import { groq } from 'next-sanity';
import { client } from '~/sanity/lib/client';

import { Section } from '~/components';
import { FadeIn } from '~/components/animations';
import { client } from '~/sanity/lib/client';

export const revalidate = 300;

Expand Down
3 changes: 2 additions & 1 deletion app/(content)/(pages)/post/[slug]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { groq } from 'next-sanity';
import { BlogPosting } from 'schema-dts';
import { JsonLd } from 'react-schemaorg';
import { BlogPosting } from 'schema-dts';

import {
CountryList,
CoverImage,
Expand Down
3 changes: 2 additions & 1 deletion app/(content)/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { groq } from 'next-sanity';

import { Intro, ListPosts } from '~/components';
import { client } from '~/sanity/lib/client';
import { imageFragment } from '~/lib/fragments';
import { client } from '~/sanity/lib/client';

export const revalidate = 300;

Expand Down
6 changes: 3 additions & 3 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Script from 'next/script';
import { Inter } from 'next/font/google';

import '~/styles/main.css';

import { Inter } from 'next/font/google';
import Script from 'next/script';

const sans = Inter({
variable: '--font-sans',
subsets: ['latin'],
Expand Down
Loading

0 comments on commit 92bc839

Please sign in to comment.