Skip to content

Commit

Permalink
Add new image and some buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
joncottrell committed Jul 20, 2023
1 parent 05c0646 commit 0f61699
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 5 deletions.
11 changes: 11 additions & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
plugins: [require.resolve("prettier-plugin-astro")],
overrides: [
{
files: "*.astro",
options: {
parser: "astro",
},
},
],
};
2 changes: 1 addition & 1 deletion src/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const SOCIAL = [
export const PERSONAL_INFO = {
name: 'Jonathan Cottrell',
title: "Model Cottrell Studios",
subtitle: 'A selection of Photographs and Art.',
subtitle: 'Professional Photography & Retouching.',
role: 'Photographer',
contact: 'mailto:[email protected]',
avatar:
Expand Down
Binary file added src/images/modelcottrell_behind_scenes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 22 additions & 4 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,10 @@ const images = await Promise.all(
<Layout title={PERSONAL_INFO.title}>
<div class="py-4 sm:py-6 lg:py-8 flex flex-col justify-between h-screen">
<main class="mb-auto">
<div class="my-8 sm:my-12">
<h2
class="text-gray-800 dark:text-white text-2xl md:text-3xl lg:text-4xl text-center mb-4 md:mb-6 font-semibold"
<div class="flex flex-col sm:flex-row sm:h-half justify-center items-center overflow-auto my-12">
<div class="my-8 mx-12 md:mx-20 sm:my-12 h-full sm:h-auto flex flex-col justify-center items-center">
<h2
class="text-gray-800 dark:text-white text-3xl md:text-4xl lg:text-5xl text-center mb-4 md:mb-6 font-semibold"
>
{PERSONAL_INFO.title}
</h2>
Expand All @@ -98,9 +99,26 @@ const images = await Promise.all(
>
{PERSONAL_INFO.subtitle}
</p>

<div class="flex gap-4 my-4">
<a href="https://calendly.com/johnny-weho/30min" target="_blank" class="group px-4 pt-3 pb-4 relative overflow-hidden rounded-2xl bg-gray-500 text-lg font-bold text-white text-center">
Schedule Meeting
</a>
<a href="tel:6503195440" target="_blank" class="px-4 pt-3 pb-4 relative rounded-2xl bg-gray-300 text-lg font-bold text-gray-600 text-center">
+1 (650) 319-5440
</a>
</div>
</div>
<div class="sm:h-auto flex justify-center items-center max-w-300 rounded-xl overflow-hidden">
<Img src="/src/images/modelcottrell_behind_scenes.png" alt="Model Cottrell's studio behind the scenes" width="500" />
</div>
</div>

<div class="max-w-screen-xl px-4 md:px-8 mx-auto">
<div class="flex justify-center py-4 md:py-6">
<div class="h-0.5 w-full bg-gray-300 md:w-1/2"></div>
</div>
<div class="max-w-screen-xl px-4 md:px-8 mx-auto">
<div class="text-gray-600 text-center my-8 font-semibold text-2xl md:text-3xl lg:text-5xl">Gallery</div>
<div
id="my-gallery"
class="justify-center items-center pswp-gallery grid grid-cols-2 lg:grid-cols-4 gap-4 md:gap-6 xl:gap-8 gallery"
Expand Down

0 comments on commit 0f61699

Please sign in to comment.