more mobile css
All checks were successful
Vercel Production Deployment / Deploy-Production (push) Successful in 1m34s
All checks were successful
Vercel Production Deployment / Deploy-Production (push) Successful in 1m34s
This commit is contained in:
parent
2e0ed5e3bb
commit
54a669eb11
@ -52,16 +52,16 @@ export default async function JobCard(props: { job: JobPosting }) {
|
||||
<h2 className="text-xl sm:text-2xl text-left block sm:hidden">
|
||||
{title.length > 50 ? title.slice(0, 50) + "..." : title}
|
||||
</h2>
|
||||
<h2 className="text-2xl sm:text-2xl text-left sm:block hidden">
|
||||
<h2 className="text-xl sm:text-2xl text-left sm:block hidden">
|
||||
{title}
|
||||
</h2>
|
||||
|
||||
<div className="text-left items-center space-x-4">
|
||||
<div className="text-left items-center text-sm sm:text-base space-x-4">
|
||||
<span className="">{company}</span>
|
||||
<span className="text-xs md:text-sm text-stone-500">
|
||||
<span className="text-xs sm:text-sm text-stone-500">
|
||||
{location}
|
||||
</span>
|
||||
<span className="text-xs md:text-sm text-stone-500">
|
||||
<span className="text-xs sm:text-sm text-stone-500">
|
||||
{type}
|
||||
</span>
|
||||
</div>
|
||||
|
@ -3,9 +3,9 @@ import Image from "next/image";
|
||||
export default function JobCardIcon(props: { src: string }) {
|
||||
const { src } = props;
|
||||
return (
|
||||
<div className="flex justify-center items-center h-auto w-6 md:min-w-14">
|
||||
<div className="flex justify-center items-center h-auto w-6 sm:min-w-14">
|
||||
<Image
|
||||
className="h-auto w-6 md:min-w-12"
|
||||
className="h-auto w-6 sm:min-w-12"
|
||||
src={src}
|
||||
alt={`${src} icon`}
|
||||
width={50}
|
||||
|
@ -20,7 +20,7 @@ type Skills = {
|
||||
export default function JobCardIconContainer(props: { skills: Skills }) {
|
||||
const { skills } = props;
|
||||
return (
|
||||
<div className="flex flex-col md:flex-row md:justify-end gap-2 ml-2">
|
||||
<div className="flex flex-col sm:flex-row sm:justify-end gap-2 ml-2">
|
||||
{skills.react && <JobCardIcon src={react} />}
|
||||
{skills.python && <JobCardIcon src={python} />}
|
||||
{skills.golang && <JobCardIcon src={golang} />}
|
||||
|
@ -4,8 +4,8 @@ export default async function Home() {
|
||||
return (
|
||||
<main className="container">
|
||||
<div>
|
||||
<h1 className="text-4xl pt-4">Software Developer Jobs</h1>
|
||||
<h2 className="text-2xl">
|
||||
<h1 className="text-2xl sm:text-4xl pt-4">Software Developer Jobs</h1>
|
||||
<h2 className="text-xl sm:text-2xl pt-4">
|
||||
Get entry- and mid level software developer jobs in Denmark as soon as
|
||||
they are posted!
|
||||
</h2>
|
||||
|
Loading…
Reference in New Issue
Block a user