Skip to content

Commit

Permalink
wochlife fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
filipc30 committed Feb 5, 2024
1 parent 1e86b13 commit e136692
Show file tree
Hide file tree
Showing 14 changed files with 101 additions and 90 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Wochlife Portfolio App - Filip Čablík

##### current version: 3.0.0
##### current version: 3.0.2
##### Description: Wochlife App serves 2 purposes:
1. as Filip Čablík's personal portfolio and work overview
2. creating awareness about the brand's purpose
Expand Down
119 changes: 59 additions & 60 deletions app/routes/_base+/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import { cn } from '#app/utils/misc.tsx'
export default function Index() {
//* styling classes
// 1. grid, responsivness
const col1 = 'w-full lg:w-3/4 lg-to-xl-3:w-2/5 flex flex-col justify-end'
const col1 =
'w-full lg:w-3/4 lg-to-xl-3:w-2/5 flex flex-col justify-end delayed-fade-in-200'
const col2 = 'flex w-full gap-8 max-sm:flex-col lg-to-xl-3:w-3/5'
const col2_col1 =
'custom-max-heights w-full sm:w-1/2 lg-to-xl-3:w-[44.17%]'
const col2_col1 = 'custom-max-heights w-full sm:w-1/2 lg-to-xl-3:w-[44.17%]'
const col2_col2 =
'custom-max-heights w-full sm:w-1/2 lg-to-xl-3:w-[55.83%] flex flex-col justify-between'

Expand All @@ -38,22 +38,19 @@ export default function Index() {
const purpleBoxBgClassListSm2 =
'text-center flex flex-col rounded-3xl lg:rounded-6xl pt-4 px-0 md:pt-6 bg-purple-box-gradient justify-between items-center pb-5 w-1/2 min-h-[175px] md-to-lg:h-[210px] lg:h-[180px] xl:h-[185px] 2xl:h-[195px] 4xl:h-[215px]'

const lightGreenGradient = 'bg-light-green-radial-gradient'

//* copy translations
const welcomeTitle = 'Welcome <br /> to Wochlife'
const welcomeSubTitle = "Fil's world of creations"
const welcomeBoxText =
"<p class='mb-3 md:mb-5'>Hey, I'm Filip.</p><p class='mb-3 md:mb-5'>Web Developer with<br class='sm:hidden'/> passion for combining tech <br class='sm:hidden'/>&&nbsp;design.</p>Applications are not just a&nbsp;product to me, it's a&nbsp;form of an&nbsp;art, an expression. My apps show the world, who You are."

// "Applications are not just a product to me, it's a form of an art, an expression. My apps show the world who You are.

"<p class='mb-3 md:mb-5'>Hey, I'm Filip.</p><p class='mb-3 md:mb-5'>Frontend Web Developer with<br class='sm:hidden'/> passion for design in tech.</p><p>Applications are not just a&nbsp;product to me, it's a&nbsp;form of an&nbsp;art, an expression.</p>"
const aboutText = 'about'
const discoverText = 'discover'

const lightGreenGradient = 'bg-light-green-radial-gradient'

return (
<div className="custom-hp-spacing mx-auto flex gap-8 max-xl:px-4 max-lg-to-xl-3:flex-col md:max-xl:mx-8 xl:max-w-[1250px] 2xl:max-w-[1350px] 4xl:max-w-[1450px]">
<div className={cn(col1, 'delayed-fade-in-200')}>
<div className={col1}>
<h1 className="mt-24 text-h1-sm opacity-90 max-lg:ml-2 max-lg:text-h3 lg:mt-8 lg:text-h1-md 3xl:text-h1">
<div dangerouslySetInnerHTML={{ __html: welcomeTitle }} />
</h1>
Expand All @@ -71,17 +68,13 @@ export default function Index() {
<span dangerouslySetInnerHTML={{ __html: welcomeBoxText }} />
</div>

<div
className={cn(
'absolute overflow-x-hidden max-lg-to-xl-3:scale-x-flip max-md:overflow-x-hidden',
'top-[-8em] sm:top-[-10em] md:right-[-3.5em] lg:top-[-9em] xl:top-[-8em] 2xl:top-[-9em] 3xl:top-[-3em]',
'right-[-1em] xl:right-[-5em] 2xl:right-[-4em]',
)}
>
<div className="absolute right-[-1em] top-[-8em] overflow-x-hidden max-lg-to-xl-3:scale-x-flip max-md:overflow-x-hidden sm:top-[-10em] md:right-[-3.5em] lg:top-[-9em] xl:right-[-5em] xl:top-[-8em] 2xl:right-[-4em] 2xl:top-[-9em] 3xl:top-[-3em]">
<img
src="/img/woch_testing_4.png"
alt=""
src="/img/the_little_woch.png"
alt="The Little Woch - wochlife.com"
className="delayed-fade-in-500 max-lg:max-w-[10rem]"
width="270px"
height="350px"
/>
</div>
</div>
Expand All @@ -95,44 +88,44 @@ export default function Index() {

<h5 className="mb-3 text-center text-lg capitalize">
<div
// to="portfolio/freelance"
// className="transition-colors hover:text-highlight"
// to="portfolio/freelance"
// className="transition-colors hover:text-highlight"
>
freelance
</div>
</h5>
<div className={innerContentBoxWrapperOfBoxesInBox}>
<Link to="portfolio/freelance/remix-ts" prefetch='intent'>
<Link to="portfolio/freelance/remix-ts" prefetch="intent">
<PortfolioContentBox
name="Remix.run / Typescript / TailwindCSS"
imgSrc={remix}
description="since 2022"
innerBoxClass="bg-highlight"
/>
</Link>
<Link to="portfolio/freelance/reactjs" prefetch='intent'>
<Link to="portfolio/freelance/reactjs" prefetch="intent">
<PortfolioContentBox
name="React JS / Sass"
imgSrc={reactjs}
description="since 2021"
description="2020-2022"
innerBoxClass="bg-background/80"
/>
</Link>
<Link to="portfolio/freelance/wp-php-js" prefetch='intent'>
<Link to="portfolio/freelance/wp-php-js" prefetch="intent">
<PortfolioContentBox
boxClass="mb-0 4xl:mb-0"
imgSrc={wordpress}
name="WordPress / PHP / JS"
description="since 2019"
description="2019-2021"
innerBoxClass="bg-background/80"
/>
</Link>
</div>

<h5 className="mb-3 mt-6 text-center text-lg capitalize">
<div
// to="portfolio/forcompanies"
// className="transition-colors hover:text-highlight"
// to="portfolio/forcompanies"
// className="transition-colors hover:text-highlight"
>
for companies
</div>
Expand Down Expand Up @@ -164,15 +157,15 @@ export default function Index() {
innerBoxClass="bg-11ts-radial-gradient"
imgSrc="/img/11ts.webp"
name="11teamsports.com"
description="2022-present"
description="since 2023"
/>
</Link>
<Link to="portfolio/forcompanies/t4s">
<PortfolioContentBox
innerBoxClass="bg-t4s-radial-gradient"
imgSrc="/img/t4s.webp"
name="top4sport.com"
description="2022-present"
description="2022-2023"
/>
</Link>
<Link to="portfolio/forcompanies/medi">
Expand Down Expand Up @@ -204,7 +197,7 @@ export default function Index() {
</div>

<div className={purpleBoxBgClassListSm2}>
<h3 className="pt-6 text-md font-semibold capitalize md:pt -4 xg:pt-6 lg:text-lg 2xl:pt-6 4xl:pt-8">
<h3 className="md:pt -4 xg:pt-6 pt-6 text-md font-semibold capitalize lg:text-lg 2xl:pt-6 4xl:pt-8">
schedule <br />
free call
</h3>
Expand All @@ -228,7 +221,7 @@ export default function Index() {
'custom-projects-box-max-height delayed-fade-in-400 h-full pt-6 max-sm:mt-6', //pt-6 => "md:pt-6" is already in purpleBoxClassList
)}
>
<h3 className={cn(bigBoxTitle, "text-xl transition-colors")}>
<h3 className={cn(bigBoxTitle, 'text-xl transition-colors')}>
my fields & projects
</h3>

Expand All @@ -243,15 +236,15 @@ export default function Index() {
</Link>
<Link to="projects/accommodations-apps">
<ProjectsContentBox
name={'Webs /w Accommodations Apps'}
name={'Accommodations Apps'}
description={'since 2022'}
iconName="desktop"
innerBoxClass={lightGreenGradient}
/>
</Link>
<Link to="projects/online-stores">
<Link to="projects/e-commerce">
<ProjectsContentBox
name={'Webs /w E-commerce'}
name={'E-commerce'}
description={'since 2020'}
iconName="desktop"
innerBoxClass={lightGreenGradient}
Expand All @@ -261,36 +254,36 @@ export default function Index() {
<div className="mx-4 mb-3 border-b-2 border-highlight-dark/30 4xl:mb-4" />

{/* <Link to="projects/streetwear"> */}
<ProjectsContentBox
boxClass="opacity-30 cursor-auto"
name={'Street-Wear Designs'}
// description={'2022-present'}
description={'preview coming soon'}
iconName="accessibility"
innerBoxClass={lightGreenGradient}
/>
<ProjectsContentBox
boxClass="opacity-30 cursor-auto"
name={'Street-Wear Designs'}
// description={'2022-present'}
description={'preview coming soon'}
iconName="accessibility"
innerBoxClass={lightGreenGradient}
/>
{/* </Link> */}

{/* <Link to="projects/nft-collection"> */}
<ProjectsContentBox
boxClass="opacity-30 cursor-auto"
name={'NFT Collection'}
// description={'2022-present'}
description={'preview coming soon'}
iconName="rocket"
innerBoxClass={lightGreenGradient}
/>
<ProjectsContentBox
boxClass="opacity-30 cursor-auto"
name={'NFT Collection'}
// description={'2022-present'}
description={'preview coming soon'}
iconName="rocket"
innerBoxClass={lightGreenGradient}
/>
{/* </Link> */}

{/* <Link to="projects/web3-nft-game"> */}
<ProjectsContentBox
boxClass="opacity-30 cursor-auto"
name={'Web3 NFT Online Game'}
// description={'2023-present'}
description={'preview coming soon'}
iconName="mix"
innerBoxClass={lightGreenGradient}
/>
<ProjectsContentBox
boxClass="opacity-30 cursor-auto"
name={'Web3 NFT Online Game'}
// description={'2023-present'}
description={'preview coming soon'}
iconName="mix"
innerBoxClass={lightGreenGradient}
/>
{/* </Link> */}
</div>
</div>
Expand Down Expand Up @@ -323,7 +316,13 @@ function PortfolioContentBox({
)}
>
{!!imgSrc && imgSrc.length && (
<img src={imgSrc} alt="" className="rounded-md" width="75%" height="75%" />
<img
src={imgSrc}
alt=""
className="rounded-md"
width="75%"
height="75%"
/>
)}
</div>
<div className="flex max-w-[67%] flex-col max-md-to-lg:ml-4 md-to-lg:ml-5">
Expand Down
2 changes: 1 addition & 1 deletion app/routes/about+/filip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function AboutFilip() {
about filip
</h4>

<div className="custom-content-box-height overflow-y-scroll ">
<div className="custom-content-box-height overflow-y-scroll">
<div>
<p className="mb-6">
Hey, I'm Filip. A very passionate FullStack Web Developer. <br />I
Expand Down
26 changes: 18 additions & 8 deletions app/routes/about+/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,41 @@ import { Button } from '#app/components/ui/button.tsx'

export default function AboutFilip() {
return (
<>
<div className="custom-content-box-height">
<div>
<h4 className="mb-6 text-lg font-semibold text-center capitalize md:text-xl">
Discover More About
</h4>

<div className="custom-content-box-height pb-6">
{/* overflow-y-scroll */}
{/* <p className="mb-6">
Discover more about Me (Filip) or The Wochlife project.
</p> */}

<div className="mb-6 flex gap-3 flex-wrap max-lg:hidden justify-center">
<div className="mb-6 flex flex-wrap justify-center gap-3 max-lg:hidden">
<NavLink to="filip">
{({ isActive }) => (
<Button className="capitalize" variant={isActive ? 'highlight' : 'default'}>
About Filip
<Button
className="capitalize"
variant={isActive ? 'highlight' : 'default'}
>
Filip - Developer
</Button>
)}
</NavLink>

<NavLink to="wochlife">
{({ isActive }) => (
<Button className="capitalize" variant={isActive ? 'highlight' : 'default'}>
About Wochlife
<Button
className="capitalize"
variant={isActive ? 'highlight' : 'default'}
>
Wochlife - Brand
</Button>
)}
</NavLink>
</div>
</div>
</>
</div>
)
}
9 changes: 5 additions & 4 deletions app/routes/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function RouteSelector({
<AboutContentBox
boxClass={isActive ? 'bg-foreground text-background' : ''}
name={'Filip'}
description={'2019-present'}
description={'Dev since 2019'}
innerBoxClass="bg-light-green-radial-gradient"
/>
)}
Expand All @@ -113,9 +113,10 @@ function RouteSelector({
{({ isActive }) => (
<AboutContentBox
boxClass={isActive ? 'bg-foreground text-background' : ''}
imgSrc='/favicons/favicon-32x32.png'
name={'Wochlife'}
description={'2023'}
innerBoxClass="bg-light-green-radial-gradient"
description={'since 2022'}
innerBoxClass="bg-background"
/>
)}
</NavLink>
Expand Down Expand Up @@ -148,7 +149,7 @@ function AboutContentBox({
)}
>
{!!imgSrc && imgSrc.length && (
<img src={imgSrc} alt="" className="max-w-2/3 rounded-md" />
<img src={imgSrc} alt="" className="rounded-md" width="75%" height="75%" />
)}
</div>
<div className={contentRouteSelectorContentBoxes}>
Expand Down
2 changes: 1 addition & 1 deletion app/routes/portfolio+/forcompanies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Button } from '#app/components/ui/button.tsx'

export default function PortfolioForCompanies() {
return (
<div>
<div className='custom-content-box-height'>
<h3 className="mb-6 text-xl font-semibold capitalize md:text-2xl">
company projects
</h3>
Expand Down
7 changes: 4 additions & 3 deletions app/routes/portfolio+/freelance+/reactjs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ import {

export default function PortfolioFreelanceReactJS() {
return (
<>
<div className='custom-content-box-height'>
{/* max-xl:overflow-y-scroll */}
<h4 className="mb-2 text-lg">ReactJS / Sass / JavaScript / css</h4>

<div>
<li>using this stack <strong>since 2020</strong></li>
<li>used this stack <strong>2020-2022</strong></li>
<li>
custom built applications, both for clients and for services and tools
testing
Expand Down Expand Up @@ -147,6 +148,6 @@ export default function PortfolioFreelanceReactJS() {
</TooltipProvider>
</ul>
</div>
</>
</div>
)
}
Loading

0 comments on commit e136692

Please sign in to comment.