csoumya14 / space-tourism

Home Page:https://space-tourism-893q-rfbhwfki6-csoumya14.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend Mentor - Space tourism website solution

This is a solution to the Space tourism website challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for each of the website's pages depending on their device's screen size
  • See hover states for all interactive elements on the page
  • View each page and be able to toggle between the tabs to see new information

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • React - JS library
  • Typescript - Javascript with syntax for types
  • Next.js - React framework
  • Styled Components - For styles

What I learned

  • I learned how to create pages, shared layouts inside the App Router in Nextjs 13 .
  • How to use multiple fonts styling in nextjs 13 with css variables.
  • How to make a reusable and accessible tab component.

Some code that I am proud of

&[aria-current="page"] {
    border-bottom: 2px solid;
    border-color: ${(props) => props.theme.palette.primary.lightBlue};
  }
<Image
  src={imageSrc}
  fill
  id={`tab-${tabsPrefix}-tabImage-${tab}`}
  alt={altText}
  style={{
    objectFit: "contain",
  }}
/>

Continued development

I would like to add animation to the project in the future.

Useful resources

Author

About

https://space-tourism-893q-rfbhwfki6-csoumya14.vercel.app/


Languages

Language:TypeScript 98.8%Language:CSS 0.7%Language:JavaScript 0.5%