Skip to content

Commit 6462d40

Browse files
committed
refresh ui
1 parent bf1e73a commit 6462d40

19 files changed

Lines changed: 54 additions & 43 deletions

components/contacts.tsx

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,21 @@ import Image from 'next/image'
44

55
const Contacts = () => {
66
return (
7-
<div className='bg-[#8FACF8]'>
8-
<div className='container mx-auto px-0 py-28'>
7+
<div className='bg-neutral-200 dark:bg-neutral-900'>
8+
<div className='container mx-auto px-0 py-24 sm:py-32'>
99
<div className='px-5'>
10-
<h2 className='text-4xl md:text-6xl font-bold text-gray-800 max-w-3xl text-brand'>
11-
Make <span className='text-transparent bg-clip-text bg-gradient-to-r from-[#12115E] to-[#A023DA]'>great products</span> together, connect on socials.
10+
<h2 className='text-7xl md:text-8xl font-thin text-gray-700 dark:text-gray-400 max-w-3xl text-brand'>
11+
Asrient's Studio.
1212
</h2>
1313
</div>
14-
<div className='flex items-end pt-16'>
15-
<div>
16-
<Image src='/assets/img/contacts-hero.jpg' width={600} height={0} className='md:h-auto h-[300px] object-cover object-right max-w-[35vw]' alt='Contacts' />
17-
</div>
14+
<div className='flex items-end pt-5 sm:pt-10'>
1815
<div className='flex flex-col justify-start mt-4 w-full pl-4 md:pl-8'>
1916
{Object.keys(SOCIALS).map((social) => (
20-
<a key={social} href={SOCIALS[social]} target='_blank' className='transition delay-100 max-w-[20rem] pt-2 pl-2 text-neutral-900 font-thin flex items-center group hover:bg-zinc-100'>
17+
<a key={social} href={SOCIALS[social]} target='_blank' className='transition delay-100 max-w-[20rem] pt-2 pl-2 text-neutral-900 dark:text-neutral-400 font-thin flex items-center group hover:bg-zinc-100 hover:dark:bg-neutral-800'>
2118
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth={1} stroke="currentColor" className="w-4 h-4 group-hover:scale-125 group-hover:text-[#c97356] mr-2 mb-2">
2219
<path strokeLinecap="round" strokeLinejoin="round" d="m4.5 19.5 15-15m0 0H8.25m11.25 0v11.25" />
2320
</svg>
24-
<div className='pb-2 border-b border-neutral-900 group-hover:border-zinc-100 border-opacity-40 w-full'>
21+
<div className='pb-2 border-b border-neutral-900 dark:border-neutral-500 group-hover:border-zinc-100/50 border-opacity-40 w-full'>
2522
{social}
2623
</div>
2724
</a>

components/docs-grid.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import type RouteItem from '../interfaces/routeItem'
22
import { themed } from '../lib/utils'
33
import Link from 'next/link'
4+
import SectionTitle from './section-title'
45

56
type Props = {
67
routes: RouteItem[],
@@ -15,9 +16,9 @@ const DocsGrid = ({ routes, theme, title }: Props) => {
1516
return (
1617
<section className='pt-12 mx-auto max-w-5xl'>
1718
<hr className='mb-10' />
18-
<h2 className='h2'>
19+
<SectionTitle>
1920
{title || 'Read next'}
20-
</h2>
21+
</SectionTitle>
2122
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-x-2 gap-y-2 lg:gap-x-3 lg:gap-y-3">
2223
{routes.map((route) => (
2324
<Link href={route.path} key={route.path} className={thm`text-base font-light text-gray-900/60 dark:text-white/50 px-6 py-8 md:px-8 md:py-10 bg-white/40 dark:bg-neutral-700/40 hover:bg-neutral-500/10 dark:hover:bg-white/10 hover:border-transparent rounded-xl border-neutral-500/30 border border-solid`} >

components/footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const Footer = ({ theme, project, currentDoc, lastUpdatedOn }: {
2727
<footer className={thm`$bg-accent-5 dark:$bg-accent-5 border-color-lite border-t pt-12 pb-4`}>
2828
<Container className='max-w-5xl'>
2929
<div className="flex flex-col-reverse lg:flex-row items-center justify-between">
30-
<h3 className="text-3xl font-bold tracking-tighter leading-tight text-center lg:text-left mt-5 lg:mt-0 lg:mb-0 lg:pr-4 lg:w-1/2">
30+
<h3 className="text-3xl font-light tracking-tighter leading-tight text-center lg:text-left mt-5 lg:mt-0 lg:mb-0 lg:pr-4 lg:w-1/2">
3131
<div className='flex flex-row justify-center items-center md:justify-start'>
3232
<Link href={project ? `/${project.name.toLowerCase()}` : "/"}>
3333
<Image

components/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const Header = ({ theme, project, docsConfig, style }: {
125125
url: '/projects'
126126
},
127127
{
128-
name: 'Blog',
128+
name: 'Journal',
129129
url: '/blog'
130130
}];
131131

components/home/homecloud-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const HomecloudCard = ({ project }: {
8080
top: parallexY,
8181
}}>
8282
<h1 className='text-3xl font-semibold bg-clip-text text-transparent bg-gradient-to-r dark:from-[#ffb597] to-[#9E3F21] from-[#4E382F] dark:to-[#9E3F21] w-min'>{project.title}</h1>
83-
<p className='text-3xl md:text-4xl font-bold py-7 md:max-w-3xl text-center text-neutral-900 dark:text-neutral-100 text-brand'>{project.tagline}</p>
83+
<p className='text-3xl md:text-4xl font-light py-7 md:max-w-3xl text-center text-neutral-900 dark:text-neutral-100 text-brand'>{project.tagline}</p>
8484
<Link href={`/${project.name.toLowerCase()}`} className='buttonPrimaryRound'>
8585
Learn more
8686
</Link>

components/home/homenet-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const HomenetCard = ({ project }: {
1717
</div>
1818
<div>
1919
<h1 className='text-3xl font-semibold bg-clip-text text-transparent bg-gradient-to-r from-[#93D3DB] to-[#296FD8] w-min'>{project.title}</h1>
20-
<p className='text-3xl md:text-4xl font-bold py-5 max-w-2xl text-neutral-100 text-brand'>{project.tagline}</p>
20+
<p className='text-3xl md:text-4xl font-light py-5 max-w-2xl text-neutral-100 text-brand'>{project.tagline}</p>
2121
<Link href={`/${project.name.toLowerCase()}`} className='buttonPrimaryRound'>
2222
Learn more
2323
</Link>

components/home/projects-showcase.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ const CardSwitcher = ({ project }: {
88
project: ProjectConfigType
99
}) => {
1010
switch (project.name) {
11-
case 'musicroom':
12-
return <MusicroomCard project={project} />
1311
case 'HomeCloud':
1412
return <HomecloudCard project={project} />
1513
case 'homenet':

components/markdown-styles.module.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@
2121
}
2222

2323
.markdown h1 {
24-
@apply mb-6 text-4xl font-extrabold tracking-tight;
24+
@apply mb-6 text-3xl font-semibold tracking-tight;
2525
}
2626

2727
.markdown h2 {
28-
@apply mt-12 mb-4 text-3xl font-extrabold tracking-tight;
28+
@apply mt-10 mb-4 text-2xl font-semibold tracking-tight;
2929
}
3030
.markdown h3 {
31-
@apply mt-8 mb-3 text-2xl font-extrabold tracking-tight;
31+
@apply mt-8 mb-3 text-xl font-medium tracking-tight;
3232
}
3333
.markdown h4 {
34-
@apply mt-8 mb-3 text-xl font-extrabold tracking-tight;
34+
@apply mt-6 mb-3 text-lg font-medium tracking-tight;
3535
}
3636

3737
.markdown code {

components/more-stories.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import PostPreview from './post-preview'
22
import type Post from '../interfaces/post'
3+
import SectionTitle from './section-title'
34

45
type Props = {
56
posts: Post[],
@@ -9,9 +10,9 @@ type Props = {
910
const MoreStories = ({ posts, title }: Props) => {
1011
return (
1112
<section className='pt-10'>
12-
<h2 className='h2'>
13+
<SectionTitle>
1314
{title || 'Blog Posts'}
14-
</h2>
15+
</SectionTitle>
1516
<div className="grid grid-cols-1 md:grid-cols-2 md:gap-x-16 lg:gap-x-32 gap-y-20 md:gap-y-32 pb-32">
1617
{posts.map((post) => (
1718
<PostPreview

components/project-hero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default function ProjectHero({ project, theme }: Props) {
7878
</div>
7979
</div>
8080

81-
<h1 className={thm`font-brand text-4xl md:text-5xl lg:text-[3.5rem] leading-tight font-bold text-left`}>
81+
<h1 className={thm`font-brand text-4xl md:text-5xl lg:text-[3.5rem] leading-tight font-light text-left`}>
8282
{project.tagline}
8383
</h1>
8484
<Buttons project={project} theme={theme} />

0 commit comments

Comments
 (0)