Skip to content

Commit

Permalink
refactor: cleanup the about page
Browse files Browse the repository at this point in the history
  • Loading branch information
ashgw committed May 26, 2024
1 parent 11cd8f7 commit 493fb41
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 28 deletions.
38 changes: 10 additions & 28 deletions src/app/(pages)/about/_about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import Footer from '@/app/components/footer/footer';
import { GlowingText } from '@/app/components/reusables/content';
import { REPO_SOURCE, SITE_NAME } from '@/lib/constants';
import { REPO_SOURCE } from '@/lib/constants';
import { cn } from '@/lib/utils';
import { motion } from 'framer-motion';
import NextLink from 'next/link';
Expand Down Expand Up @@ -60,7 +60,7 @@ export default function Page() {
<div className="mt-12"></div>
<div className="flex flex-col items-center justify-center gap-6 mt-8 md:mt-20">
<code>
<MajorHeading title="whomai" />
<MajorHeading title="whoami" />
</code>
<Card title="">
<p>
Expand Down Expand Up @@ -91,34 +91,15 @@ export default function Page() {
<MajorHeading id="stack" title="Stack" />
<Card title="">
<p>
While I have experience spanning all the way from bare-metal to
front-end development, I now specialize primarily in Python and
TypeScript, with a heavy focus on web-related technologies (HTTP,
WebSockets, RPC, microservices, containers, cloud architecture...)
I&apos;ve done it all, been there, done that, all the way from
bare-metal to front-end development, But now, I specialize primarily
in Python and TypeScript, with a heavy focus on web-related
technologies (HTTP, WebSockets, RPC, microservices, containers,
cloud architecture...)
</p>
</Card>
<div id="hiden" className="hidden">
<MinorHeading title="A wise man once said" />
<Card title="">
<p>
<span className="italic">
&quot;Before you learn an ephemeral web framework, learn HTTP
instead, that way you have learned every web framework to ever
exist&quot;
</span>
</p>
</Card>
<Card title="">
<p>
Frameworks and libraries don&apos;t matter they come and go.
Fundamentals are key. But if you&apos;re interested in knowing the
exact tools I use you can check out my
<Link href="#" name="cv" /> (it&apos;s too long), or, you might
want to check out my
<Link href="#" name="resume" /> to get a glimpse instead.
</p>
</Card>
<MajorHeading title={SITE_NAME || 'About The Website'} />
<div className="hidden">
<MajorHeading title="Website" />
<Card title="">
<p>
This site is open <Link href={REPO_SOURCE} name="source" /> and
Expand All @@ -141,6 +122,7 @@ export default function Page() {
</div>
</div>
<div className="mt-10"></div>
<MinorHeading title="" />
<Footer></Footer>
</>
);
Expand Down
10 changes: 10 additions & 0 deletions src/app/components/protos/hero-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,16 @@ import { Button } from '../ui/button';

/* eslint-disable */

/* eslint-disable */

/* eslint-disable */

/* eslint-disable */

/* eslint-disable */

/* eslint-disable */

function TypingAnimation() {
const el = useRef(null);

Expand Down
20 changes: 20 additions & 0 deletions src/app/components/reusables/code/code-block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,26 @@ import CopyButton from './copy-code';

// react-syntax-highlighter has no types

/* eslint-disable */
// @ts-nocheck

// react-syntax-highlighter has no types

/* eslint-disable */
// @ts-nocheck

// react-syntax-highlighter has no types

/* eslint-disable */
// @ts-nocheck

// react-syntax-highlighter has no types

/* eslint-disable */
// @ts-nocheck

// react-syntax-highlighter has no types

/* eslint-disable */
// @ts-nocheck
SyntaxHighlighter.registerLanguage('rust', rust);
Expand Down
2 changes: 2 additions & 0 deletions src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export const GPG_PUBLIC_KEY_INTERNAL_URL = SITE_URL + DEFAULT_API_URI + '/gpg';
export const PUBLIC_BLOG_IMAGES_SOURCE =
'https://ashgw-blog-public-images.s3.us-east-2.amazonaws.com/';

export const PUBLIC_CONTENT_SOURCE =
'https://ashgw-blog-public-general.s3.us-east-2.amazonaws.com/';
export const SITE_NAME = getSiteName(pub.SITE_URL_PROD);
export const REPO_SOURCE = 'https://github.com/ashgw/ashgw.me';
export const CREATOR = 'Ashref Gwader';

0 comments on commit 493fb41

Please sign in to comment.