diff --git a/app/(prizes)/prizes/[user_id]/page.tsx b/app/(prizes)/prizes/[user_id]/page.tsx
new file mode 100644
index 0000000..577fdee
--- /dev/null
+++ b/app/(prizes)/prizes/[user_id]/page.tsx
@@ -0,0 +1,35 @@
+'use client';
+import PrizeCard from '@/components/prizes/PrizeCard';
+import { useRouter } from 'next/router';
+
+const page = ({ params }: { params: { user_id: string } }) => {
+ return (
+
+ );
+};
+
+export default page;
diff --git a/app/(prizes)/prizes/auth/page.tsx b/app/(prizes)/prizes/auth/page.tsx
index 910125e..38764e7 100644
--- a/app/(prizes)/prizes/auth/page.tsx
+++ b/app/(prizes)/prizes/auth/page.tsx
@@ -3,11 +3,9 @@ import React from 'react';
const page = () => {
return (
-
-
-
-
-
+
);
diff --git a/components/prizes/PrizeCard.tsx b/components/prizes/PrizeCard.tsx
new file mode 100644
index 0000000..54c2163
--- /dev/null
+++ b/components/prizes/PrizeCard.tsx
@@ -0,0 +1,47 @@
+import { cn } from '@/lib/utils';
+import Image from 'next/image';
+
+interface IProps {
+ variant: 'default' | 'selected' | 'disabled';
+}
+
+const PrizeCard = ({ variant }: IProps) => {
+ return (
+
+
+
+
+
+
+ Новый Cadillac Escalade 2025 Premium Luxury Platinun
+
+
+ Это роскошный полноразмерный SUV, представленный американским производителем Cadillac.
+ Этот автомобиль отличается высоким уровнем комфорта, стиля и технологий.{' '}
+
+ {variant === 'default' ? (
+
+ Выбрать
+
+ ) : variant === 'disabled' ? (
+
+ Недоступно
+
+ ) : variant === 'selected' ? (
+
+ Выбрано
+
+ ) : null}
+
+
+ );
+};
+
+export default PrizeCard;
diff --git a/components/prizes/SmsForm.tsx b/components/prizes/SmsForm.tsx
index 8781838..d41abf8 100644
--- a/components/prizes/SmsForm.tsx
+++ b/components/prizes/SmsForm.tsx
@@ -1,6 +1,9 @@
-import React from 'react';
+'use client';
+import Link from 'next/link';
+import React, { useState } from 'react';
const SmsForm = () => {
+ const [inputValue, setInputValue] = useState('');
return (
-
- Войти
-
+
+
+ Войти
+
+
);
};
diff --git a/public/prize.jpg b/public/prize.jpg
new file mode 100644
index 0000000..6972c29
Binary files /dev/null and b/public/prize.jpg differ
diff --git a/tailwind.config.js b/tailwind.config.js
index 1c9bb7f..ff51039 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -71,6 +71,7 @@ export const theme = {
// Surface
lightSurface: '#FCF8FF',
lightOnSurface: '#1B1B21',
+ lightOnSurfaceDisabled: 'rgba(27, 27, 33, 0.12)',
lightSurfaceVariant: '#E4E1EC',
lightOnSurfaceVariant: '#46464F',
lightSurfaceContainerLowest: '#FFFFFF',
@@ -92,6 +93,9 @@ export const theme = {
heading1: '36px',
heading2: '32px',
heading3: '28px',
+ heading4: '26px',
+ heading5: '24px',
+ heading6: '20px',
// Text
textLarge: '18px',
@@ -101,7 +105,7 @@ export const theme = {
},
lineHeight: {
// Display 1
- display1: '56px',
+ display1: '64px',
// Display 2
display2: '56px',
@@ -110,22 +114,22 @@ export const theme = {
display3: '56px',
// Heading 1
- heading1: '56px',
+ heading1: '44px',
// Heading 2
- heading2: '56px',
+ heading2: '40px',
// Heading 3
- heading3: '56px',
+ heading3: '36px',
// Heading 4
- heading4: '56px',
+ heading4: '34px',
// Heading 5
- heading5: '56px',
+ heading5: '32px',
// Heading 6
- heading6: '56px',
+ heading6: '28px',
// Text large
textLarge: '27px',