diff --git a/.changeset/cuddly-waves-grin.md b/.changeset/cuddly-waves-grin.md new file mode 100644 index 00000000..3e58b9ce --- /dev/null +++ b/.changeset/cuddly-waves-grin.md @@ -0,0 +1,5 @@ +--- +"@devup-ui/wasm": patch +--- + +Add selector order diff --git a/.changeset/poor-frogs-swim.md b/.changeset/poor-frogs-swim.md new file mode 100644 index 00000000..aa3c7683 --- /dev/null +++ b/.changeset/poor-frogs-swim.md @@ -0,0 +1,5 @@ +--- +"@devup-ui/react": patch +--- + +Add typograhpy to props diff --git a/apps/landing/devup.json b/apps/landing/devup.json index e7680c3a..7a14c7f3 100644 --- a/apps/landing/devup.json +++ b/apps/landing/devup.json @@ -1,471 +1 @@ -{ - "theme": { - "colors": { - "default": { - "primary": "#6159D4", - "secondary": "#85A5F2", - "link": "#006BFF", - "text": "#2F2F2F", - "background": "#FFFFFF", - "containerBackground": "#FFFFFF", - "border": "#E0E0E0", - "success": "#4CAF50", - "warning": "#FF9800", - "error": "#F44336", - "info": "#2196F3", - "base": "#FFFFFF", - "negativeBase": "#000000", - "title": "#1A1A1A", - "caption": "#A9A8B4", - "shadow": "#87878740", - "codeBg": "#3E3B41", - "cardBg": "#F8F8F8", - "buttonBlue": "#266CCD", - "joinBg": "#CDE2FA", - "third": "#918AE9", - "buttonBlueHover": "#1453AC", - "buttonBlueActive": "#19498B", - "textReverse": "#FFFFFF", - "footerTitle": "#A3A4B4", - "footerBg": "#E6E7ED", - "footerText": "#51575F", - "menuHover": "#F6F4FF", - "menuActive": "#EAE8FC", - "captionBold": "#878594", - "search": "#9C50FF" - }, - "dark": { - "primary": "#737FE4", - "secondary": "#2A4586", - "link": "#006BFF", - "text": "#EDEDED", - "background": "#131313", - "containerBackground": "#1E1E1E", - "border": "#333333", - "success": "#4CAF50", - "warning": "#FF9800", - "error": "#F44336", - "info": "#2196F3", - "base": "#000000", - "negativeBase": "#FFFFFF", - "title": "#FAFAFA", - "caption": "#A9A8B4", - "shadow": "#62626240", - "codeBg": "#2E303C", - "cardBg": "#28272B", - "buttonBlue": "#0867AF", - "joinBg": "#2F363E", - "third": "#737FE4", - "buttonBlueHover": "#1453AC", - "buttonBlueActive": "#19498B", - "textReverse": "#2F2F2F", - "footerTitle": "#A3A4B4", - "footerBg": "#2E303C", - "footerText": "#FFFFFF", - "menuHover": "#3C404B", - "menuActive": "#283259", - "captionBold": "#878594", - "search": "#6FA4FF" - } - }, - "typography": { - "body": [ - { - "fontFamily": "Pretendard", - "fontSize": "14px", - "fontWeight": "500", - "lineHeight": "130%", - "letterSpacing": "-0.42px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "16px", - "fontWeight": "500", - "lineHeight": "150%", - "letterSpacing": "-0.48px" - } - ], - "bodyReg": { - "fontFamily": "Pretendard", - "fontSize": "16px", - "fontWeight": "400", - "lineHeight": "150%", - "letterSpacing": "-0.48px" - }, - "buttonL": [ - { - "fontFamily": "Pretendard", - "fontSize": "17px", - "fontWeight": "800", - "lineHeight": "130%", - "letterSpacing": "-0.51px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "20px", - "fontWeight": "800", - "lineHeight": "130%", - "letterSpacing": "-0.6px" - } - ], - "buttonLbold": [ - { - "fontFamily": "Pretendard", - "fontSize": "17px", - "fontWeight": "700", - "lineHeight": "130%", - "letterSpacing": "-0.51px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "18px", - "fontWeight": "700", - "lineHeight": "130%", - "letterSpacing": "-0.54px" - } - ], - "buttonLsemiB": [ - { - "fontFamily": "Pretendard", - "fontSize": "17px", - "fontWeight": "600", - "lineHeight": "130%", - "letterSpacing": "-0.51px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "18px", - "fontWeight": "600", - "lineHeight": "130%", - "letterSpacing": "-0.54px" - } - ], - "buttonM": [ - { - "fontFamily": "Pretendard", - "fontSize": "15px", - "fontWeight": "600", - "lineHeight": "130%", - "letterSpacing": "-0.45px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "17px", - "fontWeight": "600", - "lineHeight": "130%", - "letterSpacing": "-0.51px" - } - ], - "buttonS": [ - { - "fontFamily": "Pretendard", - "fontSize": "14px", - "fontWeight": "800", - "lineHeight": "130%", - "letterSpacing": "-0.42px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "15px", - "fontWeight": "700", - "lineHeight": "130%", - "letterSpacing": "-0.45px" - } - ], - "buttonSmid": [ - { - "fontFamily": "Pretendard", - "fontSize": "14px", - "fontWeight": "500", - "lineHeight": "130%", - "letterSpacing": "-0.42px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "15px", - "fontWeight": "500", - "lineHeight": "130%", - "letterSpacing": "-0.45px" - } - ], - "caption": { - "fontFamily": "Pretendard", - "fontSize": "14px", - "fontWeight": "500", - "lineHeight": "140%", - "letterSpacing": "-0.42px" - }, - "captionBold": { - "fontFamily": "Pretendard", - "fontSize": "14px", - "fontWeight": "700", - "lineHeight": "130%", - "letterSpacing": "-0.42px" - }, - "code": [ - { - "fontFamily": "D2Coding", - "fontSize": "13px", - "fontWeight": "700", - "lineHeight": "150%", - "letterSpacing": "-0.39px" - }, - null, - null, - null, - { - "fontFamily": "D2Coding", - "fontSize": "15px", - "fontWeight": "700", - "lineHeight": "150%", - "letterSpacing": "-0.45px" - } - ], - "footerMenu": [ - { - "fontFamily": "Pretendard", - "fontSize": "13px", - "fontWeight": "500", - "lineHeight": "140%", - "letterSpacing": "-0.39px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "14px", - "fontWeight": "500", - "lineHeight": "140%", - "letterSpacing": "-0.42px" - } - ], - "h1": [ - { - "fontFamily": "Pretendard", - "fontSize": "38px", - "fontWeight": "800", - "lineHeight": "130%", - "letterSpacing": "-1.14px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "52px", - "fontWeight": "800", - "lineHeight": "130%", - "letterSpacing": "-1.56px" - } - ], - "h2": [ - { - "fontFamily": "Pretendard", - "fontSize": "36px", - "fontWeight": "800", - "lineHeight": "130%", - "letterSpacing": "-1.08px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "48px", - "fontWeight": "800", - "lineHeight": "130%", - "letterSpacing": "-1.44px" - } - ], - "h3": [ - { - "fontFamily": "Pretendard", - "fontSize": "32px", - "fontWeight": "700", - "lineHeight": "130%", - "letterSpacing": "-0.96px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "42px", - "fontWeight": "700", - "lineHeight": "130%", - "letterSpacing": "-1.26px" - } - ], - "h4": [ - { - "fontFamily": "Pretendard", - "fontSize": "28px", - "fontWeight": "700", - "lineHeight": "130%", - "letterSpacing": "-0.84px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "36px", - "fontWeight": "700", - "lineHeight": "130%", - "letterSpacing": "-1.08px" - } - ], - "h5": [ - { - "fontFamily": "Pretendard", - "fontSize": "24px", - "fontWeight": "600", - "lineHeight": "130%", - "letterSpacing": "-0.72px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "30px", - "fontWeight": "600", - "lineHeight": "130%", - "letterSpacing": "-0.9px" - } - ], - "h6": [ - { - "fontFamily": "Pretendard", - "fontSize": "18px", - "fontWeight": "600", - "lineHeight": "130%", - "letterSpacing": "-0.54px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "24px", - "fontWeight": "600", - "lineHeight": "130%", - "letterSpacing": "-0.72px" - } - ], - "h6Reg": [ - { - "fontFamily": "Pretendard", - "fontSize": "18px", - "fontWeight": "400", - "lineHeight": "130%", - "letterSpacing": "-0.54px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "24px", - "fontWeight": "400", - "lineHeight": "130%", - "letterSpacing": "-0.72px" - } - ], - "small": [ - { - "fontFamily": "Pretendard", - "fontSize": "11px", - "fontWeight": "300", - "lineHeight": "130%", - "letterSpacing": "-0.33px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "12px", - "fontWeight": "400", - "lineHeight": "140%", - "letterSpacing": "-0.36px" - } - ], - "smallBold": { - "fontFamily": "Pretendard", - "fontSize": "12px", - "fontWeight": "800", - "lineHeight": "140%", - "letterSpacing": "-0.36px" - }, - "textL": [ - { - "fontFamily": "Pretendard", - "fontSize": "16px", - "fontWeight": "500", - "lineHeight": "130%", - "letterSpacing": "-0.48px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "18px", - "fontWeight": "500", - "lineHeight": "150%", - "letterSpacing": "-0.54px" - } - ], - "textS": [ - { - "fontFamily": "Pretendard", - "fontSize": "13px", - "fontWeight": "500", - "lineHeight": "140%", - "letterSpacing": "-0.39px" - }, - null, - null, - null, - { - "fontFamily": "Pretendard", - "fontSize": "15px", - "fontWeight": "500", - "lineHeight": "140%", - "letterSpacing": "-0.45px" - } - ], - "textSbold": { - "fontFamily": "Pretendard", - "fontSize": "15px", - "fontWeight": "700", - "lineHeight": "140%", - "letterSpacing": "-0.45px" - } - } - } -} - +{"theme":{"colors":{"light":{"primary":"#6159D4","secondary":"#85A5F2","link":"#006BFF","text":"#2F2F2F","background":"#FFFFFF","containerBackground":"#FFFFFF","border":"#E0E0E0","success":"#4CAF50","warning":"#FF9800","error":"#F44336","info":"#2196F3","base":"#FFFFFF","negativeBase":"#000000","title":"#1A1A1A","caption":"#A9A8B4","shadow":"#87878740","codeBg":"#3E3B41","cardBg":"#F8F8F8","buttonBlue":"#266CCD","joinBg":"#CDE2FA","third":"#918AE9","buttonBlueHover":"#1453AC","buttonBlueActive":"#19498B","textReverse":"#FFFFFF","footerTitle":"#A3A4B4","footerBg":"#E6E7ED","footerText":"#51575F","menuHover":"#F6F4FF","menuActive":"#EAE8FC","captionBold":"#878594","search":"#9C50FF"},"dark":{"primary":"#737FE4","secondary":"#2A4586","link":"#006BFF","text":"#EDEDED","background":"#131313","containerBackground":"#1E1E1E","border":"#333333","success":"#4CAF50","warning":"#FF9800","error":"#F44336","info":"#2196F3","base":"#000000","negativeBase":"#FFFFFF","title":"#FAFAFA","caption":"#787878","shadow":"#62626240","codeBg":"#2E303C","cardBg":"#28272B","buttonBlue":"#0867AF","joinBg":"#2F363E","third":"#737FE4","buttonBlueHover":"#1453AC","buttonBlueActive":"#19498B","textReverse":"#2F2F2F","footerTitle":"#A3A4B4","footerBg":"#2E303C","footerText":"#FFFFFF","menuHover":"#3C404B","menuActive":"#283259","captionBold":"#878594","search":"#6FA4FF"}},"typography":{"h1":[{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":800,"fontSize":"38px","lineHeight":1.3,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":800,"fontSize":"52px","lineHeight":1.3,"letterSpacing":"-0.03em"}],"h6Reg":[{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":400,"fontSize":"18px","lineHeight":1.3,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":400,"fontSize":"24px","lineHeight":1.3,"letterSpacing":"-0.03em"}],"buttonL":[{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":800,"fontSize":"17px","lineHeight":1.3,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":800,"fontSize":"20px","lineHeight":1.3,"letterSpacing":"-0.03em"}],"code":[{"fontFamily":"D2Coding","fontStyle":"normal","fontWeight":700,"fontSize":"13px","lineHeight":1.5,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"D2Coding","fontStyle":"normal","fontWeight":700,"fontSize":"15px","lineHeight":1.5,"letterSpacing":"-0.03em"}],"buttonM":[{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":600,"fontSize":"15px","lineHeight":1.3,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":600,"fontSize":"17px","lineHeight":1.3,"letterSpacing":"-0.03em"}],"h4":[{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":700,"fontSize":"28px","lineHeight":1.3,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":700,"fontSize":"36px","lineHeight":1.3,"letterSpacing":"-0.03em"}],"body":[{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":500,"fontSize":"14px","lineHeight":1.3,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":500,"fontSize":"16px","lineHeight":1.5,"letterSpacing":"-0.03em"}],"h6":[{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":600,"fontSize":"18px","lineHeight":1.3,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":600,"fontSize":"24px","lineHeight":1.3,"letterSpacing":"-0.03em"}],"textS":[null,null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":500,"fontSize":"15px","lineHeight":1.4,"letterSpacing":"-0.03em"}],"buttonLbold":[{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":700,"fontSize":"17px","lineHeight":1.3,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":700,"fontSize":"18px","lineHeight":1.3,"letterSpacing":"-0.03em"}],"buttonLsemiB":[{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":600,"fontSize":"17px","lineHeight":1.3,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":600,"fontSize":"18px","lineHeight":1.3,"letterSpacing":"-0.03em"}],"h2":[{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":800,"fontSize":"36px","lineHeight":1.3,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":800,"fontSize":"48px","lineHeight":1.3,"letterSpacing":"-0.03em"}],"h3":[{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":700,"fontSize":"32px","lineHeight":1.3,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":700,"fontSize":"42px","lineHeight":1.3,"letterSpacing":"-0.03em"}],"h5":[{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":600,"fontSize":"24px","lineHeight":1.3,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":600,"fontSize":"30px","lineHeight":1.3,"letterSpacing":"-0.03em"}],"buttonS":[{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":800,"fontSize":"14px","lineHeight":1.3,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":700,"fontSize":"15px","lineHeight":1.3,"letterSpacing":"-0.03em"}],"caption":[null,null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":500,"fontSize":"14px","lineHeight":1.4,"letterSpacing":"-0.03em"}],"small":[{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":300,"fontSize":"11px","lineHeight":1.3,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":400,"fontSize":"12px","lineHeight":1.4,"letterSpacing":"-0.03em"}],"buttonSmid":[{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":500,"fontSize":"14px","lineHeight":1.3,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":500,"fontSize":"15px","lineHeight":1.3,"letterSpacing":"-0.03em"}],"captionBold":[null,null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":700,"fontSize":"14px","lineHeight":1.3,"letterSpacing":"-0.03em"}],"textSbold":[null,null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":700,"fontSize":"15px","lineHeight":1.4,"letterSpacing":"-0.03em"}],"textL":[{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":500,"fontSize":"16px","lineHeight":1.3,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":500,"fontSize":"18px","lineHeight":1.5,"letterSpacing":"-0.03em"}],"footerMenu":[{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":500,"fontSize":"13px","lineHeight":1.4,"letterSpacing":"-0.03em"},null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":500,"fontSize":"14px","lineHeight":1.4,"letterSpacing":"-0.03em"}],"bodyReg":[null,null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":400,"fontSize":"16px","lineHeight":1.5,"letterSpacing":"-0.03em"}],"smallBold":[null,null,null,null,{"fontFamily":"Pretendard","fontStyle":"normal","fontWeight":800,"fontSize":"12px","lineHeight":1.4,"letterSpacing":"-0.03em"}]}}} \ No newline at end of file diff --git a/apps/landing/package.json b/apps/landing/package.json index 05d6cca2..e5c7dd55 100644 --- a/apps/landing/package.json +++ b/apps/landing/package.json @@ -13,9 +13,9 @@ "@devup-ui/react": "workspace:*", "@mdx-js/loader": "^3.1.0", "@mdx-js/react": "^3.1.0", - "@next/mdx": "^15.1.5", + "@next/mdx": "^15.1.6", "@types/mdx": "^2.0.13", - "next": "^15.1.5", + "next": "^15.1.6", "react": "^19.0.0", "react-dom": "^19.0.0", "react-syntax-highlighter": "^15.6.1", diff --git a/apps/landing/public/discord.svg b/apps/landing/public/discord.svg deleted file mode 100644 index b1488812..00000000 --- a/apps/landing/public/discord.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - diff --git a/apps/landing/public/github.svg b/apps/landing/public/github.svg deleted file mode 100644 index 8fe7a020..00000000 --- a/apps/landing/public/github.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - diff --git a/apps/landing/public/logo.svg b/apps/landing/public/logo.svg index 374efa91..71e7e369 100644 --- a/apps/landing/public/logo.svg +++ b/apps/landing/public/logo.svg @@ -1,28 +1,17 @@ - - - + + - - - - - - - - + - + - + diff --git a/apps/landing/public/search.svg b/apps/landing/public/search.svg new file mode 100644 index 00000000..2c120d18 --- /dev/null +++ b/apps/landing/public/search.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/apps/landing/src/app/FeatureCard.tsx b/apps/landing/src/app/FeatureCard.tsx new file mode 100644 index 00000000..ed0a21e6 --- /dev/null +++ b/apps/landing/src/app/FeatureCard.tsx @@ -0,0 +1,27 @@ +import { Flex, Image, Text, VStack } from '@devup-ui/react' + +import { URL_PREFIX } from '../constants' + +interface FeatureCardProps { + title: string + description: string + icon: string +} + +export function FeatureCard({ icon, description, title }: FeatureCardProps) { + return ( + + + + + + + {title} + + + {description} + + + + ) +} diff --git a/apps/landing/src/app/layout.tsx b/apps/landing/src/app/layout.tsx index 926504ec..15f6b4a9 100644 --- a/apps/landing/src/app/layout.tsx +++ b/apps/landing/src/app/layout.tsx @@ -1,6 +1,6 @@ import 'sanitize.css' -import { ThemeScript } from '@devup-ui/react' +import { css, ThemeScript } from '@devup-ui/react' import type { Metadata } from 'next' import { Footer } from '../components/Footer' @@ -20,11 +20,16 @@ export default function RootLayout({ + - +
{children}