Compare commits
3 Commits
v1.0.0-sta
...
v1.0.0-sta
Author | SHA1 | Date | |
---|---|---|---|
|
596593ef6a | ||
189a84b69f | |||
5aa83510e1 |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/cli",
|
||||
"version": "1.0.0-staging.2",
|
||||
"version": "1.0.0-staging.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"imports": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/storybook",
|
||||
"version": "1.0.0-staging.2",
|
||||
"version": "1.0.0-staging.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
@ -12,6 +12,7 @@ import { unstable_setRequestLocale } from "next-intl/server"
|
||||
import Image from "next/image"
|
||||
|
||||
import WikipediaLogo from "#public/images/Wikipedia-Logo.webp"
|
||||
import { Section } from "@repo/ui/Layout/Section"
|
||||
|
||||
interface HomePageProps extends LocaleProps {}
|
||||
|
||||
@ -26,8 +27,8 @@ const HomePage: React.FC<HomePageProps> = (props) => {
|
||||
const localeWikipedia = fromLocaleToWikipediaLocale(params.locale)
|
||||
|
||||
return (
|
||||
<MainLayout>
|
||||
<section className="text-center">
|
||||
<MainLayout center>
|
||||
<Section horizontalSpacing>
|
||||
<Typography as="h1" variant="h1">
|
||||
{t("home.title")}
|
||||
</Typography>
|
||||
@ -43,7 +44,7 @@ const HomePage: React.FC<HomePageProps> = (props) => {
|
||||
},
|
||||
})}
|
||||
</Typography>
|
||||
</section>
|
||||
</Section>
|
||||
|
||||
<section className="my-6 flex items-center justify-center">
|
||||
<Image src={WikipediaLogo} alt="Wikipedia" className="w-72" />
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/website",
|
||||
"version": "1.0.0-staging.2",
|
||||
"version": "1.0.0-staging.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"imports": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "repo",
|
||||
"version": "1.0.0-staging.2",
|
||||
"version": "1.0.0-staging.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"packageManager": "pnpm@9.5.0+sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/eslint-config",
|
||||
"version": "1.0.0-staging.2",
|
||||
"version": "1.0.0-staging.3",
|
||||
"private": true,
|
||||
"main": ".eslintrc.json",
|
||||
"files": [
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/config-tailwind",
|
||||
"version": "1.0.0-staging.2",
|
||||
"version": "1.0.0-staging.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./tailwind.config.js",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/config-typescript",
|
||||
"version": "1.0.0-staging.2",
|
||||
"version": "1.0.0-staging.3",
|
||||
"private": true,
|
||||
"files": [
|
||||
"tsconfig.json"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/i18n",
|
||||
"version": "1.0.0-staging.2",
|
||||
"version": "1.0.0-staging.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/react-hooks",
|
||||
"version": "1.0.0-staging.2",
|
||||
"version": "1.0.0-staging.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/ui",
|
||||
"version": "1.0.0-staging.2",
|
||||
"version": "1.0.0-staging.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
|
@ -9,7 +9,7 @@ import {
|
||||
|
||||
export const THEMES = ["light", "dark"] as const
|
||||
export type Theme = (typeof THEMES)[number]
|
||||
export const THEME_DEFAULT = "dark" as Theme
|
||||
export const THEME_DEFAULT = "light" as Theme
|
||||
|
||||
export interface ThemeProviderProps extends React.PropsWithChildren {}
|
||||
|
||||
|
@ -12,7 +12,7 @@ export const MainLayout: React.FC<MainLayoutProps> = (props) => {
|
||||
return (
|
||||
<main
|
||||
className={classNames(
|
||||
"min-h-[calc(100vh-188px)] md:mx-auto md:max-w-4xl lg:max-w-7xl",
|
||||
"min-h-[calc(100vh-133px)] md:mx-auto md:max-w-4xl lg:max-w-7xl",
|
||||
{
|
||||
"flex flex-col items-center justify-center text-center": center,
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/utils",
|
||||
"version": "1.0.0-staging.2",
|
||||
"version": "1.0.0-staging.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/wikipedia-game-solver",
|
||||
"version": "1.0.0-staging.2",
|
||||
"version": "1.0.0-staging.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
|
Reference in New Issue
Block a user